From be2bc3af15487687a7ff6baa099854953dfa0331 Mon Sep 17 00:00:00 2001 From: Trollhunters501 <91704943+Trollhunters501@users.noreply.github.com> Date: Sat, 14 Dec 2024 08:34:01 -0600 Subject: [PATCH] Update README.md --- README.md | 31 ++++++++----------------------- 1 file changed, 8 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index c54fa88..0d12a88 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,10 @@ Github Action to convert your flash game to CreatorCraft game! -You can now package your CreatorCraft game on Github! - If you want to know how to create a game in CreadorCraft I recommend you check out the [CreadorCraft Maker wiki](https://creadorcraft-maker.blogspot.com/p/documentacionwiki.html) you can also run many programming languages for your game! ## Example Work +You need a Flash game file .swf ```yml name: CI @@ -25,8 +24,14 @@ jobs: if: ${{ !contains(github.event.head_commit.message, '[ci skip]') }} steps: - uses: actions/checkout@v4 + - name: CreadorCraft-Maker-Flash + uses: Creadores-Program/CreadorCraft-Maker-Flash@v1.0.0 + with: + path: "./src" # Dir by game: This does not generate CSS or HTML or the manifest, the manifest in JS must be main.js + pathSWF: "game.swf" #Game Path from Previous Path + elementID: 'Test' #Html element ID to put the flash game - name: CreadorCraft-Maker - uses: Creadores-Program/CreadorCraft-Maker-GHA@v1 + uses: Creadores-Program/CreadorCraft-Maker-GHA@v1.1.0 with: path: "./src" - name: Upload Artifact @@ -36,26 +41,6 @@ jobs: path: gameBuildCCM/TestName 1.0.0.creadorcraftgame.zip ``` -### Structure Repo: -myName/RepoGameName/src - - - manifest.json: - ```json - { - "name": "TestName", - "description": "Test game", - "version": "1.0.0", - "mainHtml": "index.html",//dir main html file - "mainCSS": "index.css", - "mainJS": "index.js" - } - ``` - - index.html - - index.css - - index.js - -more info in Wiki! - Made in Mexico. Creadores Program © 2024