The platform behaviour by default allows you to jump forwards and backwards so what are you trying to do that's different?
It's a bit confusing to me because you're loading into the array from local storage at different rows of X over one Y but when you add the new data you are adding to one row of X over several Y yet somehow it still works for the score and answers I dunno, better if the file shared.
Best way might be to email the construct dudes with the file or share it here.
Not sure what you mean on the first bit, but on the big number do you mean it's decimal places? You can use round(random(x,y)) to make it a whole number.
Looks like the global variable is only saving scores? Where was your attempt to save the names added because I can't work it out.
Hiya, there's a 'drag and drop' behaviour you can add to the player object. Then you can drag him around with the mouse.
ok! glad it's working :)
Oh I thought you meant an error in the editor. An assert I dunno, are the values in the array definitely numbers? Try int() around the calculation to convert it if it produces a number as a string.
You can set a local variable to round(random(1,100)) and then have conditions, if variable = 1, spawn object A, else spawn object B. Or if it was 10%, if variable is between 1 and 10 then spawn object A etc
Aren't they the same number? Anyway, what's the error?
Develop games in your browser. Powerful, performant & highly capable.
Browser log is the most useful
'more proper way of doing it' meaning what? 'the real thing' meaning what?
Member since 5 Aug, 2013 Last online 11 Feb, 2025