2022-10-01 16:24:52 +08:00
|
|
|
# axmol-console
|
2020-07-20 18:46:15 +08:00
|
|
|
|
|
|
|
|
2022-10-01 16:24:52 +08:00
|
|
|
## Vision of axmol-console
|
2020-07-20 18:46:15 +08:00
|
|
|
|
|
|
|
|
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.
|
2020-07-20 18:46:15 +08:00
|
|
|
|
|
|
|
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
|
2020-07-20 18:46:15 +08:00
|
|
|
|
|
|
|
$ cd MyGame
|
|
|
|
|
|
|
|
# Will deploy the project to device and run it
|
2022-10-01 16:24:52 +08:00
|
|
|
$ axmol run -p android
|
2020-07-20 18:46:15 +08:00
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
# 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
|
2020-07-20 18:46:15 +08:00
|
|
|
|
|
|
|
To get a list of all the registered plugins:
|
|
|
|
|
|
|
|
```
|
2022-10-01 16:24:52 +08:00
|
|
|
$ axmol
|
2020-07-20 18:46:15 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
To run the "new" plugin:
|
|
|
|
|
|
|
|
```
|
2022-10-01 16:24:52 +08:00
|
|
|
$ axmol new
|
2020-07-20 18:46:15 +08:00
|
|
|
```
|