diff options
Diffstat (limited to 'scripts/world.lua')
-rw-r--r-- | scripts/world.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/world.lua b/scripts/world.lua new file mode 100644 index 0000000..5be4441 --- /dev/null +++ b/scripts/world.lua @@ -0,0 +1,17 @@ +WINDOW_WIDTH = 640 +WINDOW_HEIGHT = 480 + +entities = { + [0] = { + point = { x = 0, y = WINDOW_HEIGHT - 200 }, + texture = "img/player.png", + velocity = { x = 0, y = 0 }, + player = {}, + }, + [1] = { + point = { x = 0, y = 0 }, + texture = "img/level.png", + solid = "img/level.png", + }, +} + |