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 / Character Selection/Classes Question!!!

Author
Message
Spooter
16
Years of Service
User Offline
Joined: 27th May 2008
Location:
Posted: 11th Apr 2009 04:05 Edited at: 11th Apr 2009 06:15
Ok... Complete re-Edit.

I am now using this for my class.




You simply call the function with the character to resemble character selection

IE= Jeff.Control();
This works perfectly except that the sprite won't move from its location... It gets drawn and oriented when I press the A and D keys... But he doesn't move from his initial spot of LocationX and LocationY.

/*================================================*\
| Lead Programmer/Owner===============Anti-Triangle Cult=====|
\*================================================*/
Murloc
15
Years of Service
User Offline
Joined: 28th Dec 2008
Location: Utena,Lithuania
Posted: 11th Apr 2009 09:39 Edited at: 11th Apr 2009 09:41
Youre only 'moving' it while it doesn't exist.


And this is extreme solution xD


Theory-When you know everything,but nothing works.
Practice-When everything works,but you don't know why.
Programming merges these two-Nothing works,and you don't know why.
Spooter
16
Years of Service
User Offline
Joined: 27th May 2008
Location:
Posted: 11th Apr 2009 18:21
WOW!! Thank you So much.

/*================================================*\
| Lead Programmer/Owner===============Anti-Triangle Cult=====|
\*================================================*/

Login to post a reply

Server time is: 2024-09-30 23:15:13
Your offset time is: 2024-09-30 23:15:13