lionz's Forum Posts

  • How experienced are you with Construct because so far this sounds like you just created some text boxes in a layout? You can push the stories to the back of an array and use array data to limit what is shown in title and story lists.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There are a few things you can do to tidy it up. Maybe the collision box doesnt have to be all the way around the object and you can limit it to a very tiny area that matters? You can also give the block that is falling a variable that is set to distinguish it and make sure it is only picking that object for collisions and not all blocks in the level.

  • Put some invisible objects on the key areas at the corners, and when you overlap them, set a variable on the object to true. If all objects linked to the main object have variable true then destroy it. If the timer expires, set all variables back to false. That's how I would do it but there are other ways...

  • Is the text "16" and has the other logic been actioned, such as does the audio turn off and are the objects destroyed? This problem is kind of hard to work out from the screenshot though, maybe you can share a file? Thanks

  • Hey, it's because 2 of those are always going to be true at the same time and you can't simulate in 2 directions at once, it picks the last events as they run last so up/down. You'll need to apply some different logic for that so for example when the Y is the same then it starts adjusting the x to move left/right.

    To stop and attacking you can use distance(player.x,player.x,enemy.x,enemy.y) is a value, and when it hits that value you set the enemy to a different state. This could be an instance variable that changes between 'moving' and 'attacking'.

    Then for the movement logic you add a condition, enemy.state is not 'attacking'. This allows the enemy to stop moving and attack instead.

  • Second problem is resolved by using Families, it is a way of saying 'any enemy'. You put all enemies into a Family and things like hp becomes a Family instance variable, so then you say Family on collision with combo, subtract 4 from Family.hp and this applies to all enemies.

  • OP said is adding a turret target based on LOS behaviour so it's possible. Kind of a redundant use of LOS behaviour though unless it's to make use of cone of view.

  • On LOS behaviour set obstacles to Custom instead of Solids.

  • Read it several times and doesn't make too much sense to me. What do you mean by 'redo everything on the event sheet' ? There's probably a way of accomplishing what you want during runtime with events but I'm not sure what you're trying to do. Maybe some specific examples of the objects would help.

  • If you go to the project bar and select the object then it selects all instances in the layout and you can change them all at the same time, problem solved?

  • Try regenerate obstacle map

  • Check what your collision box looks like in the image editor.

  • It sounds like you're looking for :

    DOG is overlapping FAM

    sub event- condition DOG is SHED(true) AND FAM is SHED (true)

    You add them together so they both must be true / matching.

  • It's using the event sheet Level6Events which tells it to go to level 7 when you click next level, should be using Level7Events i guess.

  • That's how you do it because it's using real seconds. You could make use of the Timer behaviour too but that way is fine.