How do I make rubber ball

Get help using Construct 2

Post » Fri Mar 20, 2015 6:24 am

How do i make ball move free in game and when collision with any edge be like rubber ball ?
B
52
S
18
G
10
Posts: 209
Reputation: 8,456

Post » Fri Mar 20, 2015 9:11 am

See Bullet behavior and Bounce off solids

https://www.scirra.com/manual/90/bullet
Frosty Elk AB
www.frostyelk.se
Have no fear, We come in peace!
B
13
S
3
G
1
Posts: 106
Reputation: 1,169

Post » Fri Mar 20, 2015 12:17 pm

I need to know how can I make rubber ball
B
52
S
18
G
10
Posts: 209
Reputation: 8,456

Post » Fri Mar 20, 2015 5:41 pm

abdalghani wrote:I need to know how can I make rubber ball


Buy a box of rubberbands and start making a ball....! :lol:

You will have to be more specific in your request in order to get a proper answer.
For bouncing off solids, see the example map included with C2
Frosty Elk AB
www.frostyelk.se
Have no fear, We come in peace!
B
13
S
3
G
1
Posts: 106
Reputation: 1,169

Post » Fri Mar 20, 2015 6:12 pm

The behavior of an object in a game is often dominated by the context in which it resides. You could have a rubber ball in everything from Pong to Unreal Tournament, and they will be implemented with only a few commonalities. Frostyelk just suggested one way to make a rubber ball with C2. What didn't you like about his solution?

Another solution might be the physics behavior, which allows you to set a very high elasticity. Using physics or chipmunk will introduce additional complexity to your movement, so make sure that you want that complexity before you use it.
B
14
S
5
G
1
Posts: 189
Reputation: 1,536


Return to How do I....?

Who is online

Users browsing this forum: BackendFreak, Kitsune42k, Lukioks and 1 guest