lionz's Forum Posts

  • Question is do you really need pathfinding in a sidescrolling platformer? You can just move left or right to follow the player with the LOS behaviour detection.

  • Yeah what I assumed, the crawl and walk are true at the same time. You have to use the crawl variable to block out the normal walk, so a condition iscrawl=0.

  • Do your normal walk events have a condition such as cancrawl=0 ?

  • You could use a container to spawn all parts of the tree or you could spawn the tree base and with that object on created spawn the other parts at various image points on the tree base using the spawn action.

  • That won't work because the on drop event already narrows it to one instance of family, you have to find some other way. Using the specific object type on drop to check if it is overlapping family would work, pick by UID condition also wouldn't be necessary.

    So you would split out events into object A on drop, is overlapping family. Object B on drop, is overlapping family etc. Could be a few events with many draggable objects but it seems like the only way.

  • You could have a sprite that is the same distance from the door as the width of the player, they could only touch it if the player fully passed through.

  • Because it's playing backwards you have to put 'repeat to' to the last frame of the sequence instead of 0

  • Oh you mean in the animation editor preview, maybe it doesn't work there.

  • Yes multiple objects can use the platform behaviour

  • Does not work meaning what? What is the expectation and what is it doing?

  • Can't tell much from the screenshots. If you can remove the plugin from the capx so we can open it.

  • > Depends what that object is used for, at the moment it doesn't do anything? A global layer is for something like a HUD that transitions between layouts and doesn't move, for this you don't need global objects but just put them on the layer. A global object is for something like the player that continues through each layout and retains its stats.

    yes the instance state will not be preserved

    it resets after change layout

    Just leave it as the default and it will reset. Or create it on start of layout.

  • Depends what that object is used for, at the moment it doesn't do anything? A global layer is for something like a HUD that transitions between layouts and doesn't move, for this you don't need global objects but just put them on the layer. A global object is for something like the player that continues through each layout and retains its stats.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Pick one of them only, global object or global layer.

  • You've made it difficult for yourself with how you set up all those animations by name on the same object. Really you should have a different object for each character, then the idle anim is called "idle" and attack anim is called "attack", it will be very easy.

    To make sure you have the correct character you just need to spawn it at the start of the game maybe based on a variable set from the character select screen.