I Heart You

posted in Reminiscence
Published February 14, 2005
Advertisement
Happy Valentines Day. I hope everyone's out "macking" it up with their significant other [smile].

On the development side of things, easy game states are now implemented into the engine. It works on a single function pointer. I could've done it millions of different ways, but I think this is the easiest. For example, you just go System::CurrentGameState = MainMenu; and then it's in the main menu.



I've also modified the sprite class a bunch so now it can display a single tile in the image instead of just having to show the whole image. There's also some delay features so it goes through it nicely. This'll make Invaders quite easy to implement as it would just go through the animations for you and you wouldn't need to worry. It also takes up less memory now and the FPS displays the true FPS as well now (thanks mozie).

I attempted implementing a GUI for menu systems, but decided to give up as I have better, more fun, things to do. I could also eventually find a GUI library or something to that effect. If anyone has a recommendation of some kind, I'd love to hear about it.

Random Interest

Previous Entry Leap Into Nothing
Next Entry Well well well...
0 likes 1 comments

Comments

noaktree
Quote:System::CurrentGameState = MainMenu;
I usually use a stack myself but have also used your method. Must kill some invaders.
February 15, 2005 01:46 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

Been a while!

1262 views

Hello XNA

1518 views

Pong!

1351 views

Busy * 2

1118 views
Advertisement