lionz's Forum Posts

  • If you pin the player to the platform when no movement key is pressed, and then when movement key is pressed unpin the player, that might have the desired effect.

  • You do not have permission to view this post

  • I guessed they were different event blocks but with the same condition? How did you resolve it?

  • Are they both using the same condition 'on rewarded ad complete' ? Try setting a variable for each one and add more conditions to the reward ad complete event, if variable is 1 award fuel if variable is 2 award money, something like that. I don't think you can say on ad complete specifying by ad unit ID.

  • You still have the down key button press separate at the top so the same bug will happen. It sets it to 2 and then the event below runs where it says menu select = 2. You should have them all in one event as I previously mentioned.

    Also on the enter key press events you don't need those extra conditions for variable is not equal to something, that won't be causing any bugs though they are just redundant.

  • Does that relate to some other events you're not showing us? Not sure what you mean by that. It 'thinks' that option 2 is option 3 sounds like you are pressing a key or choosing an option which isn't shown here.

  • You mean you want to pick all the objects again inside the same event? You can use system pick all which opens them all up again to be picked.

  • Add an 'Else' to the second condition. It's not working because in Construct it sets the value to 1 then runs the second condition because it is now true and set to 1.

  • It is because the events are true as you run the events from top to bottom like Construct does. It becomes 2 which makes the event for if=2 true and then changes it to 3. Using the on down key pressed condition make it one event only, indent with sub event (S) and use Else, so if variable = 2 Else if variable = 3. That should fix it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • help us to help you by adding more info, this doesn't make too much sense on its own.

  • Cannot reproduce that on the file sent

  • So what are you trying to do in the textboxes?

  • Maybe I explained myself badly, I don't want the first 2 rows of the array, fortunately I know how to show them :D

    I would like that by typing the letter P the first text finds me Pear and the second Potatoes.

    instead now when I type P it finds me only potato, while in the list it finds Pear

    Find? Meaning what? Yes it's badly explained.

  • This is why I rarely share files because you end up with a bunch of events you don't really understand, for me that's not the way to learn Construct. It is not reversing any order you just put the action in a loop so it will run until the last element is found. If you want to show elements 0 and 1 from the array then do as I mentioned above outside of any loop or function.

  • You shouldn't set those text inputs inside the loop or inside the function. To be honest it's not clear what they are for. If they are there to show the first and second value of the array then its array.at(0) and array.at(1).