Platform Game Template

Post here your demos and examples with the source files.
Forum rules
Always post the games with a screenshot.
The file must have the ged and data files (complete game source)
Use the forum attachment to post the files.
It is always better to use the first post to put the game files

Platform Game Template

Postby DST » Thu Jun 19, 2008 5:16 am

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=5826

The demo there also explains the rules for clones and tiles. If you get glitches, you may want to check it.

Enjoy!

platform.jpg
Attachments
PlatformTemplate.zip
(205.12 KiB) Downloaded 762 times
It's easier to be clever than it is to be kind.
http://www.lostsynapse.com
http://www.dstgames.com
User avatar
DST
 
Posts: 1117
Joined: Sun Apr 15, 2007 5:36 pm
Location: 20 minutes into the future
Score: 151 Give a positive score

Re: Platform Game Template

Postby makslane » Thu Jun 19, 2008 12:01 pm

Templates are a really good idea.
I hope future versions of Game Editor have fully template support.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: Platform Game Template

Postby asmodeus » Thu Jun 19, 2008 12:16 pm

:D Templates are a good idea!
User avatar
asmodeus
 
Posts: 483
Joined: Thu Oct 11, 2007 5:04 pm
Location: Germany
Score: 43 Give a positive score

Re: Platform Game Template

Postby DST » Fri Jun 20, 2008 3:18 pm

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.
It's easier to be clever than it is to be kind.
http://www.lostsynapse.com
http://www.dstgames.com
User avatar
DST
 
Posts: 1117
Joined: Sun Apr 15, 2007 5:36 pm
Location: 20 minutes into the future
Score: 151 Give a positive score


Return to Game Demos

Who is online

Users browsing this forum: No registered users and 1 guest

cron