diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-11-04 22:01:25 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-11-04 22:01:25 +0100 |
commit | 34d7b2197bc0e5f40a1e36b3fb8838abf91d4d6c (patch) | |
tree | af071b798932c498e992dcbdce29c06ab2915eba | |
parent | dbc3a6aa120135c19a4a69cead0f895f4d8a16b9 (diff) | |
download | rpgedit-34d7b2197bc0e5f40a1e36b3fb8838abf91d4d6c.tar rpgedit-34d7b2197bc0e5f40a1e36b3fb8838abf91d4d6c.zip |
Replace player sprite with circle
-rw-r--r-- | dist/resources/sprite/entity/simple_circle.png | bin | 0 -> 1776 bytes | |||
-rw-r--r-- | src/controller/gamecontext.ts | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/dist/resources/sprite/entity/simple_circle.png b/dist/resources/sprite/entity/simple_circle.png Binary files differnew file mode 100644 index 0000000..71cdadb --- /dev/null +++ b/dist/resources/sprite/entity/simple_circle.png diff --git a/src/controller/gamecontext.ts b/src/controller/gamecontext.ts index 923727a..cda47a5 100644 --- a/src/controller/gamecontext.ts +++ b/src/controller/gamecontext.ts @@ -14,7 +14,7 @@ import { vec2 } from 'gl-matrix'; export class GameContext { public static async load(renderer: Renderer): Promise<GameContext> { const mapView = this.loadMap(renderer); - const entity = loadSimpleEntity(renderer, 'simple_square'); + const entity = loadSimpleEntity(renderer, 'simple_circle'); return new GameContext( renderer, |