lionz's Forum Posts

  • On the collision event, you can pick the individual objects using system pick nth instance. Instance 0 is one of the objects and Instance 1 is the other one. In this way you can split them out and apply the actions to the overlapping objects separately.

  • Looks like it is using Score=0, so you're running the initial set position function before you set Score?

  • You need to pick the side sprite, this could be, on dropped, if main sprite is overlapping side sprite, side sprite change colour.

  • I've done this before with arrays, when a runway becomes available you push the number to an array. I set the variable to always choose something that is available inside the array so set the number to array.at(random(0, array.width)) will pick a random value that exists, such as 0,1 0,2 0,3 0,4 in the array.

    So at the start you push 2 and 3 to the array. These would be at 0,1 and 0,2. When you come across 7 you push that to the array so 0,3 is 7 and the array looks like this (2,3,7). Then using array.at(random(0,array.width)) it will set the variable to a random number in the array, either 2, 3 or 7. Hopefully it's easy to understand the approach I was taking.

  • Yes you can set a variable, if variable=1, do the actions and then set variable to 0. If variable=0, wait an amount of time then set variable to 1.

  • Hmm I'm not familiar with fill tiles, what is that object, some kind of plugin? Anyway, because you only want to pick the tile once I imagine if you add a Trigger once while true condition to the Pick random colors, it should work. Depends how the fill works...

  • System Pick a random instance of tilecolors > fill tiles with tilecolors.

  • There is set visible/invisible action.

  • Like this? Should probably be in beginner's questions if you're not sure on how to use variables. https://www.dropbox.com/s/v3q2c86ftl6fa ... .capx?dl=0

  • By using a global variable called Health, with initial value 3.

    Display it on a text object somewhere Set text ""&Health.

    When player misses shot, subtract 1 from Health.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm not sure what you are asking, please elaborate..

  • Set the speed of the animation to 0 in the editor.

  • Because this is in beginner's questions I don't know what you know in C2 but you can do this with the platform behaviour, when you jump onto a wall, set vectorx to 0, vectory to 0 and gravity to 0, it will be like you are stuck to the wall. Then you need some logic in for when you jump away from the wall (up arrow pressed), reset the vector and gravity values.

  • Are these meteors created by the plugin so it's specifically to do with the plugin? I would post on the plugin topic.

  • Take out the 0.1 second wait.