Skip to main content
GameDev.net gamedev.net

PRO Tired of ads? Read GameDev.net ad-free and help keep the community independent with GameDev Pro — $3/month.

Text + Scripting

Text + Scripting

Rob Loach
Reminiscence · · 1 min read
1,225 3
Gsl now has text output. After having difficulties getting OpenGL lists to work in C#, I just rolled my own system which just manually loops goes through each character. Not really the best way to do thing, but it does mean that I can do neat things like line breaks, etc.


Click to enlarge

What you see above is a scripting dog flying around the screen along with some glasses I manually typed into the scripting interpreter. Here's what I typed in the screen:
glasses = Sprite('glasses.png')Core.Draw += glasses.Drawglasses.X = 100fglasses.Y = 100fglasses.Rotation = 10fglasses.Rotat
As you can see, this is quite a powerful system. You can make objects dynamically during runtime and manipulate events quite easily.

Random Interest


Bill and Napoleon

Discussion

Loading comments...