Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use our own forked love.js #2605

Merged
merged 1 commit into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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