when collected all crystals it is possible to move to the next level, by stepping in the portal

This commit is contained in:
Remco
2016-06-10 10:56:54 +02:00
parent 912a2234a3
commit 0ca94aef4d
9 changed files with 134 additions and 34 deletions
+34 -24
View File
@@ -1,33 +1,43 @@
{
"world": {
"world": {
"heightmap": "worlds/hmcs.png",
"texture": "worlds/hmcstexture.png",
"texture": "hmcstexture.png",
"skybox": "skyboxes/peaceful/",
"object-templates": [
{
"color":100,
"file": "models/boom/Boom.obj",
"collision": false
}
]
},
{
"color": 100,
"file": "models/boom/Boom.obj",
"collision": true
}
],
"music": "WAVE/bond.wav"
},
"player": {
"startposition": [ 0, 1.7, 0]
"startposition": [ 1, 5, 20 ]
},
"objects": [ ],
"portal": {
"file": "models/Teleporter/Teleporter.obj",
"pos": [ 10, 5, 10 ]
},
"objects": [
{
"file": "models/boom/Boom.obj",
"pos": [ 10, 0, -4 ]
},
{
"file": "models/Teleporter/Teleporter.obj",
"pos": [ 0, 0, -4 ]
}
],
"enemies": [
{
{
"file": "models/squid/Blooper.obj",
"pos": [ 10, 2, -10 ],
"pos": [ 20, 5, 10 ],
"scale": 0.01
}
]
}],
"crystal": {
"full texture": "models/crystal/Crystal.obj",
"empty texture": "models/crystal/PickedUpCrystal.obj",
"instances": [
{
"pos": [ 31, 5, 33 ],
"rot": [ 0, 0, 0 ]
},
{
"pos": [ 40, 5, 40 ],
"rot": [ 0, 0, 0 ]
}
]
}
}
+5 -6
View File
@@ -14,12 +14,11 @@
"player": {
"startposition": [ 20, 5, 20 ]
},
"objects": [
{
"file": "models/Teleporter/Teleporter.obj",
"pos": [ 10, 5, 10 ]
}
],
"objects": [ ],
"portal": {
"file": "models/Teleporter/Teleporter.obj",
"pos": [ 10, 5, 10 ]
},
"enemies": [
{
"file": "models/squid/Blooper.obj",