sprite movement, and health
Author |
Message |
UnTiteled
![](http://compsci.ca/v3/uploads/user_avatars/2343022534b4e3d964f6c6.gif)
|
Posted: Sun Jan 10, 2010 12:12 am Post subject: sprite movement, and health |
|
|
What is it you are trying to achieve?
<Replace all the <> with your answers/code and remove the <>>
ok, what i am trying to achive is making my sprite (picture) move (left, right, jump) but for some reason i cant... as fot the health : i am trying to make a health bar and colision detection, making the character loose health everytime he is hit
What is the problem you are having?
<Answer Here>
all of the above
Describe what you have tried to solve this problem
<Answer Here>
Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
<Answer Here>
Turing: |
<Add your code here>
|
Please specify what version of Turing you are using
<Answer Here>
ver. 4.1.1 |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Ktomislav
![](http://compsci.ca/v3/uploads/user_avatars/208162377548d53ef771951.jpg)
|
Posted: Sun Jan 10, 2010 4:12 am Post subject: Re: sprite movement, and health |
|
|
Turing Walkthrough
Thats all I can say. |
|
|
|
|
![](images/spacer.gif) |
nick4563
|
Posted: Tue Jan 18, 2011 5:02 pm Post subject: Re: sprite movement, and health |
|
|
Ktomislav @ Sun Jan 10, 2010 4:12 am wrote: Turing Walkthrough
Thats all I can say.
Ive been through the Turing walk through at least three times and i cannot find any collision detection that helps with health |
|
|
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
|
|
|
![](images/spacer.gif) |
Dragon20942
![](http://compsci.ca/v3/uploads/user_avatars/17452741294d1f674ad0f2f.jpg)
|
Posted: Tue Jan 18, 2011 7:35 pm Post subject: RE:sprite movement, and health |
|
|
Do you know how to move the character with loops, variables, delays, and cls? If not, go to the Turing Walkthrough. If so, you want to look at Input.Keydown. |
|
|
|
|
![](images/spacer.gif) |
nick4563
|
Posted: Tue Jan 18, 2011 8:56 pm Post subject: RE:sprite movement, and health |
|
|
Thanks Tony that collision detection was much easier to use and more helpful to my needs. |
|
|
|
|
![](images/spacer.gif) |
|
|