Collision Events - How to Make Them Work?

Get help using Construct 2

Post » Tue Jan 22, 2013 7:34 am

Hi All,

I'm struggling here :( I need these balls to interact like an abacus but am having no luck at all with the parts of Construct I've played with so far

What is the best way to get these balls behave naturally?

http://www.myeducationstuff.com/html5_test/rek_test/

i.e. bounce a bit, push each other, give a little jiggle etc

cheers

Adrian





B
2
Posts: 2
Reputation: 554

Post » Tue Jan 22, 2013 8:39 am

Posting a .capx is usually a good idea, but just going by your description I'd guess you need to add events like:

Ball 'on collision with' ball
     Bounce to opposite directions
B
24
S
8
G
7
Posts: 756
Reputation: 7,192

Post » Tue Jan 22, 2013 4:16 pm

You can get decent results using the plain old physics behaviour. Obviously you'd need to play around with the settings, but this is a functional, if slightly twitchy, abacus: here.

Drag and drop the beads. You'll need to implement a system to keep the beads from going above their rows, since they can be freely dragged right now. I'm thinking a manual drag-and-drop solution instead of the built-in one (it'd be brilliant if we could get axis restrictions on the drag-and-drop behaviour, actually).

It'd even be pretty easy to count the instances of the beads per row on the left or right of the abacus, if you're making an educational game.GeometriX2013-01-22 16:18:29
B
56
S
15
G
10
Posts: 910
Reputation: 11,952

Post » Tue Jan 22, 2013 11:58 pm

Thanks guys,

I now have some excellent avenues to tinker with :-)

Ad
B
2
Posts: 2
Reputation: 554

Post » Mon Aug 05, 2013 9:49 pm

Hello, GeometriX could please reupload Abacus.capx file because it was the only post I found on an abacus and I'm interested in it, thanks.
B
2
Posts: 1
Reputation: 177


Return to How do I....?

Who is online

Users browsing this forum: BipolarMike, totoe and 21 guests