Made packing script, improved the config

master
KikooDX 3 years ago
parent 750d0e569d
commit f59191719d
  1. 1
      .gitignore
  2. 3
      conf.lua
  3. 1
      pack.sh
  4. 3
      tiles.lua

1
.gitignore vendored

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

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

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

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

Loading…
Cancel
Save