diff --git a/.gitignore b/.gitignore index 09ee1c5..35e15c1 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ luac.out img/* img +up-editor.love # luarocks build files *.src.rock diff --git a/conf.lua b/conf.lua index 312cc71..6b39d50 100644 --- a/conf.lua +++ b/conf.lua @@ -6,9 +6,12 @@ function love.conf(t) t.version = "11.3" t.window.width = GAME_WIDTH * scale t.window.height = GAME_HEIGHT * scale + t.window.vsync = 0 t.modules.joystick = false t.modules.physics = false t.modules.touch = false + t.modules.timer = false + t.modules.sound = false t.modules.accelerometerjoystick = false t.identity = "up_editor" t.window.title = "UP editor" diff --git a/pack.sh b/pack.sh new file mode 100755 index 0000000..aaf8707 --- /dev/null +++ b/pack.sh @@ -0,0 +1 @@ +zip -9 -r up-editor.love *.ttf *.lua img diff --git a/tiles.lua b/tiles.lua index 37564d5..24956f3 100644 --- a/tiles.lua +++ b/tiles.lua @@ -2,8 +2,9 @@ local img_path = "img/" tiles = { love.graphics.newImage(img_path.."ground.png"), + love.graphics.newImage(img_path.."spike.png"), love.graphics.newImage(img_path.."elevator1.png"), } -tiles_char = { '0', '^' } +tiles_char = { '0', 'v', '^' } selected_tile = 1