From 430c7b2ee93914a2653d239907943c66f8c41bc7 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Wed, 13 Oct 2021 10:04:13 +0200 Subject: [PATCH] Stuf --- app.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app.rb b/app.rb index d670afb..3559582 100755 --- a/app.rb +++ b/app.rb @@ -103,9 +103,9 @@ end window = Window.new("Physics!", 1600, 900) -planet = Planet.new("Sol", window, 0xff_ffffaa, 1e2, 20, 120) +planet = Planet.new("Sol", window, 0xff_ffffaa, 1e2, 5, 12) planet.pos = Vector[800, 450] -planet.show_info = true +planet.show_info = false cube = Player.new("Alpha", window, 8, 8) cube.show_info = true @@ -117,6 +117,7 @@ window.controller = cube cube2 = PhysCube.new("Beta", window, 8, 8) cube2.pos = Vector[800, 450 + 300] cube2.vel = Vector[-1.24, 0] +cube2.show_info = true planet.orbit([cube, cube2])