After a few Google searches I believe this is your best bet : http://www.hongkiat.com/blog/html5-range-slider-style/
The Tiled Background is probably more appropriate for this since the bitmap won't get weirdly stretched in the resize process.
The canvas plugin is probably the best way to do it. Using multiple "Tiled Background" objects and turning them into lines could be an option too.
Develop games in your browser. Powerful, performant & highly capable.
I agree with blackhornet, the maximum call stack can be easily reached if you having multiple objects fading simultaneously with tiny increment in opacity.
For each ordered ascending, using a distance() call as the expression. Add a stop loop if loopindex = 1 to limit the number of iteration to two.
An object cannot be in two containers. It's impossible from the current implementation. You could however use families as "fake" containers, having a family instance variable to bind each object together.
Or the hacky way, "For each ordered" with Object.Y ascending as order expression, with an exit loop as soon as the first iteration finishes.
Was there some newly created objects along the way per chance?
New version is awaiting approval ! The "long awaited" choice command is now in!
fremachuca You ought to check it out, it might interest you particularly.
Yep, that's a classic case of array usage. Fill up an array with the UID of your sprites, then retrieve 2 of them randomly, removing them from the array while fetching.
Use the "Set wave" action (in a for each if you have multiple balls). It could look like this :
A while loop needs an exit condition or a "break" statement (stop loop). Otherwise it'll loop infinitely and cause your script to hang.
Member since 4 Jul, 2011