lionz's Forum Posts

  • When you create the function in C3, you right click on it in the event sheet and choose to add a parameter and you create it there. Then in another part of the event sheet where you call the function it will request a value for the parameter.

  • They're not? You've unticked 'Default Controls' which is what would cause this as this means move with arrow keys.

  • Rather than function.param(0) the parameters now appear in the list and look like variables so you just type the name of the parameter.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 1. You use one array with 2 different columns, such as 0,0 and 0,1 then 1,0 and 1,1 where 0 is the X co-ord and 1 is the Y co-ords, you would push back X and then Y you need to set in the same row and for this you need to know the row's X value so use the array's width to work it out maybe array.width-1,1, where the X is set at array.width-1,0 when you push it

    2. You can pop the top row of the array as you push one in

  • Isn't the explosion going to hit both objects anyway? That means the on collision logic would work on both of the instances separately. Not sure what you're trying to do here. If you want to destroy the object being hit by the explosion then it should just be the first line of the event you have there. Surely the object being hit by the explosion is also the one nearest to the explosion so I don't understand the need for the other checks.

  • The problem you have here is the first condition limits the number of picked instances to 1, you cannot then pick multiple instances further down in the event. As mentioned above with the family picking is a good way of distinguishing it from 'itself'.

  • On start of layout you can set 2 instance variables on the player object to the player object's x and y position and then set these when you want.

  • Can I get some more info on the gameplay, not everyone has played that game. In general to access certain letters in text you use the tokenat expression, or you can just play sounds on key press.

  • I don't see a need to post it, you have events on one event sheet split into groups. You just need to remember to assign the event sheet to each layout you add.

  • It's probably that the movement logic for the player isn't linked to the layout? The layout should be using the event sheet with the logic on, it might not be using any event sheet if you know where that option is.

  • Check it in what sense ?

  • try on start of layout : player set health

  • It's working but your array isn't big enough, when you use 'set' then the array row or column must already exist. A width of 6 can only fit 6 items for example.

  • Why are you trying to export it as a signed release apk?

  • Not sure exactly what you mean with the question but you can pick the first door by saying player is overlapping door, and you can pick the second door when you have used the instance variable and set position to it.