p0tayters's Forum Posts

  • Fixed it! The difference between the 2 layouts were the size, the planets were rotating awkwardly due to the scroll to behavior not having enough room to follow the character around.

  • Is there a way to create an object at the point of collision that way the created object appears where ever the collision between 2 specific objects take place?

  • I can post this though. Its the code that changes the gravity and the one line that rotates the screen. Thats all there is to it.

  • Thats whats making this all the much harder for me lol. I dont know construct2 very well, learning as I go, and Im working with the nintendo stuff.

  • Not allowed to post capx, Nintendo NDA and all that.

  • http://youtu.be/VwxLT-wKN2s

    Thats what its doing, see how the planet is moving rather than staying stationary? I have no idea why its doing it now.

  • p0tayters

    On layout 2 have you included event sheet 1.

    iGamersBox sent me these images when i was trying it. Hopefully this will help.

    I did, I even just now went in a created a whole new event sheet and recoded it all just to see. In the video I posted (dont know if you watched it or not) the planets are not moving when the player walks, thats layout one. In layout 2, when you walk the planets are physically moving in a circle, like they're rotating around some non-existent object. It has me baffled.

    Thanks for the input though!

  • 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!

  • Thank you!

  • Oh god im so stupid! that fixed it! Thank you! haha see, I thought someone who knew it a little better would figure it out! you sir are a scholar and a gentleman!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • nevermind, it happens on a flat platforms as well. Its weird. Maybe I should try starting over from scratch

  • I thought so myself, but it doesnt work for me in the tutorial either. When following the tutorial I get the exact same result. The only thing Im wondering is that all my platforms are rounded and gravity goes around those round platforms. But I think if that were the issue, then I wouldnt be able to jump even with one idle sprite.

  • It totally works with just one sprite, my idle sprite.

    This is tutorial I followed https://www.scirra.com/tutorials/253/how-to-make-a-platform-game/page-6

    I removed on landed out entirely until I can get the jumping issue solved. I attached an image.

  • Okay Im kind of still a n00b with construct 2 so maybe someone can figure this out, Ive been stuck for a few days.

    Ive been following along with the How to make a platform game tutorial. I ran into an issue and its the same issue in my personal platform game when switching animations. Platform on Jump: changes my sprite to the jumping sprite, however it no longer jumps, it WILL jump if I push the jump key twice.

    The second issue is when I use the Platform on Landed. This completely disables me from jumping what so ever.

    I am not able to share the capx file either because I am using the Nintendo Web Framework in my code.

    I am desperate for any help on this issue because it has stumped me for the past few days.

  • eli0s Ashley Thanks! That helps alot! Im working on a game where everything is literally circles so making them into cake slices will help!