Animation Demo OXP
Posted: Thu Feb 24, 2011 9:48 pm
With Oolite 1.75 there is the new frame callback available, allowing for some nice possibilities in animation.
I've been playing with this a little, and to aid my own understanding I've put together a small demo OXP (with the assistance of Ahruman and Eric Walch). It is available here.
Once installed, to activate it just launch from the main station (any system) and within 10 seconds target the nav buoy. Two test drones should be spawned, one on either side of the buoy. One uses the callback, and the other the old javascript timer way of doing animation as a comparison.
Aside from that it doesn't do anything but give an example to OXP makers - for me there are many interesting possibilities for new ships and features. Oh and be warned, watching the drones gets hypnotic after a while
As the first line above may suggest - requires Oolite 1.75 or higher to run.
I've been playing with this a little, and to aid my own understanding I've put together a small demo OXP (with the assistance of Ahruman and Eric Walch). It is available here.
Once installed, to activate it just launch from the main station (any system) and within 10 seconds target the nav buoy. Two test drones should be spawned, one on either side of the buoy. One uses the callback, and the other the old javascript timer way of doing animation as a comparison.
Aside from that it doesn't do anything but give an example to OXP makers - for me there are many interesting possibilities for new ships and features. Oh and be warned, watching the drones gets hypnotic after a while
As the first line above may suggest - requires Oolite 1.75 or higher to run.