D
Drew
Guest
So i've been mulling over this for a couple days and I am no closer that I was to solving this...in fact..in some cases I made it worse..
Anyways, sorry if this is not the place to properly post this, although i'm pretty sure it is. Oh well, i've perused through the forums and have not found an answer to my problem so I will post it here in hope thats this awesome Jawsome community will help me out.
So here's the deal. I'm trying to set up animations (I know, newbie right?) well not completely. I have all the other character animations working i.e jump crouch idle, and hey i even got a working attack animation with collisions and everything! but for some reason my run animation refuses to work using the logic I have given it. i have variables set for hsp (var for actor to determine the speed of movement) anyways in order to get the animation working i set the code like so
and before i go on further i have the code:
i have a move var that is binded to the keys left and right that are searching for a value between 1 and -1 and combined with the previous code should( and does) control the character facing..
so yeah, why won't this guy run! Plus if you need more code i will be happy to supply it, i don't want to post it all (and probably end up confusing some) but i will post more if asked! i would really appreciate the help, i'll go bald if this goes on any longer
Anyways, sorry if this is not the place to properly post this, although i'm pretty sure it is. Oh well, i've perused through the forums and have not found an answer to my problem so I will post it here in hope thats this awesome Jawsome community will help me out.
So here's the deal. I'm trying to set up animations (I know, newbie right?) well not completely. I have all the other character animations working i.e jump crouch idle, and hey i even got a working attack animation with collisions and everything! but for some reason my run animation refuses to work using the logic I have given it. i have variables set for hsp (var for actor to determine the speed of movement) anyways in order to get the animation working i set the code like so
Code:
if (hsp!=0)
{
sprite_index = sprite_actor run
}
Code:
if (move!=0) image_xscale = move;
so yeah, why won't this guy run! Plus if you need more code i will be happy to supply it, i don't want to post it all (and probably end up confusing some) but i will post more if asked! i would really appreciate the help, i'll go bald if this goes on any longer