lionz's Forum Posts

  • Maybe you confused yourself with that awful naming convention lol. The event should be simple : set global variable to textinput.text

  • It looks like it should work. Not sure what the array is for but that's separate. Maybe your browser is clearing save data. Does it set the health as should be done after save complete?

  • We'd have to see it, can't really guess the problem here.

  • You would still keep what you have now for a brand new game to load the initial array, the variable I mentioned acts as tracking whether it's a new game or not.

    Then you create the load game logic separately. Whenever a player is going through a different flow of loading an existing game you load the local storage data instead of request the array file via ajax.

  • That would be an example of clearing the array on start of layout that I mentioned. You can block this out with a global variable, use a condition variable=0 to load in the JSON then set the variable to 1. This means it won't do it again.

  • You can test it in test mode from admob side is what I'm saying. You set up your mobile as a test device and your ads will arrive in test mode. That is how you test your own ads before publishing.

  • Share the new file you mentioned that shows the issue and I can take a look.

  • When you say matrix are you referring to the array? What you're describing is the default, they are global. When you change layout the value at 1,3 should be the same unless you pressed a key.

    Maybe you unticked global on the array object although that would be unusual. Or commonly people have events to reset the array on start of layout which can interfere with it.

  • Do you have events that clear an array on start of layout?

  • I hate to respond with the same thing again I'll just copy and paste it : You are not meant to use your own ads before it's published, even says it on the link you shared. You can however set up your device as a test device on admob, this allows you to test your own ads in a safe way.

  • Just from the screenshot I see you have both sounds under an every tick event, probably you want them under a trigger once event or they will play constantly.

  • The objects have instance variables, you can use global variables for more general things like player hp or score.

  • "However, the arrows in my project are appearing a split-second before the jump is able to be repeated." Looks fine to me, they appear as expected.

    The arrows can always be clicked, making them invisible does not make them inactive as you say. The problem you are seeing is that you've used a tap gesture which isn't always simulated well with a mouse click so sometimes it doesn't work.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You'll need to use a variable and add it as an extra condition to differentiate what has been picked before. For example if one is picked you set the variable to 1. Then the main condition is to pick a random instance where variable is 0.

  • Well you're almost there because you created the platformID variable but never used it and I see you attempted a system condition so that's also in the right place. Where you have the disabled system condition you need to add 'wheel object pick by UID > platform.platformID'. This picks the associated wheel with the platform you just landed on as linked by the variable.