How do I Make Objects Randomly Bounce Off Walls

Get help using Construct 2

Post » Thu Jun 26, 2014 4:26 pm

I am trying to convert my game over from gamemaker studio and I have ran into a couple snafus. I will begin with the first snafu to do these one at a time. I have tried eight direction, bullet, and even sine. Nothing is working properly. I tried to do the same as the ghost tutorial but it did not quite work out. If it is something simple I swear I will kick myself. To see what I am talking about you can see the image at http://www.indiedb.com/games/gumdrop-frenzy

I am trying to make my objects bounce off the walls I have created, however nothing is working.

EDIT:
I am also in need of how to make the sprite move in eight directions because I don't see it anywhere. That would probably solve the bounce issue. When I use bullet it just bounces left to right and that is it, no randomness of any type
B
9
S
2
Posts: 17
Reputation: 562

Post » Thu Jun 26, 2014 5:23 pm

The attached - a quick conversion from GMS - shows random bouncing off walls.

Is this of any use?
You do not have the required permissions to view the files attached to this post.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,386
Reputation: 58,454

Post » Thu Jun 26, 2014 5:30 pm

Ok, that's most undoubtedly a good start for me. I do thank you very much.
B
9
S
2
Posts: 17
Reputation: 562

Post » Thu Jun 26, 2014 6:37 pm

The example just uses the Bullet behavior with "Bounce off solids" enabled, right?
B
54
S
16
G
6
Posts: 719
Reputation: 9,207

Post » Thu Jun 26, 2014 8:40 pm

Yes but I was not seeing anything where the random was being used in any examples. The bullet angle that is. This is far different from GM Studio and it seems it is better, it will just take some learning for me.
B
9
S
2
Posts: 17
Reputation: 562

Post » Sat Jun 28, 2014 10:15 am

GM is not up to par with C2 more talk about and said it was good. I have used it brought it, but comparing with C2 GM is no where near it. Ashley and Co has done wonderful job. keep it up boys
B
250
S
39
G
15
Posts: 1,953
Reputation: 40,623


Return to How do I....?

Who is online

Users browsing this forum: Lordshiva1948 and 55 guests