Compare commits
No commits in common. "d3de2401f3d6aee1e171f86cd7c62ef18f994899" and "b25478612d9d8d3fae5f618b96c692c656b14135" have entirely different histories.
d3de2401f3
...
b25478612d
10
main.go
10
main.go
@ -210,8 +210,6 @@ func UpdateCamera(camera *rl.Camera3D, player rl.Vector3, deltaTime float32) {
|
|||||||
func main() {
|
func main() {
|
||||||
rl.InitWindow(800, 600, "goonscape")
|
rl.InitWindow(800, 600, "goonscape")
|
||||||
defer rl.CloseWindow()
|
defer rl.CloseWindow()
|
||||||
rl.InitAudioDevice()
|
|
||||||
defer rl.CloseAudioDevice()
|
|
||||||
|
|
||||||
mapGrid := InitMap()
|
mapGrid := InitMap()
|
||||||
|
|
||||||
@ -232,15 +230,7 @@ func main() {
|
|||||||
|
|
||||||
rl.SetTargetFPS(60)
|
rl.SetTargetFPS(60)
|
||||||
|
|
||||||
// Music
|
|
||||||
music := rl.LoadMusicStream("resources/audio/GoonScape2.mp3")
|
|
||||||
rl.PlayMusicStream(music)
|
|
||||||
rl.SetMusicVolume(music, 0.5)
|
|
||||||
defer rl.UnloadMusicStream(music)
|
|
||||||
|
|
||||||
for !rl.WindowShouldClose() {
|
for !rl.WindowShouldClose() {
|
||||||
rl.UpdateMusicStream(music)
|
|
||||||
|
|
||||||
// Time management
|
// Time management
|
||||||
deltaTime := rl.GetFrameTime()
|
deltaTime := rl.GetFrameTime()
|
||||||
|
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,12 +0,0 @@
|
|||||||
# Blender 3.6.0 MTL File: 'None'
|
|
||||||
# www.blender.org
|
|
||||||
|
|
||||||
newmtl Material.001
|
|
||||||
Ns 250.000000
|
|
||||||
Ka 1.000000 1.000000 1.000000
|
|
||||||
Ks 0.500000 0.500000 0.500000
|
|
||||||
Ke 0.000000 0.000000 0.000000
|
|
||||||
Ni 1.450000
|
|
||||||
d 1.000000
|
|
||||||
illum 2
|
|
||||||
map_Kd Minion_full_body_A__1002112559.png
|
|
112531
resources/models/goonion.obj
112531
resources/models/goonion.obj
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Before Width: | Height: | Size: 2.5 MiB |
Loading…
x
Reference in New Issue
Block a user