Skip to content

Commit

Permalink
Use our own forked love.js
Browse files Browse the repository at this point in the history
  • Loading branch information
niamu committed Nov 26, 2024
1 parent 2c8ca50 commit 28837fd
Show file tree
Hide file tree
Showing 6 changed files with 102 additions and 270 deletions.
9 changes: 1 addition & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,7 @@ love: build/hawkthorne.love
love.js: build/hawkthorne.love
mkdir -p build/web
npm install
npx love.js -t "Journey to the Center of Hawkthorne" -m 77594624 -c build/hawkthorne.love build/web
######## Temporary LÖVE v11.5 until new version is published on NPM ########
$(WGET) https://github.com/Davidobot/love.js/raw/refs/heads/master/src/compat/love.js
$(WGET) https://github.com/Davidobot/love.js/raw/refs/heads/master/src/compat/love.wasm
mv love.js build/web/
mv love.wasm build/web/
################################### END ####################################
cp templates/web/* build/web/
npx love.js -m 77594624 -c build/hawkthorne.love build/web

build/hawkthorne.love: $(TILEMAPS) src/*
mkdir -p build
Expand Down
122 changes: 100 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"dependencies": {
"love.js": "^11.4.1"
"love.js": "github:hawkthorne/love.js"
}
}
34 changes: 0 additions & 34 deletions templates/web/index.html

This file was deleted.

69 changes: 0 additions & 69 deletions templates/web/love-game.css

This file was deleted.

Loading

0 comments on commit 28837fd

Please sign in to comment.