Hi!
I’m trying to do some tests (a basic retro stlye platformer, think Mario).
I’m now in the process of making the level scroll with when the character is moving.
I have two displayGroups set up:
mapLayer - it hold the map (just one big image) and the collision rectagles (several)
playerLayer - holds the player
Before the map layer starts to move, it’s all working great, the player can jump around on the ground and on the platforms.
As soon as I start to move the map layer, the graphics move but it seems like the phyics bodies stay in place.
When I’m running Hybrid Mode it looks like the physics bodies are moving as well but they are not.
The first thing I tried was moving the mapLayer.x
When this didn’t work I tried making the map layer to a kinematic body and moving it using setLinearVelocity and the same problem occured.
I think it’s the same problem as in this thread: http://forums.coronalabs.com/topic/3070-serious-collision-bug-or-else-very-odd-behavior/?hl=%2Bghost+%2Bbody#entry15569
But it’s an old thread and doesn’t seem to have any solution in it
Any ideas?
Thanks in advance