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

Username:   Password: 
 RegisterRegister   
 character movement and health ?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
UnTiteled




PostPosted: Fri Jan 08, 2010 6:00 pm   Post subject: character movement and health ?

alright, practically what i have is a character (sprite)...so pretty much a picture and i want to know how to make that one picture move ....my other question is i have my character- how do i make the program know when my character is hit so i can subtract health (HP)
Sponsor
Sponsor
Sponsor
sponsor
Zren




PostPosted: Fri Jan 08, 2010 6:41 pm   Post subject: Re: character movement and health ?

Moving: Move the X and Y coordinates of where you draw the picture.
Pictures: http://compsci.ca/holtsoft/doc/picmodule.html
Key Board Input: http://compsci.ca/v3/viewtopic.php?t=114

Collision Detection for the health:
http://compsci.ca/v3/viewtopic.php?t=13661
(Probably a better tutorial around, I just grabbed it from the Turing Walkthrough.)
SNIPERDUDE




PostPosted: Fri Jan 08, 2010 7:51 pm   Post subject: RE:character movement and health ?

Wouldn't this be better posted under the Help section?
UnTiteled




PostPosted: Sat Jan 09, 2010 10:28 am   Post subject: RE:character movement and health ?

haha yes it would
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: