Browse Source

fix mini game resources

Arnaud Vergnet 6 months ago
parent
commit
7e00d5a054
36 changed files with 118 additions and 113 deletions
  1. 3
    3
      mini-game/ressources/backgrounds/background.png.import
  2. 3
    3
      mini-game/ressources/backgrounds/city.png.import
  3. 3
    3
      mini-game/ressources/backgrounds/ground.png.import
  4. 3
    3
      mini-game/ressources/backgrounds/road.png.import
  5. 3
    3
      mini-game/ressources/backgrounds/road2.png.import
  6. 3
    3
      mini-game/ressources/backgrounds/road3.png.import
  7. 3
    3
      mini-game/ressources/sprites/bonus/bone.png.import
  8. 3
    3
      mini-game/ressources/sprites/obstacle/barrel.png.import
  9. 3
    3
      mini-game/ressources/sprites/player/dino/dino_jump0.png.import
  10. 3
    3
      mini-game/ressources/sprites/player/dino/dino_jump1.png.import
  11. 3
    3
      mini-game/ressources/sprites/player/dino/dino_jump2.png.import
  12. 3
    3
      mini-game/ressources/sprites/player/dino/dino_run0.png.import
  13. 3
    3
      mini-game/ressources/sprites/player/dino/dino_run1.png.import
  14. 3
    3
      mini-game/ressources/sprites/player/dino/dino_run2.png.import
  15. 3
    3
      mini-game/ressources/sprites/player/dino/dino_run3.png.import
  16. 3
    3
      mini-game/ressources/sprites/player/dino/dino_run4.png.import
  17. 3
    3
      mini-game/ressources/sprites/player/dino/dino_run5.png.import
  18. 3
    3
      mini-game/ressources/sprites/player/dino/dino_run6.png.import
  19. 3
    3
      mini-game/ressources/sprites/player/dino/dino_run7.png.import
  20. 3
    3
      mini-game/ressources/sprites/player/dog.png.import
  21. 3
    3
      mini-game/ressources/sprites/player/dog1.png.import
  22. 3
    3
      mini-game/ressources/sprites/player/dog2.png.import
  23. 3
    3
      mini-game/ressources/sprites/player/dog4.png.import
  24. 3
    3
      mini-game/ressources/sprites/player/dog5.png.import
  25. 6
    3
      mini-game/scenes/bonuses/bonus1.tscn
  26. 2
    1
      mini-game/scenes/decor/background.tscn
  27. 2
    2
      mini-game/scenes/decor/foreground.tscn
  28. 2
    2
      mini-game/scenes/decor/scoreUI.tscn
  29. 1
    1
      mini-game/scenes/effets/ScrollingBG.tscn
  30. 6
    9
      mini-game/scenes/main.tscn
  31. 3
    3
      mini-game/scenes/obstacles/obstacle1.tscn
  32. 16
    16
      mini-game/scenes/players/player2.tscn
  33. 5
    2
      mini-game/scenes/spawner/spawner.tscn
  34. 1
    2
      mini-game/scripts/player2.gd
  35. 1
    0
      mini-game/scripts/spawner.gd
  36. 1
    0
      project.godot

