Made packing script, improved the config

This commit is contained in:
KikooDX 2020-02-21 15:25:02 +01:00
parent 750d0e569d
commit f59191719d
4 changed files with 7 additions and 1 deletions

1
.gitignore vendored
View File

@ -4,6 +4,7 @@ luac.out
img/*
img
up-editor.love
# luarocks build files
*.src.rock

View File

@ -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"

1
pack.sh Executable file
View File

@ -0,0 +1 @@
zip -9 -r up-editor.love *.ttf *.lua img

View File

@ -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