Pages: 1
Topic closed
Hi mayboy!
You can let an object move in Circles with this script ...
when gf clicked
forever
turn cw (2) degrees
move (2) steps
end
end
When you turn just 1 degree, the circles will be larger, more then 2 degree and the circles will be smaller. Also, if you go more then 2 steps, the circles become larger and the other way around smaller You'll have to test this!
Offline
when gf clicked forever turn cw (2) degrees move (2) steps end endUhm sorry, now, this is the script And! If you say, repeat until "touching sword?" for example, you can also ad a "hide"-block, at the end and your enemys will disappear when you attack them
when gf clicked repeat until <touching (sword) ?> turn cw (2) degrees move (2) steps end hide
Offline
The higher the number in your
turn () left degreesor
turn () right degrees, the smaller your circle will be.
Last edited by jontmy00 (2012-03-31 08:32:35)
Offline
The scripts above are great, but it won't lag position wise if you use:
forever go to x: (([sin v] of ((timer) * (50))) * (100)) y: (([cos v] of ((timer) * (50))) * (100))I'm obsessed with the Help With Scripts topic
Last edited by chanmanpartyman (2012-03-31 22:43:01)
Offline
you just make the center of the sprite the exact center but the computer will automatically do that and then you make this script
when gf clicked forever turn 1 degrees right end say [this is how to make it] for (13) secs
Offline
OrangeKing-test wrote:
you just make the center of the sprite the exact center but the computer will automatically do that and then you make this script
when gf clicked forever turn cw (1) degrees end say [this is how to make it] for (13) secs
Fixed
Offline
Topic closed
Pages: 1