Beach: game made by ChatGPT and Dalle (game.json generated with ChatGPT and images with Dall-e)
Star Wars: game made by ChatGPT and Dalle (game.json generated with ChatGPT and images with Dall-e)
First you will need to install Rust
git clone https://github.com/charyan/html-game-framework.git
cd html-game-framework/hgf-maker/
cargo build --release
cd ..Open html-game-framework/hgf-designer/index.html in a web browser. Create your game. The first scene in the list will be the start of your game. Once you're done, click on Export to JSON.
Create the game based on your game.json file created above.
# SOURCE being your game.json file and DEST the destination directory you want your game files in
html-game-framework/hgf-maker/target/release/hgf-maker SOURCE DESTCopy your images in DEST/img.
Copy the CSS stylesheet from html-game-framework/game/style.css to DEST.
Open DEST/index.html in a web browser.

