Skip to content

Commit 23a62d6

Browse files
committed
Fixed examples, Updated readme
1 parent 8f00c57 commit 23a62d6

File tree

11 files changed

+155
-433
lines changed

11 files changed

+155
-433
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ This is the first public version of xna.js. WebGL library strongly inspired by X
33
The library is in the early stages. I'm writing it because I want to learn WebGL and create some demo. Still a lot to do here.
44

55
###Live demos:
6-
* 2D Lighting - http://xnajs.com/examples/02/
7-
* Mobile game prototype - http://xnajs.com/ld32/release/
6+
* Spritebatch - https://coderitual.github.io/xna.js/examples/simple/dist/
7+
![Basic](https://coderitual.github.io/xna.js/examples/images/basic.png)
8+
* Normalmap - https://coderitual.github.io/xna.js/examples/normal/dist/
9+
![Basic](https://coderitual.github.io/xna.js/examples/images/normal.png)
10+
* Mobile game - https://coderitual.github.io/xna.js/examples/game/dist/
11+
![Basic](https://coderitual.github.io/xna.js/examples/images/game.png)
812

913
###How to use:
1014

@@ -330,7 +334,7 @@ var 2DLighting = Game.extend({
330334
module.exports = 2DLighting;
331335
```
332336

333-
*main.js:*
337+
*main.js:*
334338
```javascript
335339
'use strict';
336340

examples/images/game.png

117 KB
Loading

examples/images/normal.png

2.6 MB
Loading

examples/images/simple.png

561 KB
Loading

examples/simple/dist/game.01.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/simple/src/fps-meter.js

Lines changed: 0 additions & 30 deletions
This file was deleted.

examples/simple/src/light.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

examples/simple/src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ document.addEventListener('DOMContentLoaded', main, false);
1414
function main() {
1515
var game = new MobileGame('#game');
1616
game.run();
17-
}
17+
}

0 commit comments

Comments
 (0)