axmol/tools/console/README.md

43 lines
694 B
Markdown
Raw Normal View History

2022-10-01 16:24:52 +08:00
# axmol-console
2022-10-01 16:24:52 +08:00
## Vision of axmol-console
2022-10-01 16:24:52 +08:00
A command line tool that lets you create, run, publish, debug, etc… your game. It is the swiss-army knife for axmol.
Examples:
```
# starts a new project called "My Game" for multi-platform
2022-10-01 16:24:52 +08:00
$ axmol new MyGame -l cpp -p org.axmol.mygame
$ cd MyGame
# Will deploy the project to device and run it
2022-10-01 16:24:52 +08:00
$ axmol run -p android
```
# Devel Info
## Internals
2023-08-30 08:34:33 +08:00
`axmol.ps1` is an script whose only responsability is to call its plugins.
`axmol.bat` will invoke `axmol.ps1` on windows
`axmol` will invoke `axmol.ps1` on Mac OS X and linux
To get a list of all the registered plugins:
```
2022-10-01 16:24:52 +08:00
$ axmol
```
To run the "new" plugin:
```
2022-10-01 16:24:52 +08:00
$ axmol new
```