function speed() { while(1) { vec_set(Old_Rot, my.pan); wait(1); vec_set(Now_Rot, my.pan); vec_diff(Rot_Speed, Old_Rot, Now_Rot); vec_scale(Rot_Speed, time_frame); //JCL-inspired frame-rate correction wait(1); } }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de