diff --git a/buildtools/appimage/love-prepared/bin/love b/buildtools/appimage/love-prepared/bin/love index fb768f5..8b28f73 100755 Binary files a/buildtools/appimage/love-prepared/bin/love and b/buildtools/appimage/love-prepared/bin/love differ diff --git a/buildtools/love-js/love-js.sh b/buildtools/love-js/love-js.sh index a6af569..1f5e91c 100755 --- a/buildtools/love-js/love-js.sh +++ b/buildtools/love-js/love-js.sh @@ -76,7 +76,7 @@ release="compat" love_version="11.5" canvas_colour="54,69,79" text_colour="240,234,214" -initial_memory=0 +initial_memory=96000000 module_size=$($DU_CMD -b $love_file | awk '{print $1}') title=$(echo $name | sed -r 's/\<./\U&/g' | sed -r 's/-/\ /g') version="" diff --git a/conf.lua b/conf.lua index 3b7e239..eb024e4 100644 --- a/conf.lua +++ b/conf.lua @@ -1,6 +1,6 @@ love.conf = function(t) t.gammacorrect = true - t.title, t.identity = "Survivor", "Bill Niblock" + t.title, t.identity = "escape-the-crash", "Bill Niblock" t.modules.joystick = false t.modules.physics = false -- This scales the game, and it still looks quite nice at 1440p! diff --git a/makefile b/makefile index bbd992a..096293d 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,4 @@ -VERSION=0.1.0 +VERSION=0.2.0 LOVE_VERSION=11.5 NAME=escape-the-crash ITCH_ACCOUNT=vagabondazulien @@ -54,7 +54,7 @@ web: releases/$(NAME)-$(VERSION)-web.zip runweb: $(LOVEFILE) - buildtools/love-js/love-js.sh $(LOVEFILE) $(NAME) -v=$(VERSION) -a=$(AUTHOR) -o=releases -r -n + buildtools/love-js/love-js.sh $(LOVEFILE) $(NAME) -v=$(VERSION) -a=$(AUTHOR) -o=releases -r -n -d # If you release on itch.io, you should install butler: # https://itch.io/docs/butler/installing.html @@ -67,6 +67,6 @@ uploadwindows: releases/$(NAME)-$(VERSION)-win.zip uploadweb: releases/$(NAME)-$(VERSION)-web.zip butler push $^ $(ITCH_ACCOUNT)/$(NAME):web --userversion $(VERSION) -upload: uploadlinux uploadmac uploadwindows uploadweb +upload: uploadlinux uploadwindows uploadmac uploadweb release: linux mac windows web upload clean diff --git a/mapper.fnl b/mapper.fnl index 83ed42d..31ec621 100644 --- a/mapper.fnl +++ b/mapper.fnl @@ -189,7 +189,7 @@ (var data-maze (convert-cells meta-maze leave-cell)) (var data-map (generate_cell_map data-maze)) (var map (generate_map data-map spawn-cell leave-cell)) - (print_map map) + ; (print_map map) (values map spawn-spot)) ; (print (.. "SPAWN: " spawn-cell "(" (. spawn-spot :x) "," (. spawn-spot :y) ")")) diff --git a/overlay.fnl b/overlay.fnl index d7f9185..59ea23c 100644 --- a/overlay.fnl +++ b/overlay.fnl @@ -82,6 +82,7 @@ ) ; This draws a compass bar at the top of the HUD +(var compass-font (love.graphics.newFont 20)) (var hc-bar-east ["-" "-" "|" "N" "|" "-" "-" "|" "NE" "|" "-" "-" "|" "E" "|" @@ -115,13 +116,10 @@ hc-output) (fn hud-compass [] - (var old-font (love.graphics.getFont)) - (love.graphics.setNewFont 20) (love.graphics.setColor 0.5 1 1 0.5) (var compass-bar-output (compass-bar)) - (love.graphics.printf compass-bar-output 0 50 screen-width :center) - (love.graphics.setFont old-font)) - + (love.graphics.printf compass-bar-output compass-font 0 50 screen-width :center)) + (fn overlay [dx dy pos-x] (love.graphics.translate dx (- dy)) (oxygen-ui (+ (/ screen-width 2) 100) (- screen-height 100))