lionz's Forum Posts

  • Have the player in layout 2 already, or create it on start of layout, or make the player a global object.

  • No the text conditions go at that sub level

  • Move the text comparisons to a sub event level (S) and say if title, Else if con, Else.

  • Example?

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

  • Try Construct 3

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

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