Platform Game Template
Posted:
Thu Jun 19, 2008 5:16 am
by DST
Here you go! You can use this template to make your own platform game.
If you want to know about the rules for everything, check this post:
viewtopic.php?f=5&t=5826The demo there also explains the rules for clones and tiles. If you get glitches, you may want to check it.
Enjoy!
Re: Platform Game Template
Posted:
Thu Jun 19, 2008 12:01 pm
by makslane
Templates are a really good idea.
I hope future versions of Game Editor have fully template support.
Re: Platform Game Template
Posted:
Thu Jun 19, 2008 12:16 pm
by asmodeus
Templates are a good idea!
Re: Platform Game Template
Posted:
Fri Jun 20, 2008 3:18 pm
by DST
One thing i'd like you to notice: the blocks that the player can destroy...do not use DestroyActor.
Instead, they use visibility state.
This is important, because what happens when the player dies and restarts the level? In this case, you can just send a timer to the blocks reenabling them.
And with enemies, you want to do a similiar thing. Have 'creator' actors that spawn the enemy, once, on a platform, on the beginning of a level. You can also use a timer to send to all the creators and have them recreate enemies when the level is restarted. Likewise, before that happens, you want to destroy any current enemies that exist.
Enemies , bullets, and fx are temporary actors. You can destroy them. Everything else is permanent. Do not destroy.
Fuzzy was the one who explained this to me; and it's probably the biggest shortcoming in most of the demos i've seen; Restarting levels and Restarting the game...you gotta plan for that.