zland v0.1.0
zland
This repository is for building zland.
It puts everything together and runs the package either mobile or in the browser.
Contribute
You can contribute in different ways:
- Play the game and tell me your opinion and ideas
- Report bugs
- Create images
- Provide CSS styles
- Submit your own code
submit CSS styles and images
Clone the repository you like to contribute to and follow the installation instructions from the related README.md repository.
Each project should launch separately in the browser and show you the available styles and images.
Images are stored in the asset folder located in www/assets/<project_name>/img
(for zland-player it would be www/assets/zland-player/img/test.png
).
reference from sass file
.torso {
background-image: url('~assets/zland-player/images/test.png');
}
reference from HTML/JSX file
<img src="assets/zland-player/images/test.png"/>
submit code
styleguide
There is no styleguide yet. I suggest you pick a random file and try to match the style.
Only fixed rule is two spaces for a tab.
Installation
clone the repogit clone https://github.com/zland/zland.git
install all dependencies firstnpm install
install gulp:npm install -g gulp
install cordova:npm install -g cordova
Configuration
There is a json config located in config/sample.config.json
Copy this file to config.json and add your google maps key.
Usage
Launch in the browsergulp serve:debug
Launch androidcordova platform add android
gulp build && cordova run android
Launch ioscordova platform add ios
gulp build
Directories
config
gulp
Gulp files for building zland.
hooks
platforms
plugins
res
Resources folder, mobile os specific images like splash screen and icons are places here.
www
Files for running projects isolated from main project.
Files
gulpfile.js
make-webpack-config.js
webpack-debug-settings.js
webpack-production-settings.js
9 years ago