Version 0.2

This commit is contained in:
Russell
2020-03-05 16:18:45 -06:00
parent 4ec11c1a9c
commit e972df38ee
2 changed files with 4 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ static GetWalls(file)
c : [(points[i]*ddScale)+offsetX, (points[i+1]*ddScale)+offsetY, (points[i+2]*ddScale)+offsetX, (points[i+3]*ddScale)+offsetY],
});
if (doors){
wall.door = CONST.WALL_DOOR_TYPES.DOOR
wall.data.door = CONST.WALL_DOOR_TYPES.DOOR
}
@@ -150,10 +150,11 @@ static GetLights(file)
dim: ddLight.range,
bright: ddLight.range/2,
angle: 360,
tintColor: "#FF0000",
tintColor: "#" + ddLight.color.substring(2),
tintAlpha: 0.05
})
lights.push(light.data);
console.log(light.data.tintColor);
}
}
return lights;

View File

@@ -2,7 +2,7 @@
"name": "dd-import",
"title": "DungeonDraft Importer",
"description": "Imports scene elements from Dungeon Draft map files",
"version": 0.1,
"version": 0.2,
"author": "Moo Man",
"scripts": ["./ddimport.js"],
"styles": ["./styles.css"],