lionz's Forum Posts

  • 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.

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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).

  • There are a few other options, if changing the object's angle doesn't cause any issue you can enable Set Angle on the 8direction behaviour and the object's angle will also change with the movement and the original events you have should work as it will keep the last angle.

    Another is to grab the 8 direction movement angle on button release and save it in a global variable, then use this to compare.

    Another is to use the walking animation that is playing as the object stops. If walk right animation is playing, then set to idle right.

    Also if you are only using 4 directions I don't think you need to use 'is between' condition it should be the same 4 possible values.

  • You are using the 8 direction movement angle in the other screenshot so it would be the same. It's strange that you changed it at all if it is already working for walking.

  • One screenshot is using the object's angle and the other is using the 8 direction movement angle, they are two different things. Probably you want to change the object angle conditions to 8 direction angle. You can make use of 8 direction without ever adjusting the object's angle which may be what's happening here. Check in debug if the object's angle is changing or the value of 8 direction movement angle.