Moving Sprites
Author |
Message |
KeyBladeMaster
|
Posted: Sat Dec 01, 2007 7:20 pm Post subject: Moving Sprites |
|
|
Alright here is the deal........
when i jump and attack in my game,
the image will change to the one i need, but it will not move like it should.....
what should be different...
can someone help me with that?
and also, i want the shadow to attack when it gets close enough but i cant figure out how to do that either...
Description: |
|
Download |
Filename: |
KH Game.rar |
Filesize: |
113.95 KB |
Downloaded: |
82 Time(s) |
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
KeyBladeMaster
|
Posted: Sun Dec 02, 2007 10:03 pm Post subject: RE:Moving Sprites |
|
|
I See People downloading the file but nobody is commenting....im guessing noone has an idea on how to fix my problem....., im gonna reupdate my game... i added a health bar and i need help to make it transparent too......:s how yall can help me!
|
|
|
|
|
|
KeyBladeMaster
|
Posted: Sun Dec 02, 2007 10:05 pm Post subject: Re: Moving Sprites |
|
|
Here is updated game!
Description: |
|
Download |
Filename: |
KH Game.rar |
Filesize: |
116.95 KB |
Downloaded: |
76 Time(s) |
|
|
|
|
|
|
Ultrahex
|
Posted: Sun Dec 02, 2007 10:35 pm Post subject: Re: Moving Sprites |
|
|
Umm check your boolean logic.... thats what i recommend personally... because you have a lot of states when dealing with sprites. Also note that the sprite Engine in Turing can be very glitchy sometimes.
|
|
|
|
|
|
KeyBladeMaster
|
Posted: Sun Dec 02, 2007 11:11 pm Post subject: RE:Moving Sprites |
|
|
its all right....
|
|
|
|
|
|
Ultrahex
|
Posted: Mon Dec 03, 2007 1:03 am Post subject: Re: Moving Sprites |
|
|
Ok, well im not sure what sprite you want showing at what time... that is the main thing confusing me... i just looked over your code cause of your sad face, and my terrible response that isnt even worth mentioning really.
but anyways this is what is happening, you are not changing the picture ID when doing the animate, thus it doesnt display the full result....
for example:
Turing: |
if chars ('s') and chars ('d') then
for i : 1 .. numFrames2
Sprite.Animate (sprite, pics2 (i ), x, y, false)
delay (100)
end for
end if
|
you see if i does not change, then it will only do one frame of the animation! ... i have not looked into specifics, but for sure i know the turing module isn't that great for sprites, this could be why... hopefully someone else may help, or ask about what I am referring to and ill try to give a better explanation tomorrow.
|
|
|
|
|
|
|
|