night skyline for the html demos

master
Gunstick 2013-09-01 20:34:51 +02:00
parent 509a235145
commit f340cfc952
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
<script> <script>
var myimage=new image('building-isometric_b.jpg'); var myimage=new image('building-isometric_night.jpg');
var myfont = new image('font.png'); var myfont = new image('font.png');
var mycanvas; var mycanvas;

View File

@ -7,7 +7,7 @@
var canvas = document.getElementById('myCanvas'); var canvas = document.getElementById('myCanvas');
var context = canvas.getContext('2d'); var context = canvas.getContext('2d');
var imageObj = new Image(); var imageObj = new Image();
imageObj.src = 'building-isometric_b.jpg'; imageObj.src = 'building-isometric_night.jpg';
// windowTab[0][0]={x:488,y:265}; // windowTab[0][0]={x:488,y:265};
// windowTab[1][0]={x:528,y:265}; // windowTab[1][0]={x:528,y:265};
function lightWindow(x,y,val) { function lightWindow(x,y,val) {

View File

@ -7,7 +7,7 @@
var canvas = document.getElementById('myCanvas'); var canvas = document.getElementById('myCanvas');
var context = canvas.getContext('2d'); var context = canvas.getContext('2d');
var imageObj = new Image(); var imageObj = new Image();
imageObj.src = 'building-isometric_b.jpg'; imageObj.src = 'building-isometric_night.jpg';
// windowTab[0][0]={x:488,y:265}; // windowTab[0][0]={x:488,y:265};
// windowTab[1][0]={x:528,y:265}; // windowTab[1][0]={x:528,y:265};
function lightWindow(x,y,val) { function lightWindow(x,y,val) {