Skip to content

Commit be2bc3a

Browse files
Update README.md
1 parent 80bda86 commit be2bc3a

File tree

1 file changed

+8
-23
lines changed

1 file changed

+8
-23
lines changed

README.md

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@
99

1010
Github Action to convert your flash game to CreatorCraft game!
1111

12-
You can now package your CreatorCraft game on Github!
13-
1412
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!
1513

1614
## Example Work
15+
You need a Flash game file .swf
1716
```yml
1817
name: CI
1918

@@ -25,8 +24,14 @@ jobs:
2524
if: ${{ !contains(github.event.head_commit.message, '[ci skip]') }}
2625
steps:
2726
- uses: actions/checkout@v4
27+
- name: CreadorCraft-Maker-Flash
28+
uses: Creadores-Program/CreadorCraft-Maker-Flash@v1.0.0
29+
with:
30+
path: "./src" # Dir by game: This does not generate CSS or HTML or the manifest, the manifest in JS must be main.js
31+
pathSWF: "game.swf" #Game Path from Previous Path
32+
elementID: 'Test' #Html element ID to put the flash game
2833
- name: CreadorCraft-Maker
29-
uses: Creadores-Program/CreadorCraft-Maker-GHA@v1
34+
uses: Creadores-Program/CreadorCraft-Maker-GHA@v1.1.0
3035
with:
3136
path: "./src"
3237
- name: Upload Artifact
@@ -36,26 +41,6 @@ jobs:
3641
path: gameBuildCCM/TestName 1.0.0.creadorcraftgame.zip
3742
```
3843
39-
### Structure Repo:
40-
myName/RepoGameName/src
41-
42-
- manifest.json:
43-
```json
44-
{
45-
"name": "TestName",
46-
"description": "Test game",
47-
"version": "1.0.0",
48-
"mainHtml": "index.html",//dir main html file
49-
"mainCSS": "index.css",
50-
"mainJS": "index.js"
51-
}
52-
```
53-
- index.html
54-
- index.css
55-
- index.js
56-
57-
more info in Wiki!
58-
5944
Made in Mexico.
6045
6146
Creadores Program © 2024

0 commit comments

Comments
 (0)