diff --git a/assets/scripts/BouncingItem.lua b/assets/scripts/BouncingItem.lua index ca0192d..c58fbfe 100644 --- a/assets/scripts/BouncingItem.lua +++ b/assets/scripts/BouncingItem.lua @@ -1,6 +1,6 @@ -- script.lua -local Math = require("./assets/scripts/math") -- Require the enhanced math module -local Engine = require("./assets/scripts/engine") +local Math = require("math") -- Require the enhanced math module +local Engine = require("engine") local GameObjectName = "Bacround" diff --git a/assets/scripts/script.lua b/assets/scripts/script.lua index 09b85c6..358b203 100644 --- a/assets/scripts/script.lua +++ b/assets/scripts/script.lua @@ -1,10 +1,7 @@ -- script.lua -local Math = require("./assets/scripts/math") -local Engine = require("./assets/scripts/engine") +local Engine = require("engine") -local itterator = 0 -local ticks = 0 local new_rotation = 0 local speed = 50 diff --git a/examples/BounceingItem.lua b/examples/BounceingItem.lua index 76c0a0f..d25db2f 100644 --- a/examples/BounceingItem.lua +++ b/examples/BounceingItem.lua @@ -14,8 +14,8 @@ local GameObjectName = "Gun" -- This is the tag of the game object you want it t -local Math = require("./assets/scripts/math") -- Require the enhanced math module -local Engine = require("./assets/scripts/engine") +local Math = require("math") -- Require the enhanced math module +local Engine = require("engine") -- Variables to track elapsed time and rotation