Falling Through

Discussion and feedback on Construct 2

Post » Wed Aug 14, 2013 11:13 pm

I've done a search, only results i can find relate to platform games.

I have blocks that fall through the bottom of my level then teleport back up to where they should stand(but with some velocity so they dont settle as they should).

I have experienced it a few times, it has eventually resolved itself(or i did without realising).

- The bottom of my game is not a platform, everything is physics and solid.

I've attempted changing things to just physics but I still get the overlap on the layout start.

has anyone else experienced this?



---

I do have anchors but made zero changes to them since my last export, ground and objects on ground anchored bottom and right. Controls and inventory is anchored top and left.JWstudios2013-08-14 23:27:23
B
10
S
2
G
1
Posts: 77
Reputation: 1,278

Post » Thu Aug 15, 2013 1:42 am


anchors for Gui and won't play nice with Physics.

Physics objects should only be playing with other Physics objects and no other behaviours relating to movement or position.

double check your collision boxes

those are the most common problems that crop up when learning C2 and using Physics. Physics in C2 uses a third party api known as Box2d, and Bosx2d isn't integrated with the rest C2 behaviours.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,013

Post » Thu Aug 15, 2013 7:48 am

Cheers for response, collision boxes were fine(tried bounding box for all too).

Turned out if I disabled the anchor for the platform on load layout it stopped it happening, the issue didn't happen when i F11'd preview and refreshed: only on apk install and full screen browser preview.

Strange thing is i've had the anchor since Tues with no changes to its settings, something else must have been interfering.
B
10
S
2
G
1
Posts: 77
Reputation: 1,278


Return to Construct 2 General

Who is online

Users browsing this forum: dwtiger, tarek2 and 2 guests