+ 3
- 3
mini-game/ressources/backgrounds/background.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/background.png-c3552ba646e8ab268593b9d51421cc01.stex"
5
+path="res://.import/background.png-505e23e85d466d6becabf2def4a53663.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/backgrounds/background.png"
13
-dest_files=[ "res://.import/background.png-c3552ba646e8ab268593b9d51421cc01.stex" ]
12
+source_file="res://mini-game/ressources/backgrounds/background.png"
13
+dest_files=[ "res://.import/background.png-505e23e85d466d6becabf2def4a53663.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 3
mini-game/ressources/backgrounds/city.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/city.png-024dd60751d768e1ef57987bd5d345ea.stex"
5
+path="res://.import/city.png-1075258dc360b89d3ff4479cf02b43bb.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/backgrounds/city.png"
13
-dest_files=[ "res://.import/city.png-024dd60751d768e1ef57987bd5d345ea.stex" ]
12
+source_file="res://mini-game/ressources/backgrounds/city.png"
13
+dest_files=[ "res://.import/city.png-1075258dc360b89d3ff4479cf02b43bb.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 3
mini-game/ressources/backgrounds/ground.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/ground.png-b938548b55d6ed7f289fa41319ca000b.stex"
5
+path="res://.import/ground.png-4932cc62bec22f379d126a8ed00b8065.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/backgrounds/ground.png"
13
-dest_files=[ "res://.import/ground.png-b938548b55d6ed7f289fa41319ca000b.stex" ]
12
+source_file="res://mini-game/ressources/backgrounds/ground.png"
13
+dest_files=[ "res://.import/ground.png-4932cc62bec22f379d126a8ed00b8065.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 3
mini-game/ressources/backgrounds/road.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/road.png-b9823b376280fe70abf25de9e43fc540.stex"
5
+path="res://.import/road.png-a47382164ab08d2b16ee5556b011c7ae.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/backgrounds/road.png"
13
-dest_files=[ "res://.import/road.png-b9823b376280fe70abf25de9e43fc540.stex" ]
12
+source_file="res://mini-game/ressources/backgrounds/road.png"
13
+dest_files=[ "res://.import/road.png-a47382164ab08d2b16ee5556b011c7ae.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 3
mini-game/ressources/backgrounds/road2.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/road2.png-275c3c514e38a9d0ee4b0c412ca9232c.stex"
5
+path="res://.import/road2.png-e0bf36dfcd897889f0653f61c752133d.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/backgrounds/road2.png"
13
-dest_files=[ "res://.import/road2.png-275c3c514e38a9d0ee4b0c412ca9232c.stex" ]
12
+source_file="res://mini-game/ressources/backgrounds/road2.png"
13
+dest_files=[ "res://.import/road2.png-e0bf36dfcd897889f0653f61c752133d.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 3
mini-game/ressources/backgrounds/road3.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/road3.png-60e009dc891dbe4eedd54d2608f1b1ff.stex"
5
+path="res://.import/road3.png-648b2e9aa7ca850c48819c6380f474a0.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/backgrounds/road3.png"
13
-dest_files=[ "res://.import/road3.png-60e009dc891dbe4eedd54d2608f1b1ff.stex" ]
12
+source_file="res://mini-game/ressources/backgrounds/road3.png"
13
+dest_files=[ "res://.import/road3.png-648b2e9aa7ca850c48819c6380f474a0.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 3
mini-game/ressources/sprites/bonus/bone.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/bone.png-8a05f5f61e2aeb2c49e656ebc03b9f2f.stex"
5
+path="res://.import/bone.png-1c21ae42c4bb7f5942b118cd87d5aa15.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/sprites/bonus/bone.png"
13
-dest_files=[ "res://.import/bone.png-8a05f5f61e2aeb2c49e656ebc03b9f2f.stex" ]
12
+source_file="res://mini-game/ressources/sprites/bonus/bone.png"
13
+dest_files=[ "res://.import/bone.png-1c21ae42c4bb7f5942b118cd87d5aa15.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 3
mini-game/ressources/sprites/obstacle/barrel.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/barrel.png-44faee0c2515f02e61601d93efda09e4.stex"
5
+path="res://.import/barrel.png-8c2f352631b425d0e0cdc890f928d066.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/sprites/obstacle/barrel.png"
13
-dest_files=[ "res://.import/barrel.png-44faee0c2515f02e61601d93efda09e4.stex" ]
12
+source_file="res://mini-game/ressources/sprites/obstacle/barrel.png"
13
+dest_files=[ "res://.import/barrel.png-8c2f352631b425d0e0cdc890f928d066.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 3
mini-game/ressources/sprites/player/dino/dino_jump0.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/dino_jump0.png-6059c4e382ce5b1709cdd2fa0fb2070e.stex"
5
+path="res://.import/dino_jump0.png-f42548920dda357c6371bbdabebc6325.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/sprites/player/dino/dino_jump0.png"
13
-dest_files=[ "res://.import/dino_jump0.png-6059c4e382ce5b1709cdd2fa0fb2070e.stex" ]
12
+source_file="res://mini-game/ressources/sprites/player/dino/dino_jump0.png"
13
+dest_files=[ "res://.import/dino_jump0.png-f42548920dda357c6371bbdabebc6325.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 3
mini-game/ressources/sprites/player/dino/dino_jump1.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/dino_jump1.png-e1b552c305f5ee85c18d8df707276cd4.stex"
5
+path="res://.import/dino_jump1.png-6c246c4b8b8636b3dc2dcdf9b08e82be.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/sprites/player/dino/dino_jump1.png"
13
-dest_files=[ "res://.import/dino_jump1.png-e1b552c305f5ee85c18d8df707276cd4.stex" ]
12
+source_file="res://mini-game/ressources/sprites/player/dino/dino_jump1.png"
13
+dest_files=[ "res://.import/dino_jump1.png-6c246c4b8b8636b3dc2dcdf9b08e82be.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 3
mini-game/ressources/sprites/player/dino/dino_jump2.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/dino_jump2.png-a66878b1cd3bc9086cf63c5936950067.stex"
5
+path="res://.import/dino_jump2.png-ecb1fe56541a0df4799a3b6042d2ce92.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/sprites/player/dino/dino_jump2.png"
13
-dest_files=[ "res://.import/dino_jump2.png-a66878b1cd3bc9086cf63c5936950067.stex" ]
12
+source_file="res://mini-game/ressources/sprites/player/dino/dino_jump2.png"
13
+dest_files=[ "res://.import/dino_jump2.png-ecb1fe56541a0df4799a3b6042d2ce92.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 3
mini-game/ressources/sprites/player/dino/dino_run0.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/dino_run0.png-412ca961a8fe566c49233ba244357dbd.stex"
5
+path="res://.import/dino_run0.png-277a46decf87f93ac078644264b56a33.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/sprites/player/dino/dino_run0.png"
13
-dest_files=[ "res://.import/dino_run0.png-412ca961a8fe566c49233ba244357dbd.stex" ]
12
+source_file="res://mini-game/ressources/sprites/player/dino/dino_run0.png"
13
+dest_files=[ "res://.import/dino_run0.png-277a46decf87f93ac078644264b56a33.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 3
mini-game/ressources/sprites/player/dino/dino_run1.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/dino_run1.png-5abd4092ebff3966d624e5be824f67ad.stex"
5
+path="res://.import/dino_run1.png-0eba3efbc94d750d8317fa9e24f7b5dc.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/sprites/player/dino/dino_run1.png"
13
-dest_files=[ "res://.import/dino_run1.png-5abd4092ebff3966d624e5be824f67ad.stex" ]
12
+source_file="res://mini-game/ressources/sprites/player/dino/dino_run1.png"
13
+dest_files=[ "res://.import/dino_run1.png-0eba3efbc94d750d8317fa9e24f7b5dc.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 3
mini-game/ressources/sprites/player/dino/dino_run2.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/dino_run2.png-7b747962a71c78b0e7938ecef7795232.stex"
5
+path="res://.import/dino_run2.png-4b33c27017050fdffde181059fe9b58d.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/sprites/player/dino/dino_run2.png"
13
-dest_files=[ "res://.import/dino_run2.png-7b747962a71c78b0e7938ecef7795232.stex" ]
12
+source_file="res://mini-game/ressources/sprites/player/dino/dino_run2.png"
13
+dest_files=[ "res://.import/dino_run2.png-4b33c27017050fdffde181059fe9b58d.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 3
mini-game/ressources/sprites/player/dino/dino_run3.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/dino_run3.png-0e0a3ca73271a36bd93f95ed1e15dbf9.stex"
5
+path="res://.import/dino_run3.png-00c5c28236a73b9670170cc5487ccca6.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/sprites/player/dino/dino_run3.png"
13
-dest_files=[ "res://.import/dino_run3.png-0e0a3ca73271a36bd93f95ed1e15dbf9.stex" ]
12
+source_file="res://mini-game/ressources/sprites/player/dino/dino_run3.png"
13
+dest_files=[ "res://.import/dino_run3.png-00c5c28236a73b9670170cc5487ccca6.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 3
mini-game/ressources/sprites/player/dino/dino_run4.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/dino_run4.png-d5cb086e0d2545772606f052a970e4c3.stex"
5
+path="res://.import/dino_run4.png-41d2ad8d069b3356d4d63c5953f5a3f3.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/sprites/player/dino/dino_run4.png"
13
-dest_files=[ "res://.import/dino_run4.png-d5cb086e0d2545772606f052a970e4c3.stex" ]
12
+source_file="res://mini-game/ressources/sprites/player/dino/dino_run4.png"
13
+dest_files=[ "res://.import/dino_run4.png-41d2ad8d069b3356d4d63c5953f5a3f3.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 3
mini-game/ressources/sprites/player/dino/dino_run5.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/dino_run5.png-27fd280bf815b4a3994c25bf3df9638a.stex"
5
+path="res://.import/dino_run5.png-d9405fedd0a7d268302f9a0bc5e3548a.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/sprites/player/dino/dino_run5.png"
13
-dest_files=[ "res://.import/dino_run5.png-27fd280bf815b4a3994c25bf3df9638a.stex" ]
12
+source_file="res://mini-game/ressources/sprites/player/dino/dino_run5.png"
13
+dest_files=[ "res://.import/dino_run5.png-d9405fedd0a7d268302f9a0bc5e3548a.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 3
mini-game/ressources/sprites/player/dino/dino_run6.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/dino_run6.png-3ad5af807d517db72756f883e2bbb3d3.stex"
5
+path="res://.import/dino_run6.png-f48669c4a74a9b8aa9fd8b625868688a.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/sprites/player/dino/dino_run6.png"
13
-dest_files=[ "res://.import/dino_run6.png-3ad5af807d517db72756f883e2bbb3d3.stex" ]
12
+source_file="res://mini-game/ressources/sprites/player/dino/dino_run6.png"
13
+dest_files=[ "res://.import/dino_run6.png-f48669c4a74a9b8aa9fd8b625868688a.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 3
mini-game/ressources/sprites/player/dino/dino_run7.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/dino_run7.png-69b5cd76c612143645272a6bc6a1db20.stex"
5
+path="res://.import/dino_run7.png-b51a401cc3ce5863f74041c358eacab0.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/sprites/player/dino/dino_run7.png"
13
-dest_files=[ "res://.import/dino_run7.png-69b5cd76c612143645272a6bc6a1db20.stex" ]
12
+source_file="res://mini-game/ressources/sprites/player/dino/dino_run7.png"
13
+dest_files=[ "res://.import/dino_run7.png-b51a401cc3ce5863f74041c358eacab0.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 3
mini-game/ressources/sprites/player/dog.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/dog.png-51677182f113f41f60df4eada0f9d018.stex"
5
+path="res://.import/dog.png-35c2683f34da80a15656b0255a56e993.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/sprites/player/dog.png"
13
-dest_files=[ "res://.import/dog.png-51677182f113f41f60df4eada0f9d018.stex" ]
12
+source_file="res://mini-game/ressources/sprites/player/dog.png"
13
+dest_files=[ "res://.import/dog.png-35c2683f34da80a15656b0255a56e993.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 3
mini-game/ressources/sprites/player/dog1.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/dog1.png-9f98b76901ae8e7166d589e88f78ef0a.stex"
5
+path="res://.import/dog1.png-841ca4bb07588fb29b4f1915a050b18e.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/sprites/player/dog1.png"
13
-dest_files=[ "res://.import/dog1.png-9f98b76901ae8e7166d589e88f78ef0a.stex" ]
12
+source_file="res://mini-game/ressources/sprites/player/dog1.png"
13
+dest_files=[ "res://.import/dog1.png-841ca4bb07588fb29b4f1915a050b18e.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 3
mini-game/ressources/sprites/player/dog2.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/dog2.png-9276c4eea7fd003cde61b386b44be040.stex"
5
+path="res://.import/dog2.png-8f80f0a40f2c4c1adb652e231a1fce07.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/sprites/player/dog2.png"
13
-dest_files=[ "res://.import/dog2.png-9276c4eea7fd003cde61b386b44be040.stex" ]
12
+source_file="res://mini-game/ressources/sprites/player/dog2.png"
13
+dest_files=[ "res://.import/dog2.png-8f80f0a40f2c4c1adb652e231a1fce07.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 3
mini-game/ressources/sprites/player/dog4.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/dog4.png-6a6aa5d7f0acd53e89f0718cc3a33890.stex"
5
+path="res://.import/dog4.png-852bd0c41accb67dfff82370d4af3d6a.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/sprites/player/dog4.png"
13
-dest_files=[ "res://.import/dog4.png-6a6aa5d7f0acd53e89f0718cc3a33890.stex" ]
12
+source_file="res://mini-game/ressources/sprites/player/dog4.png"
13
+dest_files=[ "res://.import/dog4.png-852bd0c41accb67dfff82370d4af3d6a.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 3
mini-game/ressources/sprites/player/dog5.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/dog5.png-cb3588e583cdfb40573ae7d1f06eebbb.stex"
5
+path="res://.import/dog5.png-9ed290d27d8b27b7840d87845d9b73d2.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://ressources/sprites/player/dog5.png"
13
-dest_files=[ "res://.import/dog5.png-cb3588e583cdfb40573ae7d1f06eebbb.stex" ]
12
+source_file="res://mini-game/ressources/sprites/player/dog5.png"
13
+dest_files=[ "res://.import/dog5.png-9ed290d27d8b27b7840d87845d9b73d2.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 6
- 3
mini-game/scenes/bonuses/bonus1.tscn View File

@@ -1,8 +1,11 @@
1 1
 [gd_scene load_steps=5 format=2]
2 2
 
3
-[ext_resource path="res://scripts/bonus1.gd" type="Script" id=1]
4
-[ext_resource path="res://ressources/sprites/bonus/bone.png" type="Texture" id=2]
5
-[ext_resource path="res://scenes/effets/pick_bonus.tscn" type="PackedScene" id=3]
3
+[ext_resource path="res://mini-game/scripts/bonus1.gd" type="Script" id=1]
4
+[ext_resource path="res://mini-game/ressources/sprites/bonus/bone.png" type="Texture" id=2]
5
+[ext_resource path="res://mini-game/scenes/effets/pick_bonus.tscn" type="PackedScene" id=3]
6
+
7
+
8
+
6 9
 
7 10
 [sub_resource type="RectangleShape2D" id=1]
8 11
 extents = Vector2( 24.0183, 9.31512 )

+ 2
- 1
mini-game/scenes/decor/background.tscn View File

@@ -1,6 +1,7 @@
1 1
 [gd_scene load_steps=2 format=2]
2 2
 
3
-[ext_resource path="res://ressources/backgrounds/city.png" type="Texture" id=1]
3
+[ext_resource path="res://mini-game/ressources/backgrounds/city.png" type="Texture" id=1]
4
+
4 5
 
5 6
 [node name="background" type="Node2D"]
6 7
 

+ 2
- 2
mini-game/scenes/decor/foreground.tscn View File

@@ -1,7 +1,7 @@
1 1
 [gd_scene load_steps=4 format=2]
2 2
 
3
-[ext_resource path="res://scenes/effets/ScrollingBG.tscn" type="PackedScene" id=1]
4
-[ext_resource path="res://ressources/backgrounds/road3.png" type="Texture" id=2]
3
+[ext_resource path="res://mini-game/scenes/effets/ScrollingBG.tscn" type="PackedScene" id=1]
4
+[ext_resource path="res://mini-game/ressources/backgrounds/road3.png" type="Texture" id=2]
5 5
 
6 6
 [sub_resource type="RectangleShape2D" id=1]
7 7
 extents = Vector2( 552.889, 78.6175 )

+ 2
- 2
mini-game/scenes/decor/scoreUI.tscn View File

@@ -1,10 +1,10 @@
1 1
 [gd_scene load_steps=4 format=2]
2 2
 
3
-[ext_resource path="res://scripts/update_score.gd" type="Script" id=1]
3
+[ext_resource path="res://mini-game/scripts/update_score.gd" type="Script" id=1]
4 4
 
5 5
 [sub_resource type="DynamicFontData" id=1]
6 6
 antialiased = false
7
-font_path = "res://ressources/font/joystix/ot/joystix monospace.otf"
7
+font_path = "res://mini-game/ressources/font/joystix/ot/joystix monospace.otf"
8 8
 
9 9
 [sub_resource type="DynamicFont" id=2]
10 10
 size = 27

+ 1
- 1
mini-game/scenes/effets/ScrollingBG.tscn View File

@@ -1,6 +1,6 @@
1 1
 [gd_scene load_steps=4 format=2]
2 2
 
3
-[ext_resource path="res://scripts/ScrollingBG.gd" type="Script" id=1]
3
+[ext_resource path="res://mini-game/scripts/ScrollingBG.gd" type="Script" id=1]
4 4
 
5 5
 [sub_resource type="Shader" id=1]
6 6
 code = "shader_type canvas_item;

+ 6
- 9
mini-game/scenes/main.tscn View File

@@ -1,12 +1,10 @@
1
-[gd_scene load_steps=8 format=2]
1
+[gd_scene load_steps=6 format=2]
2 2
 
3
-[ext_resource path="res://scenes/decor/background.tscn" type="PackedScene" id=1]
4
-[ext_resource path="res://scenes/decor/foreground.tscn" type="PackedScene" id=2]
5
-[ext_resource path="res://scenes/players/player2.tscn" type="PackedScene" id=3]
6
-[ext_resource path="res://scenes/obstacles/obstacle1.tscn" type="PackedScene" id=4]
7
-[ext_resource path="res://scenes/bonuses/bonus1.tscn" type="PackedScene" id=5]
8
-[ext_resource path="res://scenes/spawner/spawner.tscn" type="PackedScene" id=6]
9
-[ext_resource path="res://scenes/decor/scoreUI.tscn" type="PackedScene" id=7]
3
+[ext_resource path="res://mini-game/scenes/decor/background.tscn" type="PackedScene" id=1]
4
+[ext_resource path="res://mini-game/scenes/decor/foreground.tscn" type="PackedScene" id=2]
5
+[ext_resource path="res://mini-game/scenes/players/player2.tscn" type="PackedScene" id=3]
6
+[ext_resource path="res://mini-game/scenes/spawner/spawner.tscn" type="PackedScene" id=6]
7
+[ext_resource path="res://mini-game/scenes/decor/scoreUI.tscn" type="PackedScene" id=7]
10 8
 
11 9
 [node name="main" type="Node2D"]
12 10
 
@@ -17,7 +15,6 @@ position = Vector2( 1, -125 )
17 15
 
18 16
 [node name="spawner" parent="." instance=ExtResource( 6 )]
19 17
 position = Vector2( 1112.97, 525.9 )
20
-scenes = [ ExtResource( 4 ), ExtResource( 5 ) ]
21 18
 
22 19
 [node name="player2" parent="." instance=ExtResource( 3 )]
23 20
 position = Vector2( 139.557, 526.191 )

+ 3
- 3
mini-game/scenes/obstacles/obstacle1.tscn View File

@@ -1,8 +1,8 @@
1 1
 [gd_scene load_steps=5 format=2]
2 2
 
3
-[ext_resource path="res://scripts/obstacle1.gd" type="Script" id=1]
4
-[ext_resource path="res://ressources/sprites/obstacle/barrel.png" type="Texture" id=2]
5
-[ext_resource path="res://scenes/effets/collision_obstacle.tscn" type="PackedScene" id=3]
3
+[ext_resource path="res://mini-game/scripts/obstacle1.gd" type="Script" id=1]
4
+[ext_resource path="res://mini-game/ressources/sprites/obstacle/barrel.png" type="Texture" id=2]
5
+[ext_resource path="res://mini-game/scenes/effets/collision_obstacle.tscn" type="PackedScene" id=3]
6 6
 
7 7
 [sub_resource type="RectangleShape2D" id=1]
8 8
 extents = Vector2( 28.3542, 36.1379 )

+ 16
- 16
mini-game/scenes/players/player2.tscn View File

@@ -1,26 +1,26 @@
1 1
 [gd_scene load_steps=16 format=2]
2 2
 
3
-[ext_resource path="res://ressources/sprites/player/dino/dino_run0.png" type="Texture" id=1]
4
-[ext_resource path="res://ressources/sprites/player/dino/dino_run3.png" type="Texture" id=2]
5
-[ext_resource path="res://ressources/sprites/player/dino/dino_run5.png" type="Texture" id=3]
6
-[ext_resource path="res://ressources/sprites/player/dino/dino_jump0.png" type="Texture" id=4]
7
-[ext_resource path="res://ressources/sprites/player/dino/dino_run4.png" type="Texture" id=5]
8
-[ext_resource path="res://scripts/player2.gd" type="Script" id=6]
9
-[ext_resource path="res://ressources/sprites/player/dino/dino_run7.png" type="Texture" id=7]
10
-[ext_resource path="res://ressources/sprites/player/dino/dino_run2.png" type="Texture" id=8]
11
-[ext_resource path="res://ressources/sprites/player/dino/dino_run6.png" type="Texture" id=9]
12
-[ext_resource path="res://ressources/sprites/player/dino/dino_jump1.png" type="Texture" id=10]
13
-[ext_resource path="res://ressources/sprites/player/dino/dino_jump2.png" type="Texture" id=11]
14
-[ext_resource path="res://ressources/sprites/player/dino/dino_run1.png" type="Texture" id=12]
3
+[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_run7.png" type="Texture" id=1]
4
+[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_run5.png" type="Texture" id=2]
5
+[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_run6.png" type="Texture" id=3]
6
+[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_run3.png" type="Texture" id=4]
7
+[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_jump2.png" type="Texture" id=5]
8
+[ext_resource path="res://mini-game/scripts/player2.gd" type="Script" id=6]
9
+[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_run0.png" type="Texture" id=7]
10
+[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_run4.png" type="Texture" id=8]
11
+[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_run2.png" type="Texture" id=9]
12
+[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_run1.png" type="Texture" id=10]
13
+[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_jump1.png" type="Texture" id=11]
14
+[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_jump0.png" type="Texture" id=12]
15 15
 
16 16
 [sub_resource type="SpriteFrames" id=1]
17 17
 animations = [ {
18
-"frames": [ ExtResource( 1 ), ExtResource( 12 ), ExtResource( 8 ), ExtResource( 2 ), ExtResource( 5 ), ExtResource( 3 ), ExtResource( 9 ), ExtResource( 7 ) ],
18
+"frames": [ ExtResource( 7 ), ExtResource( 10 ), ExtResource( 9 ), ExtResource( 4 ), ExtResource( 8 ), ExtResource( 2 ), ExtResource( 3 ), ExtResource( 1 ) ],
19 19
 "loop": true,
20
-"name": "New Anim",
20
+"name": "run",
21 21
 "speed": 5.0
22 22
 }, {
23
-"frames": [ ExtResource( 11 ), ExtResource( 4 ), ExtResource( 10 ) ],
23
+"frames": [ ExtResource( 12 ), ExtResource( 11 ), ExtResource( 5 ) ],
24 24
 "loop": true,
25 25
 "name": "jump",
26 26
 "speed": 5.0
@@ -39,7 +39,7 @@ script = ExtResource( 6 )
39 39
 position = Vector2( -0.0702338, 0.280932 )
40 40
 scale = Vector2( 1.04058, 1.03305 )
41 41
 frames = SubResource( 1 )
42
-animation = "New Anim"
42
+animation = "run"
43 43
 
44 44
 [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
45 45
 position = Vector2( 0, 0.471936 )

+ 5
- 2
mini-game/scenes/spawner/spawner.tscn View File

@@ -1,9 +1,12 @@
1
-[gd_scene load_steps=2 format=2]
1
+[gd_scene load_steps=4 format=2]
2 2
 
3
-[ext_resource path="res://scripts/spawner.gd" type="Script" id=1]
3
+[ext_resource path="res://mini-game/scripts/spawner.gd" type="Script" id=1]
4
+[ext_resource path="res://mini-game/scenes/obstacles/obstacle1.tscn" type="PackedScene" id=2]
5
+[ext_resource path="res://mini-game/scenes/bonuses/bonus1.tscn" type="PackedScene" id=3]
4 6
 
5 7
 [node name="spawner" type="Node2D"]
6 8
 script = ExtResource( 1 )
9
+scenes = [ ExtResource( 3 ), ExtResource( 2 ) ]
7 10
 
8 11
 [node name="Timer" type="Timer" parent="."]
9 12
 wait_time = 2.094

+ 1
- 2
mini-game/scripts/player2.gd View File

@@ -30,7 +30,6 @@ func _physics_process(delta):
30 30
 	match state:
31 31
 		RUN:
32 32
 			animation.play("run")
33
-			print("run")
34 33
 		JUMP:
35 34
 			vitesse = Vector2.ZERO
36 35
 			vitesse.y -= jump_vitesse
@@ -43,7 +42,7 @@ func _physics_process(delta):
43 42
 	move_and_collide(vitesse*delta)
44 43
 	
45 44
 func _input(event):
46
-	if state == RUN and event.is_action_pressed("jump"):
45
+	if state == RUN and event.is_action_pressed("ui_accept"):
47 46
 			state = JUMP
48 47
 			
49 48
 			

+ 1
- 0
mini-game/scripts/spawner.gd View File

@@ -13,6 +13,7 @@ func _ready():
13 13
 func _on_Timer_timeout():
14 14
 	random_scene.randomize()
15 15
 	scene_index = random_scene.randi_range(0,scenes.size()-1)
16
+	print(scene_index)
16 17
 	var tmp = scenes[scene_index].instance()
17 18
 	add_child_below_node(self,tmp)
18 19
 	last_object = tmp

+ 1
- 0
project.godot View File

@@ -51,6 +51,7 @@ config/icon="res://icon.png"
51 51
 [autoload]
52 52
 
53 53
 DialogicSingleton="*res://addons/dialogic/Other/DialogicSingleton.gd"
54
+Signals="*res://mini-game/scripts/Signals.gd"
54 55
 
55 56
 [display]
56 57
 

Loading…
Cancel
Save