Store in GIT

This commit is contained in:
2026-06-17 16:06:16 +02:00
parent 0c9e91dc95
commit 6144032b88
110 changed files with 15967 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
Sanic STAR
----------
Gemaakt door Kenneth van Ewijk
Een simpel spel waarbij het de bedoeling is dat je alle sterren oppakt.
Als je alle sterren hebt verzamelt, gaat hij naar de volgende wereld.
Er zijn momenteel slechts vier werelden.
Opstarten en afsluiten:
Druk op starten in Visual Studio. (Release, x86)
Om af te sluiten, druk op ESC en kies Exit in het menu.
Besturing:
- W en S voor vooruit/achteruit
- Muis om te sturen en te kijken
- Forceren van wereld veranderen (zonder alle sterren te verzamelen) door op de rechter pijltjestoets te drukken.
Deze game bevat de volgende onderdelen:
- Bestuurbare third person camera
- In de scene zijn een aantal verschillende objecten
- De sterren draaien automatisch rond
- SANIC die je bestuurd en de sterren die je op kan pakken zijn objecten die te beïnvloeden zijn.
- De bomen staan stil. Een of meerdere objecten staan stil
- De bomen/gras/sanic/sterren worden uit een obj file geladen
- Het terrein wordt als heightmap met code gegenereerd.
- De rode sterren, bij speciale speed boost sterren, zijn relatieve transformaties
- Overal zit OpenGL belichting op
- Op alle objecten en op de heightmap zit texture mapping
- Toetsenbord wordt gebruikt voor besturing
+192
View File
@@ -0,0 +1,192 @@
newmtl initialShadingGroup
illum 4
Kd 0.21 0.09 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
newmtl lambert2SG
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 lambert3SG
illum 4
Kd 0.50 0.21 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
newmtl lambert4SG
illum 4
Kd 0.50 0.21 0.00
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.16 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.16 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.16 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
newmtl lambert9SG
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 lambert10SG
illum 4
Kd 0.12 0.28 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
newmtl lambert11SG
illum 4
Kd 0.50 0.21 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
newmtl pasted__lambert2SG
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 pasted__lambert2SG1
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 pasted__lambert2SG2
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 pasted__lambert2SG3
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 pasted__lambert2SG4
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 pasted__lambert3SG
illum 4
Kd 0.50 0.21 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
newmtl pasted__lambert3SG1
illum 4
Kd 0.50 0.21 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
newmtl pasted__lambert3SG2
illum 4
Kd 0.50 0.21 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
newmtl pasted__lambert3SG3
illum 4
Kd 0.50 0.21 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
newmtl pasted__lambert3SG4
illum 4
Kd 0.50 0.21 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 0.21 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
newmtl pasted__lambert4SG1
illum 4
Kd 0.50 0.21 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
newmtl pasted__lambert4SG2
illum 4
Kd 0.50 0.21 0.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 0.16 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
newmtl pasted__lambert5SG1
illum 4
Kd 0.00 0.16 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
newmtl pasted__lambert5SG2
illum 4
Kd 0.00 0.16 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
newmtl pasted__lambert6SG
illum 4
Kd 0.00 0.16 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
newmtl pasted__lambert6SG1
illum 4
Kd 0.00 0.16 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
newmtl pasted__lambert6SG2
illum 4
Kd 0.00 0.16 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
newmtl pasted__lambert8SG
illum 4
Kd 0.00 0.16 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
newmtl pasted__lambert8SG1
illum 4
Kd 0.00 0.16 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
newmtl pasted__lambert8SG2
illum 4
Kd 0.00 0.16 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
Binary file not shown.

After

Width:  |  Height:  |  Size: 336 B

+9
View File
@@ -0,0 +1,9 @@
# WaveFront *.mtl file (generated by CINEMA 4D)
newmtl Mat
Kd 0.80000001192093 0.80000001192093 0.80000001192093
map_Kd Blauw.png
Ks 1.00000000000000 1.00000000000000 1.00000000000000
Ns 100
illum 7
Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

+11
View File
@@ -0,0 +1,11 @@
# Material file for n64tree.obj
newmtl tree
Ns 0
d 1
illum 2
Kd 0.8 0.8 0.8
Ks 0.0 0.0 0.0
Ka 0.2 0.2 0.2
map_Kd m64_tree.png
Binary file not shown.

After

Width:  |  Height:  |  Size: 335 B

+9
View File
@@ -0,0 +1,9 @@
# WaveFront *.mtl file (generated by CINEMA 4D)
newmtl Mat
Kd 0.80000001192093 0.80000001192093 0.80000001192093
map_Kd Blauw.png
Ks 1.00000000000000 1.00000000000000 1.00000000000000
Ns 100
illum 7
+147
View File
@@ -0,0 +1,147 @@
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.00 0.00 0.00
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
map_Kd Screenshot_1.png
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
map_Kd Screenshot_1.png
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 BobStoneTexture.png
Ni 1.00
Ks 0.50 0.50 0.50
newmtl lambert19SG
illum 4
Kd 0.85 0.85 0.85
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
newmtl lambert20SG
illum 4
Kd 0.00 0.00 0.00
Ka 0.00 0.00 0.00
Tf 0.64 0.64 0.64
Ni 1.00
newmtl lambert21SG
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 lambert22SG
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 lambert23SG
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 Kart.png
Ni 1.00
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
map_Kd Screenshot_1.png
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
Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

