Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Stick Figure movement test
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
NikG




PostPosted: Sat Jul 01, 2006 1:55 am   Post subject: Stick Figure movement test

Here's a test of some stick figure movement code.
Use the left & right arrow keys to move the stick figure, and the up arrow key to jump (yes, you can jump and move at the same time).

The way I've coded it is to have separate functions for each position the stick figure can take. I plan to add the punch and kick positions soon and, after I've figured out a good method of colission detection, this could lead to a possible fighter game.



Fighter.t
 Description:
Stick figure movement test.
Up/Left/Right arrow keys to move.

Download
 Filename:  Fighter.t
 Filesize:  6.17 KB
 Downloaded:  317 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
BenLi




PostPosted: Sat Jul 01, 2006 7:26 pm   Post subject: (No subject)

pretty good. It obviously doesn't look like natural walking but it does closely resemble the general walking motion in fighting games Very Happy

A suggestions, perhaps we could slow down the jumping?
Windsurfer




PostPosted: Tue Jul 04, 2006 5:02 pm   Post subject: (No subject)

Quote:
this could lead to a possible fighter game.

Hee hee, or a dancing game! Laughing

Buyt yeah, i can see how this could be pretty useful. Very tedious coding... if you could get this worked into a class or something, it could have some nice potential.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: