Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- THE SPACE TOY!!!
- Based on: Spacewars 1.0.0! Simlulate space in space.
- Script Version: beta v0.2
- ####################
- CHANGES:
- -- Added fighter lvl 2 (void ray help!)
- -- Added bomber lvl 2 (chemical weapon)
- -- Added kamikaze ship (experienced kamikaze)
- -- Added deserted planet
- -- No more changing settings! Now gravity and air sim are always off, and edge is always in loop mode!
- -- Technology!
- ]]--
- local function settings(mousex, mousey, button, event)
- tpt.drawrect(613, 97, 14, 14, 204, 204, 204)
- tpt.fillrect(613, 97, 14, 14, 0, 0, 0, 255)
- tpt.drawtext(618, 101, "S", 255, 255, 255, 255)
- if tpt.mousex >= 613 and tpt.mousey >= 97 and tpt.mousex <= 627 and tpt.mousey <= 111 then
- tpt.drawtext(495, 101, "Space Simulation", 255, 255, 255, 255)
- tpt.drawrect(613, 97, 14, 14, 255, 255, 255)
- end
- if tpt.mousex >= 613 and tpt.mousey >= 97 and tpt.mousex <= 627 and tpt.mousey <= 111 then
- if event == 1 then
- sim.gravityMode(1);
- sim.airMode(3);
- sim.edgeMode(2)
- end
- end
- end
- tpt.register_mouseclick(settings)
- tpt.register_step(settings)
Add Comment
Please, Sign In to add comment