Chipmunk

Get help using Construct 2

Post » Wed Jun 08, 2016 11:46 am

Hi, I am creating a car game, but with the physics Box2d asm.js the game lags . I was told to use Chipmunk, but I have not figured out how to configure it. Can someone help me please? Many thanks.
My game: https://www.dropbox.com/s/qlp0amod1ezmg ... .capx?dl=0
B
7
S
3
Posts: 54
Reputation: 687

Post » Wed Jun 08, 2016 1:18 pm

There is also a dedicated plugin for cars.

behavior-car-physics_t69925

Probaly suits you more.
B
33
S
18
G
28
Posts: 2,470
Reputation: 20,904

Post » Thu Jun 09, 2016 10:23 am

99Instances2Go wrote:There is also a dedicated plugin for cars.

behavior-car-physics_t69925

Probaly suits you more.


Unfortunately Pligin from this error when you start run:
https://www.dropbox.com/s/nw0a5dl7vndd4 ... r.png?dl=0
B
7
S
3
Posts: 54
Reputation: 687

Post » Thu Jun 09, 2016 10:26 am

Help I need for a school project............
B
7
S
3
Posts: 54
Reputation: 687

Post » Thu Jun 09, 2016 10:34 am

fuego96 wrote:@kantin,

The issue is with the updated "Box2D asm.js" not being compatible with CarPhysics behavior (v0.1).

In order to run the tutorial successfully in newer Construct 2 revisions (including r210 beta), just close the "SideView_Car_Physics_0.1_tutorial.capx" project (if you have it opened) and then open it again *but* do not preview it just yet.

Change the "Physics engine" project property to "Box2D web" instead of "Box2D asm.js". This option can be found by clicking the folder name "New project" in the Projects tab (within the Project Bar view). Now you should be able to preview it.

By default Construct 2 only loads runtime scripts when previewing a project for the first time. So if you previewed the tutorial first before changing to "Box2D web", changing it later doesn't help, as the previous runtime scripts are not updated -- unless you close the project and open it again that is.

EDIT: This wasn't a problem for C2 revisions 196 and below.
B
33
S
18
G
28
Posts: 2,470
Reputation: 20,904


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests