Giter Site home page Giter Site logo

lagamestudio / ct-js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ct-js/ct-js

0.0 2.0 0.0 222.6 MB

Ct.js is a desktop game engine that makes learning programming fun and game development easy by its visual editors and well-documented code library

Home Page: https://ctjs.rocks/

License: MIT License

CSS 0.93% HTML 1.16% JavaScript 86.61% Pug 0.77% Stylus 9.59% TypeScript 0.93%

ct-js's Introduction

GitHub tag (latest by date) Travis (.org) master branch Travis (.org) develop branch

GitHub issues by-label GitHub issues by-label GitHub issues by-label

Ct.js is a 2D game editor that makes its bet on good documentation, visual tools and smooth workflow.


For bugs, feature requests, developing questions, please use GitHub issues so we can better track them. For general support about making games, ask a question at our discord server.


Contributors needed!

Ct.js is a project maintained by CoMiGo, and programmed mainly by them as well, with little support from dear contributors and translators. And it sucks! Ct.js is a good game editor, but can be the best one, and one developer is not enough to transition it from a dream to a reality.

If you are willing to participate in ct.js' future, contact me at Discord (CoMiGo#7821) or Telegram (@CoMiGo). Or jump straightly to the main dev board for current issues.

Support ct.js on product-hunting sites:

Production builds

See the releases page or jump to itch.io page. Available for Windows, Mac and Linux.

Nightly builds

We have daily builds at itch.io. This page will have nightly versions that are built from the develop branch from our repository. It means that you will get the latest features, improvement, bug fixes, and new bugs daily, out of the oven. Itch.io app is strongly recommended.

Repo structure & tools

  • app — an NW.js app, with its configs and static files.
    • data
      • ct.release — the ct.js game library, aka its "core"
      • ct.libs — catmods (modules) that ship with ct.js. Feel free to create a pull request with your module!
      • i18n — UI language schemes. Open for pull requests! :)
  • src — a source folder that compile into /app folder at a build time.
    • js — different top-level scripts, including 3rd-party libraries.
    • node_requires — these are copied as is to the /app directory upon building ct.js, contain reusable code, and are meant to be used by require('./data/node_requires/…').
    • pug — HTML sources of editor's windows, written in Pug.
    • riotTags — components that drive all the logic in ct.js. Written in Pug and Riot.js v3.
    • styl — style sheets, written in Stylus.
  • branding — logos and icons belong here.
  • docs — official docs of ct.js. Edit them here.
  • DragonBonesJS — a dependency for enabling DragonBones' skeletal animation support in ct.js.
  • SSCD.jsa fork of a collision library for ct.place.

Developing ct.js

Planning

See the main dev board for hot issues and plans for next releases. Prioritize the "Current release" column, then "To Do", then "Backlog", though if you really want a feature from a backlog to come true right here, right now, no one can stop you :)

Please leave a comment in issues you want to work on so that we can assign you to them and avoid occasional double work from several contributors.

Forking and installing the dev environment

Building ct.js requires Node and npm installed on your machine.

git clone https://github.com/ct-js/ct-js.git ctjs
cd ./ctjs
npm install gulp-cli -g
npm install
gulp -f devSetup.gulpfile.js

Running ct.js from sources

gulp

VSCode can use this extension to run ct.js with an attached debugger. Use gulp dev instead of just gulp to run a dev service with live-reloading without opening ct.js in its default manner.

Releasing ct.js

This is left for emergencies only, as Travis should prepare binaries for github and send them to itch.io as well

# Builds docs and adds them to ct.js app
gulp docs
# Recompiles source files, bundles docs, and bakes binaries
gulp packages

# Publishes prebuilt binaries to itch.io
# This assumes that you have an access to ct.js at itch.io :)
gulp deployOnly
gulp deployOnly --channel next # deploy to a specific itch.io channel

# Combines `gulp packages` and `gulp deployOnly`
gulp deploy

The first run will be slow as it will download nw.js binaries. Next runs will use cached files.

Naming conventions for commits

Use Gitmoji-flavored Comigoji for naming your commits.

ct-js's People

Contributors

bartinthefield avatar cosmomyzrailgorynych avatar dependabot[bot] avatar emaoshushu avatar foobarit avatar gumpdev avatar island205 avatar julianwebb avatar leedigital avatar naturecodevoid avatar qualitymanifest avatar schadocalex avatar tkoda avatar wend1go avatar yonderbread avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.