Computer Science Canada

character movement and health ?

Author:  UnTiteled [ 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)

Author:  Zren [ 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.)

Author:  SNIPERDUDE [ Fri Jan 08, 2010 7:51 pm ]
Post subject:  RE:character movement and health ?

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

Author:  UnTiteled [ Sat Jan 09, 2010 10:28 am ]
Post subject:  RE:character movement and health ?

haha yes it would


: