hope it helps
Develop games in your browser. Powerful, performant & highly capable.
something like this?
i edited my previous post, after adding int(number) it worked fine, and for the currency int(number*100)/100. Thanks for the tips, much smaller code than i was using.
well i think i found the problem
when you open the sprite editor right click where the frames are, and then import sprite strip
add function object
add variables to the game
copy function
paste function
replace the text statement function.call("function name",numberToDisplay)
tada
you could add a boolean to the logo, then instead of logo.Opacity>1 use logo.fade is true
If you spawned all 7 with the same variables, and then try to pick using a variable that is the same on each 1, its going to pick them all. I think you need to set the variable when you spawn it.
set sprite.x = mouse.x (i think this is what you want)
make a variable to track how many and then
create object sprite 2 on layer at ((120+sprite2killed*10),-20)
https://www.scirra.com/forum/viewtopic.php?t=63947&start=0