-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
69 lines (53 loc) · 2.14 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
== Welcome to the Pixie Demo Project!
Here you will learn the basics to get started.
Hit "Run" to run your game at any time. Make changes to your files then run again.
Hit "Publish" to publish the current version of your game to PixieEngine.
== Description of Contents
The default directory structure of a PixieEngine game:
|-- lib
|-- src
| |-- main.coffee
| `-- (class files)
|-- test
|-- Documentation
|-- README
`-- pixie.json
lib
Holds all the libraries that your game uses. `gamelib` has all the basics and
must be included first. `browserlib` has some utilities that are required to run the
game in a browser. `extralib` has some useful add-on tools for handling animations
and tilemaps.
src
The source for your game. This should contain a `main` file which is what runs when
your game begins. All the files for objects in your game, like players and walls, will
reside here as well.
test
Here you can have code that tests your libraries and objects to make sure that they
behave correctly.
Documentation
This gives you a reference where you can look up all the availble classes and methods.
README
This file, feel free to change it to whatever you want developers to know about your game.
pixie.json
This contains additional data about your game that PixieEngine.com uses to render it and
link what libraries you use.
{
"author": "STRd6",
"name": "PixieDemo",
"libs": {
"00_gamelib.js": "https://github.com/STRd6/gamelib/raw/pixie/gamelib.js",
"browserlib.js": "https://github.com/STRd6/browserlib/raw/pixie/browserlib.js",
"extralib.js": "https://github.com/STRd6/extralib/raw/pixie/extralib.js"
},
"directories": {
"lib": "lib",
"source": "src",
"test": "test"
},
"width": 480,
"height": 320
}
You can set your app width and height here, though you'll probably need to reload the editor
after saving for changes to take effect.
pixie.json can also contain information that is used when publishing your game to various
other platforms such as Chrome Web Store, Windows Executable, iOS, or Xbox Live Arcade.