here is a quick test that appears to work using
set CSS style "font-size" to "40px"
https://www.dropbox.com/s/awk5ql5xrzi5b ... .capx?dl=0
try something like:
vertical sprite ; spawn small sprite (this will create a new copy of the small spite at the location of the vertical sprite)
small sprite ; set y to self.y+100
very rough test ..
* see below *
works on my kindle fire tablet - not tested on anything else
also look at "move at angle"
Good point mindfaQ, a much better / flexible approach.
look at modulo (see https://www.scirra.com/manual/78/expressions)
with this you could do something like
add to score
..if score % 50 = 0 then create new object
I suggest looking at
try
textObject.X + len(textObject.Text)*8
assuming the letter width is 8 pixels/letter
Develop games in your browser. Powerful, performant & highly capable.
LittleStain
Thanks - didn't realise there was another thread. I will download and assimilate...
Once again my light is redundant
I will have another play over the weekend and see if I can improve on it (one idea does come to mind).
Can't you just shift select the ones you want to alter - then anything you alter (size, speed, instance variables, etc) will only effect the selected ones ?
or set each enemy with a variable so it limits it's turn angle ?
or a combination of the two so you get fast enemies that cant turn fast and slow enemies with a smaller turning circle ?
quick test - https://dl.dropboxusercontent.com/u/143636437/examples%20for%20web/ball%20chase%20edit.capx
Member since 2 Feb, 2013