lionz's Forum Posts

  • Ya np the sticking is likely the shape. Use the box as mentioned above that's more standard.

  • Right-click > set to bounding box. That's the more normal collision.

  • No problem. Also what did you mean that the jump collision is incorrect now?

  • Exit meaning ? Global variables retain their value between layouts they are useful for what you're describing, setting scores.

  • Then maybe just

    On created

    Is not IsRespawnInfinitely -----> Destroy

    But again, this feels like very bad practice. It sure would be nice if construct would add a way to only recreate objects that met a specific condition on their original properties. Do you think I'm maybe just too bothered with this "bad practice" thing?

    Yes. Very bad practice to destroy the boss when a variable is set ?

  • Also with recreate initial objects you can select a section of the layout so maybe you can incorporate that somehow into what you already have to ignore the area that contains the boss.

  • You should only be using global variables, one for each layout. In the introductory layout you can set text to globalvar1+globalvar2 from the other layouts.

  • What the other guy described above then seems like a part of the fix. You need a variable set from 0 to 1. Then you can have an event - boss on created, if var = 1, destroy. If you recreate that initial boss there's no way to know you destroyed it already unless you set another variable.

  • Making a metroidvania in one layout? Feels like a bad practice

  • The collision of the jump thru platform wouldn't change so it must be the player animation. Check what animations are playing and look at the collision box around the player. The roll jump probably has no collision box so you sink into the platform.

  • What you are describing above is the Persist behaviour. When you create the boss object, give it the Persist behaviour then it will remain destroyed after you destroy it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I made an instance variable to the text.

    then in the event sheet at layout startup i set the text to the instance variable which i made global

    Why?

  • If it's that different then clone the object and call it the boss, easy fix.

  • Looks to me like the jump isn't high enough even with the second jump and roll animation it doesn't reach the height of that platform so the player is stuck inside it.

  • There could be many reasons it's not working. I would start by checking the global variables in debug preview and verify they are as expected.