Having trouble with animations and shooting

Get help using Construct 2

Post » Fri Feb 17, 2012 6:16 pm

http://www.mediafire.com/?8bhv35q61edpwkp



The issue is that the animations when shooting and slashing twitch when on the ground or running. That and I can't figure out how to change the direction of the bullets when I turn around.
B
4
G
2
Posts: 4
Reputation: 1,135

Post » Fri Feb 17, 2012 7:03 pm

@animations: Have a look at the platform-tutorials.

@change direction of the bullet: you can use a instance-variable direction. This variable should changes the walue when you press left or right. At the shooting: Change the angle of the bullet depending on "left" or "right". quick and dirty example with your file

@mediafire: Please use dropbox for your files.

@names of your sprites: sprite1, sprite2, sprite3 are useless and unreadable names in porgrammlogic. Give them names that describe their task eg: Player, Bullet, ...

Joe7Joe72012-02-17 19:16:22
B
14
S
6
G
5
Posts: 173
Reputation: 4,742

Post » Fri Feb 17, 2012 7:15 pm

For the animations, you neet to set the sprites origin point to bottom.
B
27
S
8
G
8
Posts: 903
Reputation: 8,452


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 22 guests