Okay so Im working on a 2d mario galaxy style platformer. I finished the first level, everything works perfect. I created a second layout, which is using the event sheet from layout one because not too much technical stuff is different, I dont know optimizationaly if this is a good idea or a bad idea, Im still a n00b.
Im using invisible circles that changes the angle of gravity on the planet that way you can walk around it, works perfectly in both layouts.
The issue is my screen rotations. the screen rotates in order to follow the player.
Im using the code: System>Every Tick> System> Set layer 1 angle to anglelerp(LayerAngle(1),Player.Angle, dt * 2) degrees
The second layout, using layer 1 as the layer to rotate, does not rotate like it does in layout 1. Oddly the planet moves in a giant circle like the player is riding a unicycle lol.
Im new to construct, and that might have sounded confusing, sorry if it did. I also cannot upload the capx due to using the WiiU plug in. But here is a video of the working level 1.
Does anyone know why it wont work on the second level? And how I can avoid this later on? Thanks!