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 / Animation Sprite someone seriously help me!!!!!!1

Author
Message
bkbatman
9
Years of Service
User Offline
Joined: 6th Sep 2010
Location:
Posted: 8th Jan 2013 02:48
Man it has been year now and I'm still lost.
This problem had make me given up on DarkGDK GameDevelopment.
I really need help on Animation sprite.
Let say I'm creating a fighting game and I gold a full sprite sheet of the player.
For explain how would I load up each animation.
Like standing,running,jumping. Man DarkGDK would not freaking let me use a sheet full of 1000 frame on it.
So how is it done, it been year now I'm still unable to freaking do this man.

the legendary master
Mr Bigglesworth
11
Years of Service
User Offline
Joined: 4th Mar 2008
Location:
Posted: 8th Jan 2013 03:40 Edited at: 8th Jan 2013 03:40
You have to load the sprite sheet image and write a function to divide it up into individual frames.

This is a good example: http://www.gamedev.net/page/resources/_/technical/game-programming/extended-graphical-templates-for-sprite-management-r1122

It doesn't use DarkGDK, but converting the code isn't to rough with some additional research (the stuff is good to know).
pcRaider
12
Years of Service
User Offline
Joined: 30th May 2007
Location:
Posted: 15th Jan 2013 16:15
this

Attachments

Login to view attachments

Login to post a reply

Server time is: 2019-11-12 18:20:33
Your offset time is: 2019-11-12 18:20:33