Skip to content

Commit

Permalink
Still no dice on sprites...
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewyang96 committed Oct 18, 2015
1 parent 0102944 commit 602ab58
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions appinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
"type": "font"
},
{
"file": "images/charizard-back.png",
"name": "IMAGES_CHARIZARD_BACK_PNG",
"file": "images/umbreon-front.png",
"name": "IMAGES_UMBREON_FRONT_PNG",
"type": "png"
},
{
"file": "images/umbreon-front.png",
"name": "IMAGES_UMBREON_FRONT_PNG",
"file": "images/charizard-back.png",
"name": "IMAGES_CHARIZARD_BACK_PNG",
"type": "png"
},
{
Expand Down
Binary file modified resources/images/charizard-back.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/images/umbreon-front.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ var infoRect = new UI.Rect({
});

var yourPokemon = new UI.Image({
image: 'images/charizard-back.png',
position: new Vector2(52, 4),
size: new Vector2(144, 144)
position: new Vector2(4, 80),
compositing: 'and',
image: 'images/charizard-back.png'
});
battleWind.add(yourPokemon);
var opponentPokemon = new UI.Image({
image: 'images/umbreon-front.png',
position: new Vector2(80, 4),
size: new Vector2(144, 144)
compositing: 'and',
image: 'images/umbreon-front.png'
});
battleWind.add(opponentPokemon);

Expand Down

0 comments on commit 602ab58

Please sign in to comment.