Added new victory images.
4
cat.html
|
@ -160,7 +160,7 @@ var MAXDIRS = 4;
|
|||
var DIRXMOD = [ 0, 1, 0, -1 ];
|
||||
var DIRYMOD = [ -1, 0, 1, 0 ];
|
||||
|
||||
var MAXWINIMAGES = 8;
|
||||
var NUMWINIMAGES = 12;
|
||||
var WINIMGZOOMSPEED = 0.1;
|
||||
|
||||
var SCREENW = 480;
|
||||
|
@ -3483,7 +3483,7 @@ console.log("lev " + lev + " newwid " + newwid + " ratio " + ratio);
|
|||
// get a new cat picture for if we win
|
||||
if (winimg != undefined) delete winimg;
|
||||
winimg = new Image();
|
||||
var n = rnd(MAXWINIMAGES);
|
||||
var n = rnd(NUMWINIMAGES);
|
||||
winimg.src = "images/win" + n + ".png";
|
||||
this.winimgsize = 0.1;
|
||||
|
||||
|
|
Before Width: | Height: | Size: 230 KiB |
Before Width: | Height: | Size: 147 KiB |
Before Width: | Height: | Size: 221 KiB |
Before Width: | Height: | Size: 197 KiB |
Before Width: | Height: | Size: 171 KiB |
Before Width: | Height: | Size: 234 KiB |
Before Width: | Height: | Size: 164 KiB |
After Width: | Height: | Size: 280 KiB |
After Width: | Height: | Size: 242 KiB |
After Width: | Height: | Size: 230 KiB |
After Width: | Height: | Size: 193 KiB |
14
todo
|
@ -8,16 +8,12 @@ https://www.smashingmagazine.com/2012/10/design-your-own-mobile-game/
|
|||
|
||||
----------
|
||||
|
||||
images for star goals.
|
||||
On level init:
|
||||
make temp topbuffer - SCREENW x hight
|
||||
3 x
|
||||
make temp buffer - starwid + textwid(" = 6,000");
|
||||
blit to temp topbuffer
|
||||
|
||||
In drawtop(){
|
||||
blit topbuffer to screen
|
||||
new title images
|
||||
resize to correct
|
||||
rename to correct
|
||||
git remove old
|
||||
|
||||
.. then git remove new/
|
||||
|
||||
white outline ?
|
||||
|
||||
|
|