Added new victory images.

This commit is contained in:
Rob Pearce 2016-08-27 13:29:24 +10:00
parent 478d96acff
commit dad8a6ff23
13 changed files with 7 additions and 11 deletions

View File

@ -160,7 +160,7 @@ var MAXDIRS = 4;
var DIRXMOD = [ 0, 1, 0, -1 ]; var DIRXMOD = [ 0, 1, 0, -1 ];
var DIRYMOD = [ -1, 0, 1, 0 ]; var DIRYMOD = [ -1, 0, 1, 0 ];
var MAXWINIMAGES = 8; var NUMWINIMAGES = 12;
var WINIMGZOOMSPEED = 0.1; var WINIMGZOOMSPEED = 0.1;
var SCREENW = 480; var SCREENW = 480;
@ -3483,7 +3483,7 @@ console.log("lev " + lev + " newwid " + newwid + " ratio " + ratio);
// get a new cat picture for if we win // get a new cat picture for if we win
if (winimg != undefined) delete winimg; if (winimg != undefined) delete winimg;
winimg = new Image(); winimg = new Image();
var n = rnd(MAXWINIMAGES); var n = rnd(NUMWINIMAGES);
winimg.src = "images/win" + n + ".png"; winimg.src = "images/win" + n + ".png";
this.winimgsize = 0.1; this.winimgsize = 0.1;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 221 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 197 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

BIN
images/win10.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 KiB

BIN
images/win11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

BIN
images/win8.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 KiB

BIN
images/win9.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 KiB

14
todo
View File

@ -8,16 +8,12 @@ https://www.smashingmagazine.com/2012/10/design-your-own-mobile-game/
---------- ----------
images for star goals. new title images
On level init: resize to correct
make temp topbuffer - SCREENW x hight rename to correct
3 x git remove old
make temp buffer - starwid + textwid(" = 6,000");
blit to temp topbuffer
In drawtop(){
blit topbuffer to screen
.. then git remove new/
white outline ? white outline ?