diff --git a/CrystalPoint.vcxproj b/CrystalPoint.vcxproj
index 7a5f3e0..059cfd0 100644
--- a/CrystalPoint.vcxproj
+++ b/CrystalPoint.vcxproj
@@ -184,7 +184,7 @@
-
+
diff --git a/CrystalPoint.vcxproj.filters b/CrystalPoint.vcxproj.filters
index 7f05fc6..039c7fc 100644
--- a/CrystalPoint.vcxproj.filters
+++ b/CrystalPoint.vcxproj.filters
@@ -121,7 +121,7 @@
Source Files\json
-
+
Source Files\json
diff --git a/Enemy.cpp b/Enemy.cpp
index a56fbfc..99b09c6 100644
--- a/Enemy.cpp
+++ b/Enemy.cpp
@@ -18,7 +18,7 @@ Enemy::Enemy(const std::string &fileName,
this->canCollide = true;
target = position;
speed = 1;
- radius = 10;
+ radius = 20;
hasTarget = false;
}
diff --git a/models/Enemies/Bob.mtl b/models/Enemies/Bob.mtl
new file mode 100644
index 0000000..1490ccb
--- /dev/null
+++ b/models/Enemies/Bob.mtl
@@ -0,0 +1,113 @@
+newmtl bob1:initialShadingGroup
+illum 4
+Kd 0.50 0.50 0.50
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl initialShadingGroup
+illum 4
+Kd 0.67 0.67 0.67
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl lambert2SG
+illum 4
+Kd 0.20 0.32 0.50
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl lambert5SG
+illum 4
+Kd 1.00 0.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl lambert6SG
+illum 4
+Kd 0.00 0.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl lambert7SG
+illum 4
+Kd 0.00 0.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl lambert8SG
+illum 4
+Kd 0.00 0.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl lambert10SG
+illum 4
+Kd 1.00 1.00 1.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl lambert12SG
+illum 4
+Kd 0.58 0.00 1.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl lambert13SG
+illum 4
+Kd 0.00 1.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl lambert14SG
+illum 4
+Kd 1.00 1.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl lambert15SG
+illum 4
+Kd 0.00 0.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+map_Kd TheThing2.png
+Ni 1.00
+newmtl lambert16SG
+illum 4
+Kd 0.00 0.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+map_Kd SkateboardwielThing.png
+Ni 1.00
+newmtl lambert17SG
+illum 4
+Kd 0.25 0.25 0.25
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+Ks 0.50 0.50 0.50
+newmtl lambert18SG
+illum 4
+Kd 0.00 0.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+map_Kd Bobhelemaal2.png
+Ni 1.00
+Ks 0.50 0.50 0.50
+newmtl pasted__lambert2SG
+illum 4
+Kd 0.00 0.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl pasted__lambert4SG
+illum 4
+Kd 0.50 1.00 1.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl pasted__lambert5SG
+illum 4
+Kd 0.00 1.00 1.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
diff --git a/models/Enemies/Bobhelemaal2.png b/models/Enemies/Bobhelemaal2.png
new file mode 100644
index 0000000..920aa87
Binary files /dev/null and b/models/Enemies/Bobhelemaal2.png differ
diff --git a/models/Enemies/Monkey.mtl b/models/Enemies/Monkey.mtl
new file mode 100644
index 0000000..858d40c
--- /dev/null
+++ b/models/Enemies/Monkey.mtl
@@ -0,0 +1,61 @@
+newmtl Engine_Thomas:Eyes
+illum 4
+Kd 0.00 0.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+map_Kd Eye_01.png
+Ni 1.00
+Ks 0.37 0.37 0.37
+Ns 96.08
+newmtl Engine_Thomas:Page_01
+illum 4
+Kd 0.00 0.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+map_Kd engine_thomas_page1.png
+Ni 1.00
+Ks 0.37 0.37 0.37
+Ns 96.08
+newmtl Engine_Thomas:Page_02
+illum 4
+Kd 0.00 0.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+map_Kd engine_thomas_page2.png
+Ni 1.00
+Ks 0.37 0.37 0.37
+Ns 96.08
+newmtl Engine_Thomas:Page_05
+illum 4
+Kd 0.00 0.00 0.00
+Ka 0.00 0.00 0.00
+Tf 0.00 0.00 0.00
+map_Kd Engine_Thomas_Page3.png
+Ni 1.00
+Ks 0.37 0.37 0.37
+Ns 96.08
+newmtl Engine_Thomas:Shadow
+illum 4
+Kd 0.00 0.00 0.00
+Ka 0.00 0.00 0.00
+Tf 0.00 0.00 0.00
+map_Kd Thomas_Shadow.png
+Ni 1.00
+Ks 0.37 0.37 0.37
+Ns 96.08
+newmtl initialShadingGroup
+illum 4
+Kd 0.00 0.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+map_Kd tex_wendy.jpg
+Ni 1.00
+newmtl wooper:wooper
+illum 4
+Kd 0.00 0.00 0.00
+Ka 0.20 0.20 0.20
+Tf 1.00 1.00 1.00
+map_Kd wooper.png
+Ni 1.00
+Ks 0.00 0.00 0.00
+Ns 0.00
diff --git a/models/Enemies/Skateboard.mtl b/models/Enemies/Skateboard.mtl
new file mode 100644
index 0000000..1490ccb
--- /dev/null
+++ b/models/Enemies/Skateboard.mtl
@@ -0,0 +1,113 @@
+newmtl bob1:initialShadingGroup
+illum 4
+Kd 0.50 0.50 0.50
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl initialShadingGroup
+illum 4
+Kd 0.67 0.67 0.67
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl lambert2SG
+illum 4
+Kd 0.20 0.32 0.50
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl lambert5SG
+illum 4
+Kd 1.00 0.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl lambert6SG
+illum 4
+Kd 0.00 0.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl lambert7SG
+illum 4
+Kd 0.00 0.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl lambert8SG
+illum 4
+Kd 0.00 0.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl lambert10SG
+illum 4
+Kd 1.00 1.00 1.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl lambert12SG
+illum 4
+Kd 0.58 0.00 1.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl lambert13SG
+illum 4
+Kd 0.00 1.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl lambert14SG
+illum 4
+Kd 1.00 1.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl lambert15SG
+illum 4
+Kd 0.00 0.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+map_Kd TheThing2.png
+Ni 1.00
+newmtl lambert16SG
+illum 4
+Kd 0.00 0.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+map_Kd SkateboardwielThing.png
+Ni 1.00
+newmtl lambert17SG
+illum 4
+Kd 0.25 0.25 0.25
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+Ks 0.50 0.50 0.50
+newmtl lambert18SG
+illum 4
+Kd 0.00 0.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+map_Kd Bobhelemaal2.png
+Ni 1.00
+Ks 0.50 0.50 0.50
+newmtl pasted__lambert2SG
+illum 4
+Kd 0.00 0.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl pasted__lambert4SG
+illum 4
+Kd 0.50 1.00 1.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
+newmtl pasted__lambert5SG
+illum 4
+Kd 0.00 1.00 1.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+Ni 1.00
diff --git a/models/Enemies/SkateboardwielThing.png b/models/Enemies/SkateboardwielThing.png
new file mode 100644
index 0000000..d9f5108
Binary files /dev/null and b/models/Enemies/SkateboardwielThing.png differ
diff --git a/models/Enemies/TheThing2.png b/models/Enemies/TheThing2.png
new file mode 100644
index 0000000..dd1471e
Binary files /dev/null and b/models/Enemies/TheThing2.png differ
diff --git a/models/Enemies/Vincent/Vincent.mtl b/models/Enemies/Vincent.mtl
similarity index 100%
rename from models/Enemies/Vincent/Vincent.mtl
rename to models/Enemies/Vincent.mtl
diff --git a/models/Enemies/tex_wendy.jpg b/models/Enemies/tex_wendy.jpg
new file mode 100644
index 0000000..b7fdabf
Binary files /dev/null and b/models/Enemies/tex_wendy.jpg differ
diff --git a/models/Rocks/Cave1.mtl b/models/Rocks/Cave1.mtl
index 9e73746..94a0fca 100644
--- a/models/Rocks/Cave1.mtl
+++ b/models/Rocks/Cave1.mtl
@@ -1,43 +1,6 @@
-newmtl initialShadingGroup
-illum 4
-Kd 0.50 0.50 0.50
-Ka 0.00 0.00 0.00
-Tf 1.00 1.00 1.00
-Ni 1.00
-newmtl lambert2SG
-illum 4
-Kd 0.11 0.07 0.00
-Ka 0.00 0.00 0.00
-Tf 1.00 1.00 1.00
-Ni 1.00
-newmtl lambert3SG
-illum 4
-Kd 0.50 0.35 0.00
-Ka 0.00 0.00 0.00
-Tf 1.00 1.00 1.00
-Ni 1.00
-newmtl lambert4SG
+newmtl Cave1:pasted__lambert4SG
illum 4
Kd 0.13 0.14 0.16
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
-newmtl lambert5SG
-illum 4
-Kd 0.00 0.00 0.00
-Ka 0.00 0.00 0.00
-Tf 1.00 1.00 1.00
-map_Kd Naamloos.png
-Ni 1.00
-newmtl pasted__lambert4SG
-illum 4
-Kd 0.13 0.14 0.16
-Ka 0.00 0.00 0.00
-Tf 1.00 1.00 1.00
-Ni 1.00
-newmtl pasted__pasted__lambert3SG1
-illum 4
-Kd 0.45 0.45 0.45
-Ka 0.00 0.00 0.00
-Tf 1.00 1.00 1.00
-Ni 1.00
diff --git a/worlds/maze.json b/worlds/maze.json
deleted file mode 100644
index 5ddd29c..0000000
--- a/worlds/maze.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "world": {
- "heightmap": "worlds/mazeHeightmap.png",
- "texture": "worlds/mazeStone.png",
- "scale": 1,
- "object-templates": [
- {
- "color": 190,
- "file": "models/Rocks/Cave1.obj"
- },
- {
- "color": 200,
- "file": "models/Rocks/SpikeRock2.obj"
- },
- {
- "color": 210,
- "file": "models/Rocks/SpikeRock1.obj"
- },
- {
- "color": 220,
- "file": "models/Rocks/SpikeRock3.obj"
- },
- {
- "color": 230,
- "file": "models/Rocks/SpikeRock4.obj"
- },
- {
- "color": 240,
- "file": "models/Rocks/SpikeRock5.obj"
- }
-
- ]
- },
- "player": {
- "startposition": [ 300, 40, 450 ]
- },
- "objects": [ ],
- "enemies": [ ]
-}
\ No newline at end of file
diff --git a/worlds/mazeStone.png b/worlds/mazeStone.png
deleted file mode 100644
index 09b241f..0000000
Binary files a/worlds/mazeStone.png and /dev/null differ
diff --git a/worlds/mazeStone2.png b/worlds/mazeStone2.png
deleted file mode 100644
index f3757d3..0000000
Binary files a/worlds/mazeStone2.png and /dev/null differ
diff --git a/worlds/rock.json b/worlds/rock.json
new file mode 100644
index 0000000..b24eee8
--- /dev/null
+++ b/worlds/rock.json
@@ -0,0 +1,77 @@
+{
+ "world": {
+ "heightmap": "worlds/rockHeightmap.png",
+ "texture": "worlds/rockStone2.png",
+ "scale": 1,
+ "object-templates": [
+ {
+ "color": 190,
+ "file": "models/Rocks/Cave1.obj"
+ },
+ {
+ "color": 200,
+ "file": "models/Rocks/SpikeRock2.obj"
+ },
+ {
+ "color": 210,
+ "file": "models/Rocks/SpikeRock1.obj"
+ },
+ {
+ "color": 220,
+ "file": "models/Rocks/SpikeRock3.obj"
+ },
+ {
+ "color": 230,
+ "file": "models/Rocks/SpikeRock4.obj"
+ },
+ {
+ "color": 240,
+ "file": "models/Rocks/SpikeRock5.obj"
+ }
+
+ ]
+ },
+ "player": {
+ "startposition": [ 300, 40, 450 ]
+ },
+ "objects": [ ],
+ "enemies": [
+ {
+ "file": "models/squid/Blooper.obj",
+ "pos": [ 300, 2, 500 ],
+ "scale": 0.01
+ },
+ {
+ "file": "models/Enemies/Bob.obj",
+ "pos": [ 300, 0, 490 ],
+ "scale": 0.5
+ },
+ {
+ "file": "models/Enemies/Skateboard.obj",
+ "pos": [ 300, 4, 510 ],
+ "scale": 1
+ },
+ {
+ "file": "models/Enemies/Monkey.obj",
+ "pos": [ 60, 0, 675 ],
+ "scale": 2
+ },
+ {
+ "file": "models/Enemies/Vincent.obj",
+ "pos": [ 300, 0, 520 ],
+ "scale": 0.2
+ },
+ {
+ "file": "models/Enemies/Vincent.obj",
+ "pos": [ 300, 0, 521 ],
+ "scale": 0.2
+ },
+ {
+ "file": "models/Enemies/Vincent.obj",
+ "pos": [ 300, 0, 522 ],
+ "scale": 0.2
+ }
+
+
+ ]
+}
\ No newline at end of file
diff --git a/worlds/mazeGrass.png b/worlds/rockGrass.png
similarity index 100%
rename from worlds/mazeGrass.png
rename to worlds/rockGrass.png
diff --git a/worlds/rockHeightmap.pdn b/worlds/rockHeightmap.pdn
new file mode 100644
index 0000000..425c158
Binary files /dev/null and b/worlds/rockHeightmap.pdn differ
diff --git a/worlds/mazeHeightmap.png b/worlds/rockHeightmap.png
similarity index 72%
rename from worlds/mazeHeightmap.png
rename to worlds/rockHeightmap.png
index e9ab3eb..e7eee97 100644
Binary files a/worlds/mazeHeightmap.png and b/worlds/rockHeightmap.png differ
diff --git a/worlds/rockStone.png b/worlds/rockStone.png
new file mode 100644
index 0000000..9a71839
Binary files /dev/null and b/worlds/rockStone.png differ
diff --git a/worlds/rockStone2.png b/worlds/rockStone2.png
new file mode 100644
index 0000000..52d87ea
Binary files /dev/null and b/worlds/rockStone2.png differ
diff --git a/worlds/worlds.json b/worlds/worlds.json
index 9806f55..eef9b9b 100644
--- a/worlds/worlds.json
+++ b/worlds/worlds.json
@@ -1,8 +1,9 @@
{
- "worlds": [
- "worlds/small.json",
- "worlds/ice.json",
- "worlds/fire.json",
- "worlds/maze.json"
- ]
+ "worlds": [
+ "worlds/rock.json",
+ "worlds/small.json",
+ "worlds/ice.json",
+ "worlds/fire.json"
+
+ ]
}
\ No newline at end of file