lionz's Forum Posts

  • Do you mean the animation is playing? By default they will play. You can set play speed to 0 if you want it static and to choose frames.

  • Trigger once doesn't mean once forever but it is more like a trigger event. If you set the variable to false and then true again at another time it will trigger.

  • distance(player.x,player.y,enemy.x,enemy.y)

  • It is so you have a default instance of an object from which all created instances take their stats

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You have Levell in quotations like this "Levell" so it is setting the literal string rather than the value of Levell

  • You could use advanced random to generate a shuffled list of numbers called a permutation table and the numbers relate to certain tracks

  • If I'm understanding correctly, you can put the buttons on their own layer with parallax 0 so that it doesn't scroll.

  • Probably the system save and load actions are good enough for this. Check out the how to make save games tutorial.

  • Yeah you mentioned co-ordinates but now I think about it you can just use set position? Pick sprite 1 where val=3, sprite 2 set position to sprite 1.

  • You have a problem because you need to pick sprite 2 in this case, so after grabbing co-ords you need to set position of a sprite 2 if I'm understanding it correctly. For this you need to run the co-ords through a function anyway, or make a second event. Unless sprite 2 is already known somehow then you can pick the correct instance at the start of the event with sprite 1. You could do it in one event in theory which is efficient.

  • Pick Sprite1 object and compare variable, val=3. This would pick all instances that are val=3 but hopefully it's just one that is true? With this picked, in the same event you can set 2 local variables to the value sprite1.x and sprite1.y and there you have the co-ordinates.

  • Your string will be: "PRZ-" & zeropad(counter, 4)

    Then you can add to counter 1 by 1.

    Oh, nice!

  • use 'every 3 seconds' instead of wait. system condition every x seconds

  • You could set a variable on the object and add 1 to it on each click and set the text to "PRZ-000"&var but you may come across an issue when it reaches 10 if PRZ-00010 is not acceptable and should be PRZ-0010 you may need other logic to define this.

  • If you select balloon object there is a condition 'on destroyed' which triggers when the object is destroyed. You select the pinned object and there is another condition 'pick nearest', you can combine this with the destroyed condition, pick nearest pinned object to balloon.x,balloon.y (balloon is already picked by destroyed condition)