lionz's Forum Posts

  • Nice. If I remember correctly those platforms are too high for Dizzy.

  • Create a permutation table using Advanced Random from 1 to 30, this will be all the numbers from 1 to 30 randomly shuffled. Then use the first 8 numbers for the variable, expression is for example Advancedrandom.Permutation(0) for the first number.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ah ok that's different to a few years ago, at least you can test with real ads. And you removed the create action in case it cancels out the other ad?

  • You can't say if it's admob until you confirm the events are running and that function is actually running. If it gets to that point then you can think about admob settings. Also I think you're meant to run it in test mode so you don't get account banned?

  • The problem is OP has said they cannot recover the code but you can. If you move the variable back into the global scope the events return as they were before so nothing is lost.

  • Is creating another one while showing the previous one standard? You could try removing that first to see if it has any effect. Also are you sure the function is running? Add some logging to find out. What platform are you testing it on?

  • I mean both your posts now contain no information about the problem so not sure how I can help further.

  • Ah okay you changed it to a local variable, don't move the globals there is no need to organise them or whatever you were trying.

  • A folder? Can you share a screenshot?

  • Are they local variables in the screenshot? Also of course they work.

  • There is a condition with the Sprite object to pick the top-most sprite, does that resolve it ?

  • For that to happen you would need to delete the global variables. The position of the global variables doesn't matter, no need to put them in a group.

  • In debug preview you can see if the variable is as expected. Setting the text to show the variable is different, you can set an event every tick > set text to variable then it will be correctly showing the variable.

  • If you are going to write events like this it's good to get used to debugging and logging. Add the Browser object to log the output and see if it's as expected.

  • You have to be careful when using waits in functions because they continue to run and depending on how you structured it you could be running events at the bottom first. Adding the wait to the top doesn't mean it will wait to run the rest of the function if there are multiple conditions.

    As described you could use the Timer behaviour for the display thing. Start a timer and then make use of 'on timer complete', then no need to use a function or waits.