lionz's Forum Posts

  • So the enemy is finding path in two different events ? If enemy and player are within a certain distance find path and also if the enemy has line of sight then find path. So you are saying that in your game if the enemy is a certain distance from the player but does not have line of sight, it will still move towards the player? I mean the design seems kind of convoluted, why not just use one or the other instead of both ? Your title refers to 'losing sight' only so maybe sticking with LOS is the better way.

  • Are you sure you released it in your own country? :D I would give it some time though.

  • How does the design of the game work exactly? Do you mean you click an enemy and it becomes a target and will remain targeted until you click another ? Do you mean you click an enemy once to deal damage but you are having a problem with overlapping enemies ? It's difficult to click more than one at the same time.

  • From my side I would design the game so it's impossible to get stuck, so the path is always ahead of the player. Getting stuck I would consider a bug more than trying to work out how to fix it if it happens to a player during the game.

  • Tick 'Rotate object' on the pathfinding behaviour then it will face where it is going i.e. towards the player

  • You can reply. The warning doesn't stop you from replying.

  • That's good, you will need these kind of investigative debugging skills when building a game :)

  • every random(3,7) seconds

  • So he can fly to the left and right? Can you give more info on the genre of game?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you mean random predetermined pairs then you can store them in an array where first column is the pair like TK, and second column is the answer. To pick at random you can use random(x) to choose a random row number of the array where x is the number of rows. When TK is chosen for example you can compare the text input in the textbox against the answer in column 2, if I understood the game correctly.

  • You will need to make use of tags, and one way to do it is to say 'enemy on created' 'play audio at object enemy' using tag ""&enemy.UID, this will give it a unique name related to the enemy. Then you can also say 'enemy on destroyed' stop tag "&enemy.UID

  • Then create it in the same event where you add 1

  • Might be better if you share the file. I don't fully believe that the tutorial works as he says because if you have an event hold Z down to set the variable ATK to true then it will always be true even if you wait 0.1 second and set it to false. Maybe in the video he only taps Z once whereas you are holding it down.

  • I edited above just now, that event 12 looks like it could run constantly and set the atk animation but I can't be sure of what's happening. I can't see all the event as the group is minimized which is what I meant above.

  • The events for atk=false are hidden so maybe something is running there.

    edit : yeah that event at 12 looks dodgy, like it can always set the attack animation.