Problem with animation when I shoot

You must understand the Game Editor concepts, before post here.

Problem with animation when I shoot

Postby knucklecrunchgames » Sat Feb 08, 2014 1:32 pm

Hello everyone.

I'm making a shooting game and I have an animation problem

when you shoot right, her animation will change to shoot right animation,

but when you shoot left, it just goes back to right shoot animation.

what is the problem

ged is below to download

Shooting Animation Problem.zip
(26.49 KiB) Downloaded 180 times





thanks :)
User avatar
knucklecrunchgames
 
Posts: 1071
Joined: Wed Nov 21, 2012 8:01 pm
Location: In gameEditor.exe
Score: 17 Give a positive score

Re: Problem with animation when I shoot

Postby Hares » Sat Feb 08, 2014 8:17 pm

In the condition check for the if statements of the key down space event you should use == instead of =.

Code: Select all
if(iceball.xvelocity == -20)
{
ChangeAnimation("Event Actor", "Rachael_shoot_left1", FORWARD);
}

if(iceball.xvelocity == +20)
{
ChangeAnimation("Event Actor", "Rachael_shoot_right1", FORWARD);
}


Is this for Amazing Movers?
Because it looks far from 50% complete ... :mrgreen:
User avatar
Hares
 
Posts: 105
Joined: Fri Dec 20, 2013 8:39 pm
Location: Belgium
Score: 14 Give a positive score

Re: Problem with animation when I shoot

Postby knucklecrunchgames » Sun Feb 09, 2014 10:46 am

Hares wrote:In the condition check for the if statements of the key down space event you should use == instead of =.

Code: Select all
if(iceball.xvelocity == -20)
{
ChangeAnimation("Event Actor", "Rachael_shoot_left1", FORWARD);
}

if(iceball.xvelocity == +20)
{
ChangeAnimation("Event Actor", "Rachael_shoot_right1", FORWARD);
}


Is this for Amazing Movers?
Because it looks far from 50% complete ... :mrgreen:


AmaZing MoverZ is done, but I'm not releasing it yet :P This is for a game I'm making for my sister.

Thanks hares +1
User avatar
knucklecrunchgames
 
Posts: 1071
Joined: Wed Nov 21, 2012 8:01 pm
Location: In gameEditor.exe
Score: 17 Give a positive score

Re: Problem with animation when I shoot

Postby joo003464 » Wed Mar 05, 2014 3:52 pm

Its been nice to go through your post.
It has given me much knowledge & so many valuable information.

I'm feeling very nice to be here. so enjoyable... :D :D :D
joo003464
 
Posts: 1
Joined: Sat Mar 01, 2014 2:22 pm
Score: 0 Give a positive score

Re: Problem with animation when I shoot

Postby CrackedP0t » Wed Mar 05, 2014 7:53 pm

joo003464 wrote:Its been nice to go through your post.
It has given me much knowledge & so many valuable information.

I'm feeling very nice to be here. so enjoyable... :D :D :D


Welcome to the GE forums! :D
/人 ◕‿‿◕ 人\
Fang Pictures, my game development company:
http://fangpictures.comuf.com
User avatar
CrackedP0t
 
Posts: 157
Joined: Mon Dec 30, 2013 5:49 pm
Location: Crested Butte, CO (The US of A)
Score: 8 Give a positive score


Return to Advanced Topics

Who is online

Users browsing this forum: No registered users and 1 guest

cron