Version 0.2
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user