wouldn't
on collision with block
and
random(100)<25
be better ?
I think this is the sort of thing you are after ?
https://dl.dropboxusercontent.com/u/143636437/examples%20for%20web/land.capx
here is a slight edit
https://dl.dropboxusercontent.com/u/143636437/examples%20for%20web/array%20sort%20test%20with%20zeropad%20and%20backagain.capx
just take the array value into a variable and it will autmatically remve the zeros.
edit - and it looks better with the leading 0s. (in my (not very humble) opinion) <img src="smileys/smiley1.gif" border="0" align="middle">
In that case I suggest you look at custom movement.
Here is a quick test I tried that might help. Arrow keys rotate you/boost and break.
https://dl.dropboxusercontent.com/u/143636437/examples%20for%20web/spaceships%20over%20mountains%20test%2002.capx
something like
https://dl.dropboxusercontent.com/u/143636437/examples%20for%20web/spaceships%20over%20mountains%20test%2001.capx
or
https://dl.dropboxusercontent.com/u/143636437/examples%20for%20web/ano0ther%20test.capx
Rather than using the bullet bounce off solids why not just check for it being:-
overlapping the mountain ?
slow it down.
is it slow enough ?
change direction
accelerate
Develop games in your browser. Powerful, performant & highly capable.
looks like I need to download a download manager to use speedy.sh ? It downloads "constructtest.capx.exe" which I am not prepared to run. - Can you put it on dropbox ?
ok after a quick test I am a bit more confident that it would work.
I thought you would have to write a routine to pad out the numbers but there is a text option/ expression called zeropad
"zeropad(number, digits)
Pad number out to a certain number of digits by adding zeroes in front of the number, then returning the result as a string. For example, zeropad(45, 5) returns the string "00045"."
and a quick capx (using beta 155)
https://dl.dropboxusercontent.com/u/143636437/examples%20for%20web/array%20sort%20test%20with%20zeropad.capx
When you are collecting your score/names why not bulk out your score so it becomes "000123" or "008765" rather than "123" and "8765" then ,I think, the sort will work.
Can you post the capx for us to look at ?
Have you tried in another browser ?
Do you have browser object in you project ?
If I follow you correctly - my only suggestion is to check you have set in project properties/fullscreen in browser to leterbox scale ?
6502 assembly language ?
no, wait, you said easier...
sorry.
I think it is probably the format you are using - (ogg/mp3/aac etc)
not all formats are usable in each output certainly not all browsers can use the same format. Have a look in the manual under sounds.
not reduce the sprites but their collision polygon in built in image editor. (sorry missed your reply)
might also be worth looking at containers