Skip to main content
↑
↓
Spherical forums
Community for the
Sphere game engine
New?
Contact Us
to register an account!
1 Hour
1 Day
1 Week
1 Month
Forever
Community
Help
Search
Recent Posts
Log in
Contact Us
News
Spherical
Facebook
-
Twitter
-
Discord chat
New?
Contact us
to register an account!
Sphere Development
Sphere Support
Game Beginning
previous
1
2
Print
Topic: Game Beginning
(Read 11077 times)
previous topic
-
next topic
0 Members and 1 Guest are viewing this topic.
Fat Cerberus
Big Chungus
Posts: 2,774
*MUNCH*
Logged
Global Moderator
Sphere Developer
Re: Game Beginning
Reply #15
–
June 24, 2013, 10:41:05 pm
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.
neoSphere 5.9.2
-
neoSphere
engine -
Cell
compiler -
SSj
debugger
forum thread
|
on GitHub
previous
1
2
Print
Sphere Development
Sphere Support
Game Beginning