
Code: Select all
//Gravity fun at TestTubeGames
_settings(gravity: r^-2+0.5*r, zoom: 1.09, n: 5 suns controlled by spring action);
_type1(m: 10, col: 2, lcol: 3, pic: 0);
_type2(m: 100, col: 2, lcol: 3, pic: 0);
_add(type: 1, x: 0, y: 90, vx: 2, vy: 1, t: 0);
_add(type: 1, x: 0, y: -90, vx: -2, vy: -1, t: 0);
_add(type: 1, x: 90, y: 0, vx: -2, vy: -1, t: 0);
_add(type: 1, x: -90, y: 0, vx: 2, vy: 1, t: 0);
_add(type: 2, x: 0, y: 0, vx: 0, vy: 0, t: 0, nograv);