Cleaned up for the night. In new folder etc.
BIN
Assets/Capitol - Copy.png
Normal file
After Width: | Height: | Size: 307 B |
BIN
Assets/Capitol.png
Normal file
After Width: | Height: | Size: 307 B |
Before Width: | Height: | Size: 296 B After Width: | Height: | Size: 296 B |
BIN
Assets/Rock.png
Normal file
After Width: | Height: | Size: 285 B |
Before Width: | Height: | Size: 292 B After Width: | Height: | Size: 292 B |
BIN
Assets/Sheet.xcf
Normal file
BIN
Assets/dynamite.png
Normal file
After Width: | Height: | Size: 334 B |
BIN
Assets/factory.png
Normal file
After Width: | Height: | Size: 405 B |
BIN
Assets/flagBlue.png
Normal file
After Width: | Height: | Size: 264 B |
BIN
Assets/flagGreen.png
Normal file
After Width: | Height: | Size: 264 B |
BIN
Assets/flagOrange.png
Normal file
After Width: | Height: | Size: 264 B |
BIN
Assets/flagRed.png
Normal file
After Width: | Height: | Size: 264 B |
Before Width: | Height: | Size: 264 B After Width: | Height: | Size: 264 B |
Before Width: | Height: | Size: 358 B After Width: | Height: | Size: 358 B |
Before Width: | Height: | Size: 285 B After Width: | Height: | Size: 285 B |
BIN
Assets/swall.png
Normal file
After Width: | Height: | Size: 207 B |
BIN
Assets/swallcorner.png
Normal file
After Width: | Height: | Size: 240 B |
BIN
Assets/town.png
Normal file
After Width: | Height: | Size: 413 B |
BIN
Assets/wwall.png
Normal file
After Width: | Height: | Size: 179 B |
BIN
Assets/wwallcorner.png
Normal file
After Width: | Height: | Size: 218 B |
Before Width: | Height: | Size: 1.9 KiB |
BIN
www/img/city.png
Normal file
After Width: | Height: | Size: 296 B |
BIN
www/img/grass.png
Normal file
After Width: | Height: | Size: 264 B |
BIN
www/img/hills.png
Normal file
After Width: | Height: | Size: 358 B |
BIN
www/img/rock.png
Normal file
After Width: | Height: | Size: 292 B |
BIN
www/img/sea.png
Normal file
After Width: | Height: | Size: 285 B |
|
@ -31,22 +31,17 @@ window.onload = function () {
|
||||||
|
|
||||||
// GET THE IMAGE.
|
// GET THE IMAGE.
|
||||||
var city = new Image();
|
var city = new Image();
|
||||||
city.src = 'city.png';
|
city.src = 'img/city.png';
|
||||||
var rock = new Image();
|
var rock = new Image();
|
||||||
rock.src = 'rock.png';
|
rock.src = 'img/rock.png';
|
||||||
var background = new Image();
|
|
||||||
var grass = new Image();
|
var grass = new Image();
|
||||||
grass.src = 'grass.png'
|
grass.src = 'img/grass.png'
|
||||||
var sea = new Image();
|
var sea = new Image();
|
||||||
sea.src = 'sea.png'
|
sea.src = 'img/sea.png'
|
||||||
var hills = new Image();
|
var hills = new Image();
|
||||||
hills.src = 'hills.png'
|
hills.src = 'img/hills.png'
|
||||||
tiles = [grass,hills,sea,rock,city];
|
tiles = [grass,hills,sea,rock,city];
|
||||||
background.src = 'background.png';
|
|
||||||
// WAIT TILL IMAGE IS LOADED.
|
|
||||||
background.onload = function () {
|
|
||||||
// FILL THE CANVAS WITH THE IMAGE.
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|