+11
View File
@@ -0,0 +1,11 @@
# Material file for n64tree.obj
newmtl tree
Ns 0
d 1
illum 2
Kd 0.8 0.8 0.8
Ks 0.0 0.0 0.0
Ka 0.2 0.2 0.2
map_Kd m64_tree.png
+13
View File
@@ -0,0 +1,13 @@
# Blender MTL File: 'yoshi_falls.blend'
# Material Count: 1
newmtl box_mat
Ns 96.078431
Ka 0.000000 0.000000 0.000000
Kd 0.778039 0.778039 0.778039
Ks 0.000000 0.000000 0.000000
Ni 1.000000
d 0.000000
illum 1
map_Kd box_mat.png
map_d box_mat.png
Binary file not shown.

After

Width:  |  Height:  |  Size: 327 B

+9
View File
@@ -0,0 +1,9 @@
# Created by Every File Explorer
newmtl mat_star
Ka 1 1 1
Kd 1 1 1
Ks 0.1490196 0.1490196 0
d 1
map_Kd Tex/I_star.png
Binary file not shown.

After

Width:  |  Height:  |  Size: 395 B

+9
View File
@@ -0,0 +1,9 @@
# Created by Every File Explorer
newmtl mat_star
Ka 1 1 1
Kd 1 1 1
Ks 0.1490196 0.1490196 0
d 1
map_Kd Tex/I_star.png
Binary file not shown.

After

Width:  |  Height:  |  Size: 401 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.
+29
View File
@@ -0,0 +1,29 @@
{
"world": {
"heightmap": "resources/worlds/dark.png",
"texture": "resources/worlds/darktexture.png",
"skybox": "resources/skyboxes/dark/",
"music": "resources/sounds/dark.wav",
"object-templates": [
{
"file": "resources/models/DarkTree/n64tree.obj",
"color": 100,
"scale": 0.3
},
{
"file": "resources/models/DarkGrass/grass.obj",
"color": 110,
"scale": 1,
"collision": false
}]
},
"player": {
"startposition": [ 30, -1, 175],
"kart":
{
"file": "resources/models/Kart/Kart.obj",
"scale": 0.5
}
},
"objects": [ ]
}
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

+29
View File
@@ -0,0 +1,29 @@
{
"world": {
"heightmap": "resources/worlds/dark.png",
"texture": "resources/worlds/dark2texture.png",
"skybox": "resources/skyboxes/dark/",
"music": "resources/sounds/dark.wav",
"object-templates": [
{
"file": "resources/models/DarkTree/n64tree.obj",
"color": 100,
"scale": 0.3
},
{
"file": "resources/models/DarkGrass/grass.obj",
"color": 110,
"scale": 1,
"collision": false
}]
},
"player": {
"startposition": [ 30, -1, 175],
"kart":
{
"file": "resources/models/Kart/Kart.obj",
"scale": 0.5
}
},
"objects": [ ]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

+29
View File
@@ -0,0 +1,29 @@
{
"world": {
"heightmap": "resources/worlds/race.png",
"texture": "resources/worlds/racetexture.png",
"skybox": "resources/skyboxes/sky/",
"music": "resources/sounds/race.wav",
"object-templates": [
{
"file": "resources/models/Tree/n64tree.obj",
"color": 100,
"scale": 0.3
},
{
"file": "resources/models/Grass/grass.obj",
"color": 110,
"scale": 1,
"collision": false
}]
},
"player": {
"startposition": [ 30, -1, 175],
"kart":
{
"file": "resources/models/Kart/Kart.obj",
"scale": 0.5
}
},
"objects": [ ]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

+29
View File
@@ -0,0 +1,29 @@
{
"world": {
"heightmap": "resources/worlds/race.png",
"texture": "resources/worlds/race2texture.png",
"skybox": "resources/skyboxes/sky/",
"music": "resources/sounds/race.wav",
"object-templates": [
{
"file": "resources/models/Tree/n64tree.obj",
"color": 100,
"scale": 0.3
},
{
"file": "resources/models/Grass/grass.obj",
"color": 110,
"scale": 1,
"collision": false
}]
},
"player": {
"startposition": [ 30, -1, 175],
"kart":
{
"file": "resources/models/Kart/Kart.obj",
"scale": 0.5
}
},
"objects": [ ]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

+8
View File
@@ -0,0 +1,8 @@
{
"worlds": [
"resources/worlds/race.json",
"resources/worlds/dark.json",
"resources/worlds/race2.json",
"resources/worlds/dark2.json"
]
}