[BEHAVIOR] Chipmunk Physics

Post your completed addons to share with the community

Post » Thu Aug 03, 2017 3:32 am

Hello Rojo first thank you for your time that you offer us! You are simply the best!

To my question: is the Chipmunk Behavior the latest version? I saw something on the chipmunk website like v7.0.0?
B
15
S
7
G
2
Posts: 33
Reputation: 2,266

Post » Thu Aug 03, 2017 3:46 am

It uses 6.2 or something. It's noted in the first post. That's the latest version that is ported to js.
B
92
S
32
G
107
Posts: 5,274
Reputation: 69,959

Post » Thu Aug 03, 2017 3:54 am

Another question, does this work with cocoon.io canvas+ well? I figured out that canvas+ and box2d.ajsm is very laggy. How much faster is the Chipmunk Behavior vs the box2d.ajsm?
B
15
S
7
G
2
Posts: 33
Reputation: 2,266

Post » Thu Aug 03, 2017 7:25 am

No idea really. I only use the HTML export.
Neither have I measured performance, although some say it's faster.
B
92
S
32
G
107
Posts: 5,274
Reputation: 69,959

Post » Thu Aug 03, 2017 1:02 pm

I will test it later for you. I will give you my impressions to this. Are you planning to update to v.7.0. in future? If yes why you dont publish it as an Plugin in Scirra Store? I would pay for this
B
15
S
7
G
2
Posts: 33
Reputation: 2,266

Post » Thu Aug 03, 2017 3:34 pm

How to apply impulse at Touch.X and Touch.Y like before? i only have "x or angle" and "y or distance". Any idea how to implement like Touch.Position ?
B
15
S
7
G
2
Posts: 33
Reputation: 2,266

Post » Thu Aug 03, 2017 4:02 pm

I don't really have any plans to update. I'd need to port 7.0 to JavaScript myself. Also I'm not interested in the store.

You mean apply force toward a point?

For the force select "polar" and angle(self.x,self.y,touch.x,touch.y) as the angle and any value for the magnitude.
B
92
S
32
G
107
Posts: 5,274
Reputation: 69,959

Post » Thu Aug 03, 2017 4:23 pm

thank you that helped! how to implement hinged object for example a rope? i cant get it to work
B
15
S
7
G
2
Posts: 33
Reputation: 2,266

Post » Thu Aug 03, 2017 5:38 pm

A rope would just be multiple objects connected by maybe pivot joints. Make them all the same collision group or alternate collision layers so they don't collide with each other
B
92
S
32
G
107
Posts: 5,274
Reputation: 69,959

Post » Fri Aug 04, 2017 12:37 pm

Thanks! Thats working. I saw at the chipmunk website an video about another type of rope. Two dots was connected with an "rope" and everytime the rope startet warping/stretching/move like an real rope when the dots startet moving. It wasnt connected with multiple parts. Is this possible in Construct 2? If yes can you be so nice and make an capx for us? I would preciate it very much!!

Here is the link to the Video
https://youtu.be/ZgJJZTS0aMM
B
15
S
7
G
2
Posts: 33
Reputation: 2,266

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest