Reworking the junkmap
This commit is contained in:
@@ -874,6 +874,7 @@ GameState.prototype.create = function()
|
|||||||
this.map.createFromObjects('Lights', 97, 'player', 0, true, false, this.staticLights, Light);
|
this.map.createFromObjects('Lights', 97, 'player', 0, true, false, this.staticLights, Light);
|
||||||
this.staticLights.forEach(function(light) {
|
this.staticLights.forEach(function(light) {
|
||||||
light.update_rect();
|
light.update_rect();
|
||||||
|
console.log(light);
|
||||||
}, this)
|
}, this)
|
||||||
|
|
||||||
// for (i = 0; i < 50 ; i++ ) {
|
// for (i = 0; i < 50 ; i++ ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user