Skip to content

Html-CreadorCraft-Maker

Actions
Github Action to package your Html5 game to CreatorCraft game
v1.0.0
Latest
Star (1)

Html to CreadorCraft Maker GHA

Github Github Actions NodeJS NPM JavaScript Json

Github Action to transpile your Html5 game to 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 you can also run many programming languages for your game!

Example Work

You need a Html5 game file .html

Action options

  • path: destination of the game files CreatorCraft (the game's manifest.json should be there when creating) required
  • pathGame: Html5 game directory if it is in your Github repo
  • pathCustomJs: additional JavaScript file directory for the Html5 game (must be in a different directory than where the CraftCreator game will be generated, same for the css)
  • pathCustomCSS: additional css to the Html5 game

Example of task:

name: CI

on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    if: ${{ !contains(github.event.head_commit.message, '[ci skip]') }}
    steps:
      - uses: actions/checkout@v4
      - name: Scratch-CreadorCraft-Maker
        uses: Creadores-Program/[email protected]
        with:
          path: "./src" # Destinity CreadorCraft Game (this not genere manifest.json)
          pathGame: "./Game.html"
      # Pack..
      - name: CreadorCraft-Maker
        uses: Creadores-Program/[email protected]
        with:
          path: "./src"
      - name: Upload Artifact
        uses: actions/upload-artifact@v4
        with:
          name: My Game Example
          path: gameBuildCCM/TestName 1.0.0.creadorcraftgame.zip

Structure Repo:

myName/RepoGameName/

  • Game.html

  • src

    • manifest.json:
    {
     "name": "TestName",
     "description": "Test game",
     "version": "1.0.0",
     "mainHtml": "index.html",
     "mainCSS": "index.css",
     "mainJS": "main.js"
    }

CreadorCraft Maker Action

Made in Mexico.

Creadores Program © 2024

Html-CreadorCraft-Maker is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Github Action to package your Html5 game to CreatorCraft game
v1.0.0
Latest

Html-CreadorCraft-Maker is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.