Created
August 18, 2017 22:02
-
-
Save Aegean-Homines/4a2d63162ae031a70479538db83ef176 to your computer and use it in GitHub Desktop.
An example level file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"GameObjectList": [ | |
{ | |
"Light": { | |
"Tag": "Light", | |
"ModelComponent": { | |
"Type": "CUBE", | |
"Color": "white", | |
"Unlit": true | |
}, | |
"Transform": { | |
"Pos": [ -30, 45, 25 ], | |
"Rot": [ 0, 35, 35 ], | |
"Scale": [ 0.1, 0.1, 0.1 ] | |
}, | |
"Playercontroller": { }, | |
"Light": { | |
"Type" : "spot", | |
"Color": [ 0.4, 0.4, 0.4 ] | |
} | |
} | |
}, | |
{ | |
"MainCamera": { | |
"Tag": "Camera", | |
"Transform": { | |
"Pos": [ 25, 18, 30 ], | |
"Rot": [ -10, 35, 0 ], | |
"Scale": [ 1, 1, 1 ] | |
}, | |
"CameraComponent": { | |
"near": 0.1, | |
"far": 100, | |
"angle": 45, | |
"BGColor": [ 0.53, 0.8, 0.98 ] | |
}, | |
"EditorCameraController": { } | |
} | |
}, | |
{ | |
"SceneManager": { | |
"SceneManagerBehavior": { | |
"Dimensions": [ 6, 1, 10 ] | |
} | |
} | |
}, | |
{ | |
"Ground": { | |
"Tag": "Plane", | |
"Transform": { | |
"Pos": [ 0, 0, 0 ], | |
"Rot": [ 0, 0, 0 ], | |
"Scale": [ 60, 4, 50 ] | |
}, | |
"ModelComponent": { | |
"Type": "Cube", | |
"Color": "white", | |
"Texture": "dirt.png", | |
"Unlit " : true | |
}, | |
"PhysicsComponent": { | |
"Pos": [ 0, 0, 0 ], | |
"Mass": 50, | |
"RigidBody": "AABB", | |
"Restitution": 1.0, | |
"Static" : true | |
} | |
} | |
}, | |
{ | |
"LWall": { | |
"Tag": "Plane", | |
"Transform": { | |
"Pos": [ -30, 15, 0 ], | |
"Rot": [ 0, 0, 0 ], | |
"Scale": [ 0.1, 30, 30 ] | |
}, | |
"ModelComponent": { | |
"Type": "Cube", | |
"Color": "white", | |
"Texture": "metal.png" | |
} | |
} | |
}, | |
{ | |
"RWall": { | |
"Tag": "Plane", | |
"Transform": { | |
"Pos": [ 30, 15, 0 ], | |
"Rot": [ 0, 0, 0 ], | |
"Scale": [ 0.1, 30, 30 ] | |
}, | |
"ModelComponent": { | |
"Type": "Cube", | |
"Color": "white", | |
"Texture": "metal.png" | |
} | |
} | |
}, | |
{ | |
"Wall": { | |
"Tag": "Plane", | |
"Transform": { | |
"Pos": [ 0, 15, -15 ], | |
"Rot": [ 0, 90, 0 ], | |
"Scale": [ 0.1, 30, 60 ] | |
}, | |
"ModelComponent": { | |
"Type": "Cube", | |
"Color": "white", | |
"Texture": "metal.png" | |
} | |
} | |
}, | |
{ | |
"Varaquilex": { | |
"Transform": { | |
"Pos": [ -25, 9, -5 ], | |
"Rot": [ 0, 75, 0 ], | |
"Scale": [ 8.88, 4.05, 1 ] | |
}, | |
"ModelComponent": { | |
"Type": "quad", | |
"Color": "white", | |
"Texture": "BlizzV.png" | |
} | |
} | |
}, | |
{ | |
"Light": { | |
"Tag": "Light", | |
"ModelComponent": { | |
"Type": "CUBE", | |
"Color": "white", | |
"Unlit": true | |
}, | |
"Transform": { | |
"Pos": [ -25, 10, -5 ], | |
"Rot": [ 0, 0, 0 ], | |
"Scale": [ 0.1, 0.1, 0.1 ] | |
}, | |
"Light": { | |
"Type" : "point", | |
"Color": [ 0.8, 0.8, 0.8 ] | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment