Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- coldboot.js
- var logo = new Actor("logo");
- function move(){
- logo.setPosition( <0.0, 0.0, 0.0,>, 5.0, INTERPOLATION_LINEAR );
- }
- System.timer[0] = new IntervalTimer(0.0, move);
- coldboot.xml
- <?xml version="1.0" encoding="UTF-8"?>
- <raf>
- <model id="plane" file="plane.dae" />
- <actor id="logo" model="plane" material="mtrl_logo" scale="1.7778, 1.0, 1.0" position="0, 0.0, 0" />
- <material id="mtrl_logo" effect="pure_texture">
- <texture file="logo.dds" />
- </material>
- <camera id="camera" type="orthographic" yfov="0" ymag="2" znear="0.01" zfar="1000" position="0, 0, 2" direction="0, 0, -2" up="0, 1, 0"/>
- <script file="coldboot.js" />
- </raf>
Advertisement
Add Comment
Please, Sign In to add comment