https://github.com/namek/ngame-template
WIP: new game template: libgdx+artemis with some startup code
https://github.com/namek/ngame-template
Last synced: 8 months ago
JSON representation
WIP: new game template: libgdx+artemis with some startup code
- Host: GitHub
- URL: https://github.com/namek/ngame-template
- Owner: Namek
- Created: 2015-12-20T00:45:25.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-28T14:02:31.000Z (over 10 years ago)
- Last Synced: 2023-08-05T05:22:37.709Z (almost 3 years ago)
- Language: Java
- Homepage:
- Size: 307 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
2D Framework/Template
=====================
Libraries:
----------
libgdx (+ libgdx-contrib?) + artemis-odb + artemis-odb-contrib + Universal Tween Engine (+ artemis-odb-orion?)
Starter Tools:
* app_renamer (gradle conf, xmls, desktoplauncher -> config.title)
* tools/fix_packages (.gitignored)
Production Tools:
texture packer
gwt xml automatic configurator
packr + download link for openjdk
How to use tools
================
Fixing packages on top of Java files
------------------------------------
(for now it needs adding `tools` into `settings.gradle` file)
`cls&gradlew tools:fixPackages`
Fixing GWT XML definitions
--------------------------
**TODO**
Building sprites (textures)
---------------------------
Go to `work` directory. You'll see 3 subfolders:
* 1_work_stuff - your PSDs or whatever temporary
* 2_to_join - final pictures to join into textures
* 3_out_textures - textures built of previous folder content
Simply put your textures into `2_to_join` and run `pack.bat` which automatically copies compiled sprites into
`android/assets`.
Packaging with built-in JRE
---------------------------
For packaging Desktop version with built-in download [packr.jar](https://github.com/libgdx/packr) and put it into root folder.
Win32 build with built-in JRE: call `package_desktop.bat` which builds into folder `build-package` (configured in `package_desktop.json`).