summaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
authorthe lemons <citrons@mondecitronne.com>2022-12-26 02:43:02 -0600
committerthe lemons <citrons@mondecitronne.com>2022-12-26 02:43:57 -0600
commitb7aca18f4c80426f528bc650e1f6bd01437c8a89 (patch)
tree1b2b7a16eff56e57f916754d89e1928ca170abde /main.lua
parentede9af54010eab4eb6ee1b81fe9d6a0333846e88 (diff)
improve collision code
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index 619b5ec..31225fa 100644
--- a/main.lua
+++ b/main.lua
@@ -19,7 +19,7 @@ local selection
for i = 1, 100 do
obj.new("test", {math.random() * 1000 - 500, math.random() * 1000 - 500}, {
avel = math.random() * 0.5 - 0.25,
- vel = {math.random() * 0.5 - 0.25, math.random() * 0.5 - 0.25}
+ vel = {math.random() * 1 - 0.5, math.random() * 1 - 0.5}
})
end