And to be able to change the radius and how fast it moves. Negative numbers should move the FFC counterclockwise (if possible) I want to basically make an "ice barrier item script" that runs another, "Ice Barrier FFC Script." The latter creates several ice blocks that spin around Link and when a projectile hits them, it gets reflected (kinda like the mirror shield)
A script that makes a freeform combo move in circles around Link...
Started by
idontknow8
, Jul 26 2016 11:32 PM
3 replies to this topic
#1
Posted 26 July 2016 - 11:32 PM
#2
Posted 27 July 2016 - 12:10 AM
Give me a few days. JudasRising requested orbiting platforms, so this will share code with those.
#3
Posted 27 July 2016 - 11:52 AM
ffc script OrbitLink { void run(int radius, float step) { int angle=0; while(true) { this->X=Link->X+radius*Cos(angle); this->Y=Link->Y+radius*Sin(angle); angle=(angle+step)%360; Waitframe(); } } }radius is in pixels, step is degrees per frame.
#4
Posted 27 July 2016 - 10:05 PM
I'm pretty sure he wants something like the cane of byrna, where it's drawing lweapons, or something, to make a barrier of orbits; not just one orbiting point. Unless he only wanted some way to make it orbit, and do all the rest on his own. Working on the Metroid code now, and finishing up request backlogs, so I'll check this later and see if he needs more.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users