├── .gitignore
├── Gruntfile.js
├── README.md
├── README_zh_CN.md
├── bower.json
├── examples
├── 01_helloWorld.html
├── 02_basicDisplayElements.html
├── 03_masking.html
├── 04_bouncingBall.html
├── 05_keyboardMovement.html
├── 06_pointerProperties.html
├── 07_parentsAndChildren.html
├── 08_scenesAndTweening.html
├── 09_keyframeAnimation.html
├── 10_keyframeAnimationImages.html
├── 11_textureAtlasAnimation.html
├── 12_animationStates.html
├── 13_particles.html
├── 14_particleEmitter.html
├── 15_tilingSprite.html
├── 16_buttons.html
├── 17_textureAtlasButton.html
├── 18_sounds.html
├── 19_dragAndDrop.html
├── 20_tweening.html
├── 21_followPaths.html
├── 22_shootingBullets.html
├── 23_spaceshipVehicle.html
├── 24_tankVehicle.html
├── 25_pointCollision.html
├── 26_circleCollision.html
├── 27_rectangleCollision.html
├── 28_rectangleCircleCollision.html
├── 29_pegs.html
├── 30_bricks.html
├── 31_marbles.html
├── 32_blockRectangles.html
├── 33_platforms.html
├── 34_breakout.html
├── 35_tiledEditorSupport.html
├── 36_scrollingWorldCamera.html
├── fonts
│ ├── PetMe64.ttf
│ └── puzzler.otf
├── images
│ ├── animals.json
│ ├── animals.png
│ ├── blixyiiTileset.png
│ ├── blixyiiUI.png
│ ├── bloxyee
│ │ ├── ball.png
│ │ ├── bloxyee.json
│ │ ├── bloxyee.png
│ │ ├── blue.png
│ │ ├── down.png
│ │ ├── green.png
│ │ ├── orange.png
│ │ ├── over.png
│ │ ├── paddle.png
│ │ ├── red.png
│ │ ├── star.png
│ │ ├── title.png
│ │ ├── up.png
│ │ └── violet.png
│ ├── button.png
│ ├── button2.json
│ ├── button2.png
│ ├── buttonFairy.png
│ ├── buttonFairy
│ │ ├── 0.png
│ │ ├── 1.png
│ │ ├── 2.png
│ │ └── 3.png
│ ├── cat.png
│ ├── fairy.json
│ ├── fairy.png
│ ├── fantasy.png
│ ├── forest.png
│ ├── hedgehog.png
│ ├── marbles.png
│ ├── platforms.png
│ ├── rocket.png
│ ├── star.png
│ ├── tiger.png
│ ├── tile.png
│ ├── timeBombPanic.png
│ └── walkcycle.png
├── maps
│ ├── fantasy.json
│ ├── fantasy.tmx
│ ├── timeBombPanic.json
│ └── timeBombPanic.tmx
└── sounds
│ ├── bounce.wav
│ ├── explosion.wav
│ ├── music.wav
│ └── shoot.wav
├── ga.js
├── package.json
├── plugins.js
└── tutorials
├── 01_treasureHunter.html
├── 02_treasureHunterImages.html
├── 03_treasureHunterAtlas.html
├── 04_alienArmada.html
├── 05_flappyFairy.html
├── fonts
└── emulogic.ttf
├── images
├── alienArmada.json
├── alienArmada.png
├── blob.png
├── door.png
├── dungeon.png
├── explorer.png
├── flappyFairy
│ ├── 0.png
│ ├── 1.png
│ ├── 2.png
│ ├── 3.png
│ ├── down.png
│ ├── finish.png
│ ├── flappyFairy.json
│ ├── flappyFairy.png
│ ├── green.png
│ ├── greenBlock.png
│ ├── over.png
│ ├── pink.png
│ ├── sky.png
│ ├── title.png
│ ├── up.png
│ ├── violet.png
│ └── yellow.png
├── treasure.png
├── treasureHunter.json
└── treasureHunter.png
├── screenshots
├── 01.png
├── 02.png
├── 03.png
├── 04.png
├── 05.png
├── 06.png
├── 07.png
├── 08.png
├── 09.png
├── 10.png
├── 11.png
├── 12.png
├── 13.png
├── 14.png
├── 15.png
├── 16.png
├── 17.png
├── 18.png
├── 19.png
├── 20.png
├── 21.png
├── 22.png
├── 23.png
├── 24.png
├── 25.png
├── 26.png
├── 27.png
├── 28.png
├── 29.png
├── gaLogo_Square.png
└── logoAndIllustration.png
├── sounds
├── chimes.wav
├── explosion.mp3
├── music.mp3
└── shoot.mp3
└── texturePackerFiles
└── flappyFairy.tps
/.gitignore:
--------------------------------------------------------------------------------
1 | /node_modules/
2 | *.min.js
3 | *.map
4 |
--------------------------------------------------------------------------------
/Gruntfile.js:
--------------------------------------------------------------------------------
1 | module.exports = function(grunt) {
2 | grunt.loadNpmTasks('grunt-contrib-uglify');
3 | grunt.initConfig({
4 | uglify: {
5 | options: {
6 | sourceMap: true
7 | },
8 | target1: {
9 | src: 'ga.js',
10 | dest: 'ga.min.js'
11 | },
12 | target2: {
13 | src: 'plugins.js',
14 | dest: 'plugins.min.js'
15 | }
16 | }
17 | });
18 | grunt.registerTask('default', ['uglify']);
19 | };
20 |
--------------------------------------------------------------------------------
/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ga",
3 | "dependencies": {},
4 | "devDependencies": {},
5 | "main": [
6 | "ga.js",
7 | "plugins.js"
8 | ],
9 | "ignore": [
10 | "**/.*",
11 | "tutorials",
12 | "examples",
13 | "src",
14 | "Gruntfile.js"
15 | ]
16 | }
17 |
--------------------------------------------------------------------------------
/examples/01_helloWorld.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Hello, world!
4 |
5 |
6 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/examples/02_basicDisplayElements.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Basic display elements
4 |
5 |
6 |
7 |
240 |
241 |
--------------------------------------------------------------------------------
/examples/03_masking.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Masking
4 |
5 |
6 |
7 |
75 |
76 |
77 |
--------------------------------------------------------------------------------
/examples/04_bouncingBall.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Bouncing ball
4 |
5 |
6 |
7 |
145 |
146 |
147 |
148 |
--------------------------------------------------------------------------------
/examples/05_keyboardMovement.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Keyboard movement
4 |
5 |
6 |
7 |
182 |
183 |
--------------------------------------------------------------------------------
/examples/06_pointerProperties.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Pointer properties
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
69 |
70 |
71 |
72 |
73 |
--------------------------------------------------------------------------------
/examples/07_parentsAndChildren.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Parents and children
4 |
5 |
6 |
7 |
171 |
172 |
173 |
--------------------------------------------------------------------------------
/examples/08_scenesAndTweening.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Basic display elements
4 |
5 |
6 |
7 |
184 |
185 |
--------------------------------------------------------------------------------
/examples/09_keyframeAnimation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Keyframe animation
4 |
5 |
6 |
7 |
103 |
104 |
--------------------------------------------------------------------------------
/examples/10_keyframeAnimationImages.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Keyframe animation
4 |
5 |
6 |
7 |
107 |
108 |
--------------------------------------------------------------------------------
/examples/11_textureAtlasAnimation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Texture atlas animation
4 |
5 |
6 |
7 |
107 |
108 |
--------------------------------------------------------------------------------
/examples/12_animationStates.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Animtation states
4 |
5 |
6 |
145 |
146 |
--------------------------------------------------------------------------------
/examples/13_particles.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Particles
4 |
5 | Click the canvas to make stars
6 |
7 |
8 |
109 |
110 |
111 |
--------------------------------------------------------------------------------
/examples/14_particleEmitter.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Particle emitter
4 |
5 | Click and hold to emit a constant particle stream
6 |
7 |
8 |
69 |
70 |
71 |
--------------------------------------------------------------------------------
/examples/15_tilingSprite.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Tiling sprites
4 |
5 |
6 |
7 |
57 |
58 |
59 |
--------------------------------------------------------------------------------
/examples/16_buttons.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Buttons
4 |
5 |
6 |
88 |
89 |
--------------------------------------------------------------------------------
/examples/17_textureAtlasButton.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Texture atlas buttons
4 |
5 |
6 |
76 |
77 |
78 |
--------------------------------------------------------------------------------
/examples/18_sounds.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Sounds
4 |
5 |
6 |
7 |
210 |
211 |
--------------------------------------------------------------------------------
/examples/19_dragAndDrop.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Drag and drop
4 |
5 |
6 |
60 |
61 |
--------------------------------------------------------------------------------
/examples/20_tweening.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Tweening
4 |
5 |
6 |
7 |
168 |
169 |
--------------------------------------------------------------------------------
/examples/21_followPaths.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Tweening
4 |
5 |
6 |
7 |
93 |
94 |
--------------------------------------------------------------------------------
/examples/22_shootingBullets.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Shooting bullets
4 |
5 |
6 |
7 |
118 |
119 |
120 |
--------------------------------------------------------------------------------
/examples/23_spaceshipVehicle.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Spaceship vehicle
4 |
5 |
6 |
7 |
124 |
125 |
126 |
--------------------------------------------------------------------------------
/examples/24_tankVehicle.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Tank vehicle
4 |
5 |
6 |
7 |
130 |
131 |
132 |
133 |
--------------------------------------------------------------------------------
/examples/25_pointCollision.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Point collision
4 |
5 |
6 |
7 |
89 |
90 |
91 |
--------------------------------------------------------------------------------
/examples/26_circleCollision.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Circle collision
4 |
5 |
6 |
7 |
76 |
77 |
78 |
--------------------------------------------------------------------------------
/examples/27_rectangleCollision.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Rectangle collision
4 |
5 |
6 |
7 |
75 |
76 |
77 |
--------------------------------------------------------------------------------
/examples/28_rectangleCircleCollision.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Rectangle circle collision
4 |
5 |
6 |
7 |
75 |
76 |
77 |
78 |
--------------------------------------------------------------------------------
/examples/29_pegs.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Pegs
4 |
5 |
6 |
7 |
162 |
163 |
164 |
--------------------------------------------------------------------------------
/examples/30_bricks.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Bricks
4 |
5 |
6 |
7 |
168 |
169 |
170 |
171 |
--------------------------------------------------------------------------------
/examples/31_marbles.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Marbles
4 |
5 | Press, drag and release to shoot a marble
6 |
7 |
8 |
179 |
180 |
181 |
--------------------------------------------------------------------------------
/examples/32_blockRectangles.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Block rectangles
4 |
5 |
6 |
7 |
8 |
86 |
87 |
88 |
89 |
--------------------------------------------------------------------------------
/examples/35_tiledEditorSupport.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Tiled editor support
4 |
5 |
6 |
7 |
233 |
234 |
--------------------------------------------------------------------------------
/examples/fonts/PetMe64.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/fonts/PetMe64.ttf
--------------------------------------------------------------------------------
/examples/fonts/puzzler.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/fonts/puzzler.otf
--------------------------------------------------------------------------------
/examples/images/animals.json:
--------------------------------------------------------------------------------
1 | {"frames": {
2 |
3 | "cat.png":
4 | {
5 | "frame": {"x":2,"y":262,"w":128,"h":128},
6 | "rotated": false,
7 | "trimmed": false,
8 | "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128},
9 | "sourceSize": {"w":128,"h":128}
10 | },
11 | "hedgehog.png":
12 | {
13 | "frame": {"x":2,"y":132,"w":128,"h":128},
14 | "rotated": false,
15 | "trimmed": false,
16 | "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128},
17 | "sourceSize": {"w":128,"h":128}
18 | },
19 | "tiger.png":
20 | {
21 | "frame": {"x":2,"y":2,"w":128,"h":128},
22 | "rotated": false,
23 | "trimmed": false,
24 | "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128},
25 | "sourceSize": {"w":128,"h":128}
26 | }},
27 | "meta": {
28 | "app": "http://www.codeandweb.com/texturepacker ",
29 | "version": "1.0",
30 | "image": "animals.png",
31 | "format": "RGBA8888",
32 | "size": {"w":256,"h":512},
33 | "scale": "1",
34 | "smartupdate": "$TexturePacker:SmartUpdate:f74fa155840ae7739785137739d5e23d:06a75246a1a4b65f2beacae47a5e81d7:b00d48b51f56eb7c81e25100fcce2828$"
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/examples/images/animals.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/animals.png
--------------------------------------------------------------------------------
/examples/images/blixyiiTileset.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/blixyiiTileset.png
--------------------------------------------------------------------------------
/examples/images/blixyiiUI.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/blixyiiUI.png
--------------------------------------------------------------------------------
/examples/images/bloxyee/ball.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/bloxyee/ball.png
--------------------------------------------------------------------------------
/examples/images/bloxyee/bloxyee.json:
--------------------------------------------------------------------------------
1 | {"frames": {
2 |
3 | "ball.png":
4 | {
5 | "frame": {"x":2,"y":2,"w":18,"h":18},
6 | "rotated": false,
7 | "trimmed": false,
8 | "spriteSourceSize": {"x":0,"y":0,"w":18,"h":18},
9 | "sourceSize": {"w":18,"h":18},
10 | "pivot": {"x":0.5,"y":0.5}
11 | },
12 | "blue.png":
13 | {
14 | "frame": {"x":254,"y":2,"w":64,"h":64},
15 | "rotated": false,
16 | "trimmed": false,
17 | "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64},
18 | "sourceSize": {"w":64,"h":64},
19 | "pivot": {"x":0.5,"y":0.5}
20 | },
21 | "down.png":
22 | {
23 | "frame": {"x":2,"y":68,"w":192,"h":96},
24 | "rotated": false,
25 | "trimmed": false,
26 | "spriteSourceSize": {"x":0,"y":0,"w":192,"h":96},
27 | "sourceSize": {"w":192,"h":96},
28 | "pivot": {"x":0.5,"y":0.5}
29 | },
30 | "green.png":
31 | {
32 | "frame": {"x":320,"y":2,"w":64,"h":64},
33 | "rotated": false,
34 | "trimmed": false,
35 | "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64},
36 | "sourceSize": {"w":64,"h":64},
37 | "pivot": {"x":0.5,"y":0.5}
38 | },
39 | "orange.png":
40 | {
41 | "frame": {"x":122,"y":2,"w":64,"h":64},
42 | "rotated": false,
43 | "trimmed": false,
44 | "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64},
45 | "sourceSize": {"w":64,"h":64},
46 | "pivot": {"x":0.5,"y":0.5}
47 | },
48 | "over.png":
49 | {
50 | "frame": {"x":2,"y":166,"w":192,"h":96},
51 | "rotated": false,
52 | "trimmed": false,
53 | "spriteSourceSize": {"x":0,"y":0,"w":192,"h":96},
54 | "sourceSize": {"w":192,"h":96},
55 | "pivot": {"x":0.5,"y":0.5}
56 | },
57 | "paddle.png":
58 | {
59 | "frame": {"x":386,"y":2,"w":96,"h":18},
60 | "rotated": false,
61 | "trimmed": false,
62 | "spriteSourceSize": {"x":0,"y":0,"w":96,"h":18},
63 | "sourceSize": {"w":96,"h":18},
64 | "pivot": {"x":0.5,"y":0.5}
65 | },
66 | "red.png":
67 | {
68 | "frame": {"x":56,"y":2,"w":64,"h":64},
69 | "rotated": false,
70 | "trimmed": false,
71 | "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64},
72 | "sourceSize": {"w":64,"h":64},
73 | "pivot": {"x":0.5,"y":0.5}
74 | },
75 | "star.png":
76 | {
77 | "frame": {"x":22,"y":2,"w":32,"h":32},
78 | "rotated": false,
79 | "trimmed": false,
80 | "spriteSourceSize": {"x":0,"y":0,"w":32,"h":32},
81 | "sourceSize": {"w":32,"h":32},
82 | "pivot": {"x":0.5,"y":0.5}
83 | },
84 | "title.png":
85 | {
86 | "frame": {"x":2,"y":264,"w":512,"h":512},
87 | "rotated": false,
88 | "trimmed": false,
89 | "spriteSourceSize": {"x":0,"y":0,"w":512,"h":512},
90 | "sourceSize": {"w":512,"h":512},
91 | "pivot": {"x":0.5,"y":0.5}
92 | },
93 | "up.png":
94 | {
95 | "frame": {"x":196,"y":68,"w":192,"h":96},
96 | "rotated": false,
97 | "trimmed": false,
98 | "spriteSourceSize": {"x":0,"y":0,"w":192,"h":96},
99 | "sourceSize": {"w":192,"h":96},
100 | "pivot": {"x":0.5,"y":0.5}
101 | },
102 | "violet.png":
103 | {
104 | "frame": {"x":188,"y":2,"w":64,"h":64},
105 | "rotated": false,
106 | "trimmed": false,
107 | "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64},
108 | "sourceSize": {"w":64,"h":64},
109 | "pivot": {"x":0.5,"y":0.5}
110 | }},
111 | "meta": {
112 | "app": "http://www.codeandweb.com/texturepacker",
113 | "version": "1.0",
114 | "image": "bloxyee.png",
115 | "format": "RGBA8888",
116 | "size": {"w":516,"h":778},
117 | "scale": "1",
118 | "smartupdate": "$TexturePacker:SmartUpdate:69a3eaaa37bd3a4f6be32a8380412e0d:461b4362d2b33cf0a01bf854b06e5212:f264188b89db952e7958fe42d205b088$"
119 | }
120 | }
121 |
--------------------------------------------------------------------------------
/examples/images/bloxyee/bloxyee.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/bloxyee/bloxyee.png
--------------------------------------------------------------------------------
/examples/images/bloxyee/blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/bloxyee/blue.png
--------------------------------------------------------------------------------
/examples/images/bloxyee/down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/bloxyee/down.png
--------------------------------------------------------------------------------
/examples/images/bloxyee/green.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/bloxyee/green.png
--------------------------------------------------------------------------------
/examples/images/bloxyee/orange.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/bloxyee/orange.png
--------------------------------------------------------------------------------
/examples/images/bloxyee/over.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/bloxyee/over.png
--------------------------------------------------------------------------------
/examples/images/bloxyee/paddle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/bloxyee/paddle.png
--------------------------------------------------------------------------------
/examples/images/bloxyee/red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/bloxyee/red.png
--------------------------------------------------------------------------------
/examples/images/bloxyee/star.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/bloxyee/star.png
--------------------------------------------------------------------------------
/examples/images/bloxyee/title.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/bloxyee/title.png
--------------------------------------------------------------------------------
/examples/images/bloxyee/up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/bloxyee/up.png
--------------------------------------------------------------------------------
/examples/images/bloxyee/violet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/bloxyee/violet.png
--------------------------------------------------------------------------------
/examples/images/button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/button.png
--------------------------------------------------------------------------------
/examples/images/button2.json:
--------------------------------------------------------------------------------
1 | {
2 | "frames": {
3 |
4 | "down.png": {
5 | "frame": {
6 | "x": 2,
7 | "y": 2,
8 | "w": 192,
9 | "h": 96
10 | },
11 | "rotated": false,
12 | "trimmed": false,
13 | "spriteSourceSize": {
14 | "x": 0,
15 | "y": 0,
16 | "w": 192,
17 | "h": 96
18 | },
19 | "sourceSize": {
20 | "w": 192,
21 | "h": 96
22 | }
23 | },
24 | "over.png": {
25 | "frame": {
26 | "x": 2,
27 | "y": 100,
28 | "w": 192,
29 | "h": 96
30 | },
31 | "rotated": false,
32 | "trimmed": false,
33 | "spriteSourceSize": {
34 | "x": 0,
35 | "y": 0,
36 | "w": 192,
37 | "h": 96
38 | },
39 | "sourceSize": {
40 | "w": 192,
41 | "h": 96
42 | }
43 | },
44 | "up.png": {
45 | "frame": {
46 | "x": 2,
47 | "y": 198,
48 | "w": 192,
49 | "h": 96
50 | },
51 | "rotated": false,
52 | "trimmed": false,
53 | "spriteSourceSize": {
54 | "x": 0,
55 | "y": 0,
56 | "w": 192,
57 | "h": 96
58 | },
59 | "sourceSize": {
60 | "w": 192,
61 | "h": 96
62 | }
63 | }
64 | },
65 | "meta": {
66 | "app": "http://www.codeandweb.com/texturepacker ",
67 | "version": "1.0",
68 | "image": "button2.png",
69 | "format": "RGBA8888",
70 | "size": {
71 | "w": 256,
72 | "h": 512
73 | },
74 | "scale": "1",
75 | "smartupdate": "$TexturePacker:SmartUpdate:7a0343ada6d31f78511c0b77b8da6efa:879e99d58591d2495b4355ec40d3e079:c39245c3a59c1712d97d26c862b4cbc5$"
76 | }
77 | }
--------------------------------------------------------------------------------
/examples/images/button2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/button2.png
--------------------------------------------------------------------------------
/examples/images/buttonFairy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/buttonFairy.png
--------------------------------------------------------------------------------
/examples/images/buttonFairy/0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/buttonFairy/0.png
--------------------------------------------------------------------------------
/examples/images/buttonFairy/1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/buttonFairy/1.png
--------------------------------------------------------------------------------
/examples/images/buttonFairy/2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/buttonFairy/2.png
--------------------------------------------------------------------------------
/examples/images/buttonFairy/3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/buttonFairy/3.png
--------------------------------------------------------------------------------
/examples/images/cat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/cat.png
--------------------------------------------------------------------------------
/examples/images/fairy.json:
--------------------------------------------------------------------------------
1 | {"frames": {
2 |
3 | "0.png":
4 | {
5 | "frame": {"x":2,"y":70,"w":48,"h":32},
6 | "rotated": false,
7 | "trimmed": false,
8 | "spriteSourceSize": {"x":0,"y":0,"w":48,"h":32},
9 | "sourceSize": {"w":48,"h":32}
10 | },
11 | "1.png":
12 | {
13 | "frame": {"x":2,"y":36,"w":48,"h":32},
14 | "rotated": false,
15 | "trimmed": false,
16 | "spriteSourceSize": {"x":0,"y":0,"w":48,"h":32},
17 | "sourceSize": {"w":48,"h":32}
18 | },
19 | "2.png":
20 | {
21 | "frame": {"x":52,"y":2,"w":48,"h":32},
22 | "rotated": false,
23 | "trimmed": false,
24 | "spriteSourceSize": {"x":0,"y":0,"w":48,"h":32},
25 | "sourceSize": {"w":48,"h":32}
26 | },
27 | "3.png":
28 | {
29 | "frame": {"x":2,"y":2,"w":48,"h":32},
30 | "rotated": false,
31 | "trimmed": false,
32 | "spriteSourceSize": {"x":0,"y":0,"w":48,"h":32},
33 | "sourceSize": {"w":48,"h":32}
34 | }},
35 | "meta": {
36 | "app": "http://www.codeandweb.com/texturepacker ",
37 | "version": "1.0",
38 | "image": "fairy.png",
39 | "format": "RGBA8888",
40 | "size": {"w":128,"h":128},
41 | "scale": "1",
42 | "smartupdate": "$TexturePacker:SmartUpdate:2a1b01ae9e710613d1f5f4854353eb16:8563fc1bba2d2eed346a0245aa1126ad:f30cbba2f5db7260871a5426cffc03ac$"
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/examples/images/fairy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/fairy.png
--------------------------------------------------------------------------------
/examples/images/fantasy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/fantasy.png
--------------------------------------------------------------------------------
/examples/images/forest.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/forest.png
--------------------------------------------------------------------------------
/examples/images/hedgehog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/hedgehog.png
--------------------------------------------------------------------------------
/examples/images/marbles.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/marbles.png
--------------------------------------------------------------------------------
/examples/images/platforms.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/platforms.png
--------------------------------------------------------------------------------
/examples/images/rocket.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/rocket.png
--------------------------------------------------------------------------------
/examples/images/star.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/star.png
--------------------------------------------------------------------------------
/examples/images/tiger.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/tiger.png
--------------------------------------------------------------------------------
/examples/images/tile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/tile.png
--------------------------------------------------------------------------------
/examples/images/timeBombPanic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/timeBombPanic.png
--------------------------------------------------------------------------------
/examples/images/walkcycle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/images/walkcycle.png
--------------------------------------------------------------------------------
/examples/maps/fantasy.tmx:
--------------------------------------------------------------------------------
1 |
2 |
54 |
--------------------------------------------------------------------------------
/examples/maps/timeBombPanic.json:
--------------------------------------------------------------------------------
1 | { "backgroundcolor":"#ffffff",
2 | "height":8,
3 | "layers":[
4 | {
5 | "data":[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
6 | "height":8,
7 | "name":"backgroudLayer",
8 | "opacity":1,
9 | "type":"tilelayer",
10 | "visible":true,
11 | "width":8,
12 | "x":0,
13 | "y":0
14 | },
15 | {
16 | "data":[2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 3, 0, 2, 2, 0, 3, 0, 0, 0, 0, 2, 2, 0, 3, 3, 0, 0, 3, 2, 2, 0, 0, 0, 0, 0, 0, 2, 2, 0, 3, 3, 0, 3, 0, 2, 2, 0, 0, 3, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2],
17 | "height":8,
18 | "name":"wallLayer",
19 | "opacity":1,
20 | "type":"tilelayer",
21 | "visible":true,
22 | "width":8,
23 | "x":0,
24 | "y":0
25 | },
26 | {
27 | "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
28 | "height":8,
29 | "name":"bombLayer",
30 | "opacity":1,
31 | "type":"tilelayer",
32 | "visible":true,
33 | "width":8,
34 | "x":0,
35 | "y":0
36 | },
37 | {
38 | "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
39 | "height":8,
40 | "name":"alienLayer",
41 | "opacity":1,
42 | "type":"tilelayer",
43 | "visible":true,
44 | "width":8,
45 | "x":0,
46 | "y":0
47 | }],
48 | "orientation":"orthogonal",
49 | "properties":
50 | {
51 |
52 | },
53 | "tileheight":64,
54 | "tilesets":[
55 | {
56 | "firstgid":1,
57 | "image":"..\/..\/chapter03\/images\/timeBombPanic.png",
58 | "imageheight":419,
59 | "imagewidth":320,
60 | "margin":0,
61 | "name":"timeBombPanic",
62 | "properties":
63 | {
64 |
65 | },
66 | "spacing":0,
67 | "tileheight":64,
68 | "tileproperties":
69 | {
70 | "3":
71 | {
72 | "name":"alien"
73 | },
74 | "4":
75 | {
76 | "name":"bomb"
77 | }
78 | },
79 | "tilewidth":64
80 | }],
81 | "tilewidth":64,
82 | "version":1,
83 | "width":8
84 | }
--------------------------------------------------------------------------------
/examples/maps/timeBombPanic.tmx:
--------------------------------------------------------------------------------
1 |
2 |
65 |
--------------------------------------------------------------------------------
/examples/sounds/bounce.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/sounds/bounce.wav
--------------------------------------------------------------------------------
/examples/sounds/explosion.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/sounds/explosion.wav
--------------------------------------------------------------------------------
/examples/sounds/music.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/sounds/music.wav
--------------------------------------------------------------------------------
/examples/sounds/shoot.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/examples/sounds/shoot.wav
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Ga!",
3 | "version": "0.0.1",
4 | "description": "The world's tiniest, cutest and funnest game engine",
5 | "main": "ga.js",
6 | "directories": {
7 | "example": "examples"
8 | },
9 | "scripts": {
10 | "test": "echo \"Error: no test specified\" && exit 1"
11 | },
12 | "keywords": [
13 | "Javascript",
14 | "Game Engine"
15 | ],
16 | "author": "Rex van der Spuy",
17 | "license": "Ga is vehemently unlicenesed",
18 | "bugs": "https://github.com/kittykatattack/ga/issues",
19 | "repository": {
20 | "type": "git",
21 | "url": "https://github.com/kittykatattack/ga.git"
22 | },
23 | "devDependencies": {
24 | "grunt": "^0.4.5",
25 | "grunt-contrib-uglify": "^0.8.0"
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/tutorials/01_treasureHunter.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Treasure hunter enhanced
4 |
5 |
6 |
7 |
8 |
276 |
277 |
--------------------------------------------------------------------------------
/tutorials/02_treasureHunterImages.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Treasure Hunter with Images
4 |
5 |
6 |
7 |
8 |
292 |
293 |
294 |
--------------------------------------------------------------------------------
/tutorials/03_treasureHunterAtlas.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Treasure Hunter using a Texture Atlas
4 |
5 |
6 |
7 |
8 |
284 |
285 |
286 |
287 |
--------------------------------------------------------------------------------
/tutorials/fonts/emulogic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/fonts/emulogic.ttf
--------------------------------------------------------------------------------
/tutorials/images/alienArmada.json:
--------------------------------------------------------------------------------
1 | {"frames": {
2 |
3 | "alien.png":
4 | {
5 | "frame": {"x":54,"y":2,"w":32,"h":32},
6 | "rotated": false,
7 | "trimmed": false,
8 | "spriteSourceSize": {"x":0,"y":0,"w":32,"h":32},
9 | "sourceSize": {"w":32,"h":32},
10 | "pivot": {"x":0.5,"y":0.5}
11 | },
12 | "background.png":
13 | {
14 | "frame": {"x":2,"y":36,"w":480,"h":320},
15 | "rotated": false,
16 | "trimmed": false,
17 | "spriteSourceSize": {"x":0,"y":0,"w":480,"h":320},
18 | "sourceSize": {"w":480,"h":320},
19 | "pivot": {"x":0.5,"y":0.5}
20 | },
21 | "bullet.png":
22 | {
23 | "frame": {"x":2,"y":2,"w":16,"h":16},
24 | "rotated": false,
25 | "trimmed": false,
26 | "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16},
27 | "sourceSize": {"w":16,"h":16},
28 | "pivot": {"x":0.5,"y":0.5}
29 | },
30 | "cannon.png":
31 | {
32 | "frame": {"x":20,"y":2,"w":32,"h":32},
33 | "rotated": false,
34 | "trimmed": false,
35 | "spriteSourceSize": {"x":0,"y":0,"w":32,"h":32},
36 | "sourceSize": {"w":32,"h":32},
37 | "pivot": {"x":0.5,"y":0.5}
38 | },
39 | "explosion.png":
40 | {
41 | "frame": {"x":88,"y":2,"w":32,"h":32},
42 | "rotated": false,
43 | "trimmed": false,
44 | "spriteSourceSize": {"x":0,"y":0,"w":32,"h":32},
45 | "sourceSize": {"w":32,"h":32},
46 | "pivot": {"x":0.5,"y":0.5}
47 | }},
48 | "meta": {
49 | "app": "http://www.codeandweb.com/texturepacker",
50 | "version": "1.0",
51 | "image": "alienArmada.png",
52 | "format": "RGBA8888",
53 | "size": {"w":484,"h":358},
54 | "scale": "1",
55 | "smartupdate": "$TexturePacker:SmartUpdate:16b18becd02b596aef94399796a6b6d5:0ab1b4c981f378c96b70d514e3ca748a:628d142d38afb2c4157433c90a55ef2b$"
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/tutorials/images/alienArmada.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/images/alienArmada.png
--------------------------------------------------------------------------------
/tutorials/images/blob.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/images/blob.png
--------------------------------------------------------------------------------
/tutorials/images/door.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/images/door.png
--------------------------------------------------------------------------------
/tutorials/images/dungeon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/images/dungeon.png
--------------------------------------------------------------------------------
/tutorials/images/explorer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/images/explorer.png
--------------------------------------------------------------------------------
/tutorials/images/flappyFairy/0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/images/flappyFairy/0.png
--------------------------------------------------------------------------------
/tutorials/images/flappyFairy/1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/images/flappyFairy/1.png
--------------------------------------------------------------------------------
/tutorials/images/flappyFairy/2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/images/flappyFairy/2.png
--------------------------------------------------------------------------------
/tutorials/images/flappyFairy/3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/images/flappyFairy/3.png
--------------------------------------------------------------------------------
/tutorials/images/flappyFairy/down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/images/flappyFairy/down.png
--------------------------------------------------------------------------------
/tutorials/images/flappyFairy/finish.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/images/flappyFairy/finish.png
--------------------------------------------------------------------------------
/tutorials/images/flappyFairy/flappyFairy.json:
--------------------------------------------------------------------------------
1 | {"frames": {
2 |
3 | "0.png":
4 | {
5 | "frame": {"x":2,"y":2,"w":48,"h":32},
6 | "rotated": false,
7 | "trimmed": false,
8 | "spriteSourceSize": {"x":0,"y":0,"w":48,"h":32},
9 | "sourceSize": {"w":48,"h":32},
10 | "pivot": {"x":0.5,"y":0.5}
11 | },
12 | "1.png":
13 | {
14 | "frame": {"x":52,"y":2,"w":48,"h":32},
15 | "rotated": false,
16 | "trimmed": false,
17 | "spriteSourceSize": {"x":0,"y":0,"w":48,"h":32},
18 | "sourceSize": {"w":48,"h":32},
19 | "pivot": {"x":0.5,"y":0.5}
20 | },
21 | "2.png":
22 | {
23 | "frame": {"x":102,"y":2,"w":48,"h":32},
24 | "rotated": false,
25 | "trimmed": false,
26 | "spriteSourceSize": {"x":0,"y":0,"w":48,"h":32},
27 | "sourceSize": {"w":48,"h":32},
28 | "pivot": {"x":0.5,"y":0.5}
29 | },
30 | "3.png":
31 | {
32 | "frame": {"x":152,"y":2,"w":48,"h":32},
33 | "rotated": false,
34 | "trimmed": false,
35 | "spriteSourceSize": {"x":0,"y":0,"w":48,"h":32},
36 | "sourceSize": {"w":48,"h":32},
37 | "pivot": {"x":0.5,"y":0.5}
38 | },
39 | "down.png":
40 | {
41 | "frame": {"x":202,"y":2,"w":148,"h":148},
42 | "rotated": false,
43 | "trimmed": false,
44 | "spriteSourceSize": {"x":0,"y":0,"w":148,"h":148},
45 | "sourceSize": {"w":148,"h":148},
46 | "pivot": {"x":0.5,"y":0.5}
47 | },
48 | "finish.png":
49 | {
50 | "frame": {"x":352,"y":2,"w":377,"h":128},
51 | "rotated": false,
52 | "trimmed": false,
53 | "spriteSourceSize": {"x":0,"y":0,"w":377,"h":128},
54 | "sourceSize": {"w":377,"h":128},
55 | "pivot": {"x":0.5,"y":0.5}
56 | },
57 | "green.png":
58 | {
59 | "frame": {"x":731,"y":2,"w":32,"h":32},
60 | "rotated": false,
61 | "trimmed": false,
62 | "spriteSourceSize": {"x":0,"y":0,"w":32,"h":32},
63 | "sourceSize": {"w":32,"h":32},
64 | "pivot": {"x":0.5,"y":0.5}
65 | },
66 | "greenBlock.png":
67 | {
68 | "frame": {"x":2,"y":152,"w":64,"h":64},
69 | "rotated": false,
70 | "trimmed": false,
71 | "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64},
72 | "sourceSize": {"w":64,"h":64},
73 | "pivot": {"x":0.5,"y":0.5}
74 | },
75 | "over.png":
76 | {
77 | "frame": {"x":68,"y":152,"w":148,"h":148},
78 | "rotated": false,
79 | "trimmed": false,
80 | "spriteSourceSize": {"x":0,"y":0,"w":148,"h":148},
81 | "sourceSize": {"w":148,"h":148},
82 | "pivot": {"x":0.5,"y":0.5}
83 | },
84 | "pink.png":
85 | {
86 | "frame": {"x":218,"y":152,"w":32,"h":32},
87 | "rotated": false,
88 | "trimmed": false,
89 | "spriteSourceSize": {"x":0,"y":0,"w":32,"h":32},
90 | "sourceSize": {"w":32,"h":32},
91 | "pivot": {"x":0.5,"y":0.5}
92 | },
93 | "sky.png":
94 | {
95 | "frame": {"x":252,"y":152,"w":512,"h":512},
96 | "rotated": false,
97 | "trimmed": false,
98 | "spriteSourceSize": {"x":0,"y":0,"w":512,"h":512},
99 | "sourceSize": {"w":512,"h":512},
100 | "pivot": {"x":0.5,"y":0.5}
101 | },
102 | "title.png":
103 | {
104 | "frame": {"x":2,"y":666,"w":505,"h":336},
105 | "rotated": false,
106 | "trimmed": false,
107 | "spriteSourceSize": {"x":0,"y":0,"w":505,"h":336},
108 | "sourceSize": {"w":505,"h":336},
109 | "pivot": {"x":0.5,"y":0.5}
110 | },
111 | "up.png":
112 | {
113 | "frame": {"x":509,"y":666,"w":148,"h":148},
114 | "rotated": false,
115 | "trimmed": false,
116 | "spriteSourceSize": {"x":0,"y":0,"w":148,"h":148},
117 | "sourceSize": {"w":148,"h":148},
118 | "pivot": {"x":0.5,"y":0.5}
119 | },
120 | "violet.png":
121 | {
122 | "frame": {"x":659,"y":666,"w":32,"h":32},
123 | "rotated": false,
124 | "trimmed": false,
125 | "spriteSourceSize": {"x":0,"y":0,"w":32,"h":32},
126 | "sourceSize": {"w":32,"h":32},
127 | "pivot": {"x":0.5,"y":0.5}
128 | },
129 | "yellow.png":
130 | {
131 | "frame": {"x":693,"y":666,"w":32,"h":32},
132 | "rotated": false,
133 | "trimmed": false,
134 | "spriteSourceSize": {"x":0,"y":0,"w":32,"h":32},
135 | "sourceSize": {"w":32,"h":32},
136 | "pivot": {"x":0.5,"y":0.5}
137 | }},
138 | "meta": {
139 | "app": "http://www.codeandweb.com/texturepacker",
140 | "version": "1.0",
141 | "image": "flappyFairy.png",
142 | "format": "RGBA8888",
143 | "size": {"w":766,"h":1004},
144 | "scale": "1",
145 | "smartupdate": "$TexturePacker:SmartUpdate:2906d3074cfcf68e96f1b18b53bc3b79:3c35f35b528dbbbfbb2b2c2b719ff35c:67241e3589c96882eb3778335ed29531$"
146 | }
147 | }
148 |
--------------------------------------------------------------------------------
/tutorials/images/flappyFairy/flappyFairy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/images/flappyFairy/flappyFairy.png
--------------------------------------------------------------------------------
/tutorials/images/flappyFairy/green.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/images/flappyFairy/green.png
--------------------------------------------------------------------------------
/tutorials/images/flappyFairy/greenBlock.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/images/flappyFairy/greenBlock.png
--------------------------------------------------------------------------------
/tutorials/images/flappyFairy/over.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/images/flappyFairy/over.png
--------------------------------------------------------------------------------
/tutorials/images/flappyFairy/pink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/images/flappyFairy/pink.png
--------------------------------------------------------------------------------
/tutorials/images/flappyFairy/sky.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/images/flappyFairy/sky.png
--------------------------------------------------------------------------------
/tutorials/images/flappyFairy/title.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/images/flappyFairy/title.png
--------------------------------------------------------------------------------
/tutorials/images/flappyFairy/up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/images/flappyFairy/up.png
--------------------------------------------------------------------------------
/tutorials/images/flappyFairy/violet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/images/flappyFairy/violet.png
--------------------------------------------------------------------------------
/tutorials/images/flappyFairy/yellow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/images/flappyFairy/yellow.png
--------------------------------------------------------------------------------
/tutorials/images/treasure.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/images/treasure.png
--------------------------------------------------------------------------------
/tutorials/images/treasureHunter.json:
--------------------------------------------------------------------------------
1 | {"frames": {
2 |
3 | "blob.png":
4 | {
5 | "frame": {"x":55,"y":2,"w":32,"h":24},
6 | "rotated": false,
7 | "trimmed": false,
8 | "spriteSourceSize": {"x":0,"y":0,"w":32,"h":24},
9 | "sourceSize": {"w":32,"h":24},
10 | "pivot": {"x":0.5,"y":0.5}
11 | },
12 | "door.png":
13 | {
14 | "frame": {"x":89,"y":2,"w":32,"h":32},
15 | "rotated": false,
16 | "trimmed": false,
17 | "spriteSourceSize": {"x":0,"y":0,"w":32,"h":32},
18 | "sourceSize": {"w":32,"h":32},
19 | "pivot": {"x":0.5,"y":0.5}
20 | },
21 | "dungeon.png":
22 | {
23 | "frame": {"x":2,"y":36,"w":512,"h":512},
24 | "rotated": false,
25 | "trimmed": false,
26 | "spriteSourceSize": {"x":0,"y":0,"w":512,"h":512},
27 | "sourceSize": {"w":512,"h":512},
28 | "pivot": {"x":0.5,"y":0.5}
29 | },
30 | "explorer.png":
31 | {
32 | "frame": {"x":2,"y":2,"w":21,"h":32},
33 | "rotated": false,
34 | "trimmed": false,
35 | "spriteSourceSize": {"x":0,"y":0,"w":21,"h":32},
36 | "sourceSize": {"w":21,"h":32},
37 | "pivot": {"x":0.5,"y":0.5}
38 | },
39 | "treasure.png":
40 | {
41 | "frame": {"x":25,"y":2,"w":28,"h":24},
42 | "rotated": false,
43 | "trimmed": false,
44 | "spriteSourceSize": {"x":0,"y":0,"w":28,"h":24},
45 | "sourceSize": {"w":28,"h":24},
46 | "pivot": {"x":0.5,"y":0.5}
47 | }},
48 | "meta": {
49 | "app": "http://www.codeandweb.com/texturepacker",
50 | "version": "1.0",
51 | "image": "treasureHunter.png",
52 | "format": "RGBA8888",
53 | "size": {"w":516,"h":550},
54 | "scale": "1",
55 | "smartupdate": "$TexturePacker:SmartUpdate:054907cddd8a283d72efe71df591d647:3923663e59fb40b578d66a492a2cda2d:9995f8b4db1ac3cb75651b1542df8ee2$"
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/tutorials/images/treasureHunter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/images/treasureHunter.png
--------------------------------------------------------------------------------
/tutorials/screenshots/01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/01.png
--------------------------------------------------------------------------------
/tutorials/screenshots/02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/02.png
--------------------------------------------------------------------------------
/tutorials/screenshots/03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/03.png
--------------------------------------------------------------------------------
/tutorials/screenshots/04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/04.png
--------------------------------------------------------------------------------
/tutorials/screenshots/05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/05.png
--------------------------------------------------------------------------------
/tutorials/screenshots/06.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/06.png
--------------------------------------------------------------------------------
/tutorials/screenshots/07.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/07.png
--------------------------------------------------------------------------------
/tutorials/screenshots/08.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/08.png
--------------------------------------------------------------------------------
/tutorials/screenshots/09.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/09.png
--------------------------------------------------------------------------------
/tutorials/screenshots/10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/10.png
--------------------------------------------------------------------------------
/tutorials/screenshots/11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/11.png
--------------------------------------------------------------------------------
/tutorials/screenshots/12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/12.png
--------------------------------------------------------------------------------
/tutorials/screenshots/13.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/13.png
--------------------------------------------------------------------------------
/tutorials/screenshots/14.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/14.png
--------------------------------------------------------------------------------
/tutorials/screenshots/15.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/15.png
--------------------------------------------------------------------------------
/tutorials/screenshots/16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/16.png
--------------------------------------------------------------------------------
/tutorials/screenshots/17.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/17.png
--------------------------------------------------------------------------------
/tutorials/screenshots/18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/18.png
--------------------------------------------------------------------------------
/tutorials/screenshots/19.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/19.png
--------------------------------------------------------------------------------
/tutorials/screenshots/20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/20.png
--------------------------------------------------------------------------------
/tutorials/screenshots/21.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/21.png
--------------------------------------------------------------------------------
/tutorials/screenshots/22.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/22.png
--------------------------------------------------------------------------------
/tutorials/screenshots/23.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/23.png
--------------------------------------------------------------------------------
/tutorials/screenshots/24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/24.png
--------------------------------------------------------------------------------
/tutorials/screenshots/25.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/25.png
--------------------------------------------------------------------------------
/tutorials/screenshots/26.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/26.png
--------------------------------------------------------------------------------
/tutorials/screenshots/27.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/27.png
--------------------------------------------------------------------------------
/tutorials/screenshots/28.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/28.png
--------------------------------------------------------------------------------
/tutorials/screenshots/29.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/29.png
--------------------------------------------------------------------------------
/tutorials/screenshots/gaLogo_Square.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/gaLogo_Square.png
--------------------------------------------------------------------------------
/tutorials/screenshots/logoAndIllustration.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/screenshots/logoAndIllustration.png
--------------------------------------------------------------------------------
/tutorials/sounds/chimes.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/sounds/chimes.wav
--------------------------------------------------------------------------------
/tutorials/sounds/explosion.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/sounds/explosion.mp3
--------------------------------------------------------------------------------
/tutorials/sounds/music.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/sounds/music.mp3
--------------------------------------------------------------------------------
/tutorials/sounds/shoot.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kittykatattack/ga/28e76ee9c727c71237da9e5deea5f2dc15a51fad/tutorials/sounds/shoot.mp3
--------------------------------------------------------------------------------
/tutorials/texturePackerFiles/flappyFairy.tps:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | fileFormatVersion
5 | 3
6 | texturePackerVersion
7 | 3.6.0
8 | fileName
9 | /Users/rexvanderspuy/Drive/gitHub/up/ga/tutorials/texturePackerFiles/flappyFairy.tps
10 | autoSDSettings
11 |
12 |
13 | scale
14 | 1
15 | extension
16 |
17 | spriteFilter
18 |
19 | acceptFractionalValues
20 |
21 | maxTextureSize
22 |
23 | width
24 | -1
25 | height
26 | -1
27 |
28 |
29 |
30 | allowRotation
31 |
32 | premultiplyAlpha
33 |
34 | shapeDebug
35 |
36 | dpi
37 | 72
38 | dataFormat
39 | json
40 | textureFileName
41 | ../images/flappyFairy.png
42 | flipPVR
43 |
44 | pvrCompressionQuality
45 | PVR_QUALITY_NORMAL
46 | mipMapMinSize
47 | 32768
48 | etc1CompressionQuality
49 | ETC1_QUALITY_LOW_PERCEPTUAL
50 | dxtCompressionMode
51 | DXT_PERCEPTUAL
52 | jxrColorFormat
53 | JXR_YUV444
54 | jxrTrimFlexBits
55 | 0
56 | jxrCompressionLevel
57 | 0
58 | ditherType
59 | NearestNeighbour
60 | backgroundColor
61 | 0
62 | libGdx
63 |
64 | filtering
65 |
66 | x
67 | Linear
68 | y
69 | Linear
70 |
71 |
72 | shapePadding
73 | 2
74 | jpgQuality
75 | 80
76 | pngOptimizationLevel
77 | 0
78 | webpQualityLevel
79 | 101
80 | textureSubPath
81 |
82 | textureFormat
83 | png
84 | borderPadding
85 | 2
86 | maxTextureSize
87 |
88 | width
89 | 2048
90 | height
91 | 2048
92 |
93 | fixedTextureSize
94 |
95 | width
96 | -1
97 | height
98 | -1
99 |
100 | reduceBorderArtifacts
101 |
102 | algorithmSettings
103 |
104 | algorithm
105 | Basic
106 | freeSizeMode
107 | Best
108 | sizeConstraints
109 | AnySize
110 | forceSquared
111 |
112 | forceWordAligned
113 |
114 | maxRects
115 |
116 | heuristic
117 | Best
118 |
119 | basic
120 |
121 | sortBy
122 | Best
123 | order
124 | Ascending
125 |
126 |
127 | andEngine
128 |
129 | minFilter
130 | Linear
131 | packageName
132 | Texture
133 | wrap
134 |
135 | s
136 | Clamp
137 | t
138 | Clamp
139 |
140 | magFilter
141 | MagLinear
142 |
143 | dataFileNames
144 |
151 | multiPack
152 |
153 | forceIdenticalLayout
154 |
155 | outputFormat
156 | RGBA8888
157 | contentProtection
158 |
159 | key
160 |
161 |
162 | autoAliasEnabled
163 |
164 | trimSpriteNames
165 |
166 | prependSmartFolderName
167 |
168 | cleanTransparentPixels
169 |
170 | globalSpriteSettings
171 |
172 | scale
173 | 1
174 | scaleMode
175 | Smooth
176 | innerPadding
177 | 0
178 | extrude
179 | 0
180 | trimThreshold
181 | 1
182 | trimMode
183 | None
184 | heuristicMask
185 |
186 | pivotPoint
187 | Center
188 |
189 | fileList
190 |
191 | ../images/flappyFairy/0.png
192 | ../images/flappyFairy/1.png
193 | ../images/flappyFairy/2.png
194 | ../images/flappyFairy/3.png
195 | ../images/flappyFairy/down.png
196 | ../images/flappyFairy/finish.png
197 | ../images/flappyFairy/green.png
198 | ../images/flappyFairy/greenBlock.png
199 | ../images/flappyFairy/over.png
200 | ../images/flappyFairy/pink.png
201 | ../images/flappyFairy/title.png
202 | ../images/flappyFairy/up.png
203 | ../images/flappyFairy/violet.png
204 | ../images/flappyFairy/yellow.png
205 | ../images/flappyFairy/sky.png
206 |
207 | ignoreFileList
208 |
209 | replaceList
210 |
211 | ignoredWarnings
212 |
213 | commonDivisorX
214 | 1
215 | commonDivisorY
216 | 1
217 |
218 |
219 |
--------------------------------------------------------------------------------