night skyline for the html demos
parent
509a235145
commit
f340cfc952
|
@ -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;
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue