How do I Set the Angle of Movement for a sprite

Get help using Construct 2

Post » Mon Aug 04, 2014 8:58 pm

Basically I want sprites to spawn moving in a random direction without actually rotating the image of the sprite itself

Similiar to the Kanyes in this http://www.kanyezone.com/

I have given my sprites the bullet behaviour
B
6
Posts: 15
Reputation: 287

Post » Mon Aug 04, 2014 9:08 pm

Did you check the bullet behaviour settings whether you have set the "Set angle" to "no"?
B
4
Posts: 5
Reputation: 202

Post » Mon Aug 04, 2014 9:16 pm

Terces wrote:Did you check the bullet behaviour settings whether you have set the "Set angle" to "no"?


Yes but I'm looking for a more efficient way of setting their direction. Basically at the moment when they spawn they move right and upwards only
B
6
Posts: 15
Reputation: 287

Post » Mon Aug 04, 2014 9:34 pm

i use the plataform. hope this will help you

jump strength = 0
gravity = 0

for the sprite player to be fixe
You do not have the required permissions to view the files attached to this post.
yolinux
B
18
S
5
Posts: 19
Reputation: 1,545

Post » Mon Aug 04, 2014 9:38 pm

use the bullet behaviour
set the set angle property to no/false
On sprite created event, set sprite angle of movement to random (360)
You do not have the required permissions to view the files attached to this post.
Please tag me with @caiorosisca if your post is refering to me :). I don't always follow the topics I answer.
B
11
S
4
G
1
Posts: 272
Reputation: 1,643

Post » Mon Aug 04, 2014 10:24 pm

@caiorosisca @kossak Thanks guys, managed to get it with yer help!
B
6
Posts: 15
Reputation: 287


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests