Skip to main content

News

Topic: Game Beginning (Read 5041 times) previous topic - next topic

  • Fat Cerberus
  • [*][*][*][*][*]
  • Global Moderator
  • miniSphere Developer
Re: Game Beginning
Reply #15
Yeah, I already do all that stuff (reusing the surface, etc.) I would never even think of creating a new surface every frame, just the thought of that makes me cringe! (likely my C++ background talking here though)  Also, I use wordWrapText to pre-calculate the line breaks before even showing the box.  The main thing I was worried about was unfreed surfaces piling up over the long term, like after the game was running for several hours.  If the GC frees it along with the handle though, I'll stop worrying about it.  I guess I could always look at the Sphere source if I had to. :)
miniSphere 5.2.12 - Cell compiler - SSj debugger - thread | on GitHub
For the sake of our continued health I very much hope that Fat Cerberus does not become skilled enough at whatever arcane art it would require to cause computers to spawn enourmous man eating pigs ~Rhuan