Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / 2d platformer source code

Author
Message
lllll venom lllll
12
Years of Service
User Offline
Joined: 12th Oct 2011
Location:
Posted: 13th Oct 2011 05:56
hi im desperatly trying to find code for 2d sprites i need a menue actor jump,walk,run,punch,kick with back ground basicaly i need some code to get me started figuring out how to start coding a fighting game with sprites.

envy
DeadTomGC
13
Years of Service
User Offline
Joined: 11th Aug 2010
Location: LU
Posted: 13th Oct 2011 18:41
Click the sig.

The biggest thing that that demo doesn't cover is animations Which would be crucial to a fighting game.
To put down a background have the first sprite you create be the background.
To use fewer sprites and not have to worry about creating huge animated sprite images, I would recommend calling this command
before the main loop, and then use dbPasteSprite(intID); to draw the same sprite multiple times.
Of course you can change image and properties of your sprite every time you draw it so that it looks like an arm or a leg or whatever else you want it to be.


Login to post a reply

Server time is: 2024-05-04 16:45:26
Your offset time is: 2024-05-04 16:45:26