From 61c6f477ef38785a43db2efc9114f7db051cb48f Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Fri, 13 May 2022 13:03:52 -0400 Subject: [PATCH 1/3] HMM setup in progress --- .gitignore | 3 ++- README.md | 18 +++++-------- hmm.json | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+), 13 deletions(-) create mode 100644 hmm.json diff --git a/.gitignore b/.gitignore index 8a4d131df..492e1d0c7 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ export/ .vscode/ APIStuff.hx .DS_STORE -RECOVER_*.fla \ No newline at end of file +RECOVER_*.fla +.haxelib/ \ No newline at end of file diff --git a/README.md b/README.md index d868c6574..df348d7f2 100644 --- a/README.md +++ b/README.md @@ -39,27 +39,21 @@ First you need to install Haxe and HaxeFlixel. I'm too lazy to write and keep up 1. [Install Haxe 4.1.5](https://haxe.org/download/version/4.1.5/) (Download 4.1.5 instead of 4.2.0 because 4.2.0 is broken and is not working with gits properly...) 2. [Install HaxeFlixel](https://haxeflixel.com/documentation/install-haxeflixel/) after downloading Haxe -Other installations you'd need is the additional libraries, a fully updated list will be in `Project.xml` in the project root. Currently, these are all of the things you need to install: +Other installations you'd need is the additional libraries, a fully updated list will be in `hmm.json` in the project root. Currently, these are all of the things you need to install: ``` -flixel -flixel-addons -flixel-ui -hscript -newgrounds +haxelib --global install hmm +haxelib --global run hmm setup +hmm install ``` -So for each of those type `haxelib install [library]` so shit like `haxelib install newgrounds` -You'll also need to install a couple things that involve Gits. To do this, you need to do a few things first. + You should have everything ready for compiling the game! Follow the guide below to continue! -At the moment, you can optionally fix the transition bug in songs with zoomed out cameras. -- Run `haxelib git flixel-addons https://github.com/HaxeFlixel/flixel-addons` in the terminal/command-prompt. - ### Ignored files I gitignore the API keys for the game, so that no one can nab them and post fake highscores on the leaderboards. But because of that the game diff --git a/hmm.json b/hmm.json new file mode 100644 index 000000000..a87c46301 --- /dev/null +++ b/hmm.json @@ -0,0 +1,74 @@ +{ + "dependencies": [ + { + "name": "discord_rpc", + "type": "git", + "dir": null, + "ref": "master", + "url": "https://github.com/Aidan63/linc_discord-rpc" + }, + { + "name": "firetongue", + "type": "git", + "dir": null, + "ref": "dev", + "url": "https://github.com/larsiusprime/firetongue" + }, + { + "name": "flixel", + "type": "git", + "dir": null, + "ref": "dev", + "url": "https://github.com/haxeflixel/flixel" + }, + { + "name": "flixel-addons", + "type": "haxelib", + "version": null + }, + { + "name": "flixel-ui", + "type": "haxelib", + "version": null + }, + { + "name": "hscript", + "type": "git", + "dir": null, + "ref": "master", + "url": "https://github.com/mastereric/hscript" + }, + { + "name": "hxcpp", + "type": "haxelib", + "version": null + }, + { + "name": "hxcpp-debug-server", + "type": "haxelib", + "version": null + }, + { + "name": "lime", + "type": "haxelib", + "version": null + }, + { + "name": "openfl", + "type": "haxelib", + "version": null + }, + { + "name": "polymod", + "type": "git", + "dir": null, + "ref": "develop", + "url": "https://github.com/larsiusprime/polymod" + }, + { + "name": "thx.semver", + "type": "haxelib", + "version": null + } + ] +} \ No newline at end of file From 6867c2572937cea23494090fb6febf069b94514a Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Fri, 13 May 2022 13:14:57 -0400 Subject: [PATCH 2/3] hmm lock stuff --- hmm.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/hmm.json b/hmm.json index a87c46301..36023c8b0 100644 --- a/hmm.json +++ b/hmm.json @@ -4,71 +4,71 @@ "name": "discord_rpc", "type": "git", "dir": null, - "ref": "master", + "ref": "2d83fa8", "url": "https://github.com/Aidan63/linc_discord-rpc" }, { "name": "firetongue", "type": "git", "dir": null, - "ref": "dev", + "ref": "c5666c8", "url": "https://github.com/larsiusprime/firetongue" }, { "name": "flixel", "type": "git", "dir": null, - "ref": "dev", + "ref": "3d4a2a1c", "url": "https://github.com/haxeflixel/flixel" }, { "name": "flixel-addons", "type": "haxelib", - "version": null + "version": "2.11.0" }, { "name": "flixel-ui", "type": "haxelib", - "version": null + "version": "2.4.0" }, { "name": "hscript", "type": "git", "dir": null, - "ref": "master", + "ref": "a1b7f74", "url": "https://github.com/mastereric/hscript" }, { "name": "hxcpp", "type": "haxelib", - "version": null + "version": "4.2.1" }, { "name": "hxcpp-debug-server", "type": "haxelib", - "version": null + "version": "1.2.4" }, { "name": "lime", "type": "haxelib", - "version": null + "version": "7.9.0" }, { "name": "openfl", "type": "haxelib", - "version": null + "version": "9.1.0" }, { "name": "polymod", "type": "git", "dir": null, - "ref": "develop", + "ref": "c858b48", "url": "https://github.com/larsiusprime/polymod" }, { "name": "thx.semver", "type": "haxelib", - "version": null + "version": "0.2.2" } ] } \ No newline at end of file From 91690ed1e44d559810dd2d42599c49a0fda1a6ee Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Fri, 13 May 2022 13:24:20 -0400 Subject: [PATCH 3/3] hmm workflow test? --- .github/workflows/learn-github-actions.yml | 14 +++----------- hmm.json | 2 +- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/learn-github-actions.yml b/.github/workflows/learn-github-actions.yml index 1cc2a4ca1..590e25f05 100644 --- a/.github/workflows/learn-github-actions.yml +++ b/.github/workflows/learn-github-actions.yml @@ -14,17 +14,9 @@ jobs: - name: Installing Haxe lol run: | haxe -version - haxelib install openfl --quiet - haxelib install lime --quiet - haxelib install flixel --quiet - haxelib install flixel-addons --quiet - haxelib install hscript --quiet - haxelib install flixel-ui --quiet - haxelib install firetongue --quiet - haxelib install hxcpp-debug-server --quiet - haxelib install hxcpp --quiet - haxelib install thx.semver --quiet - haxelib git polymod https://github.com/larsiusprime/polymod develop --quiet + haxelib --global install hmm + haxelib --global run hmm setup + hmm install --quiet haxelib run lime setup linux - name: Build game? run: | diff --git a/hmm.json b/hmm.json index 36023c8b0..984f54166 100644 --- a/hmm.json +++ b/hmm.json @@ -18,7 +18,7 @@ "name": "flixel", "type": "git", "dir": null, - "ref": "3d4a2a1c", + "ref": "93a049d6", "url": "https://github.com/haxeflixel/flixel" }, {