fix mini game resources
This commit is contained in:
parent
6ed3322d62
commit
7e00d5a054
36 changed files with 118 additions and 113 deletions
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/background.png-c3552ba646e8ab268593b9d51421cc01.stex"
|
||||
path="res://.import/background.png-505e23e85d466d6becabf2def4a53663.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/backgrounds/background.png"
|
||||
dest_files=[ "res://.import/background.png-c3552ba646e8ab268593b9d51421cc01.stex" ]
|
||||
source_file="res://mini-game/ressources/backgrounds/background.png"
|
||||
dest_files=[ "res://.import/background.png-505e23e85d466d6becabf2def4a53663.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/city.png-024dd60751d768e1ef57987bd5d345ea.stex"
|
||||
path="res://.import/city.png-1075258dc360b89d3ff4479cf02b43bb.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/backgrounds/city.png"
|
||||
dest_files=[ "res://.import/city.png-024dd60751d768e1ef57987bd5d345ea.stex" ]
|
||||
source_file="res://mini-game/ressources/backgrounds/city.png"
|
||||
dest_files=[ "res://.import/city.png-1075258dc360b89d3ff4479cf02b43bb.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/ground.png-b938548b55d6ed7f289fa41319ca000b.stex"
|
||||
path="res://.import/ground.png-4932cc62bec22f379d126a8ed00b8065.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/backgrounds/ground.png"
|
||||
dest_files=[ "res://.import/ground.png-b938548b55d6ed7f289fa41319ca000b.stex" ]
|
||||
source_file="res://mini-game/ressources/backgrounds/ground.png"
|
||||
dest_files=[ "res://.import/ground.png-4932cc62bec22f379d126a8ed00b8065.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/road.png-b9823b376280fe70abf25de9e43fc540.stex"
|
||||
path="res://.import/road.png-a47382164ab08d2b16ee5556b011c7ae.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/backgrounds/road.png"
|
||||
dest_files=[ "res://.import/road.png-b9823b376280fe70abf25de9e43fc540.stex" ]
|
||||
source_file="res://mini-game/ressources/backgrounds/road.png"
|
||||
dest_files=[ "res://.import/road.png-a47382164ab08d2b16ee5556b011c7ae.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/road2.png-275c3c514e38a9d0ee4b0c412ca9232c.stex"
|
||||
path="res://.import/road2.png-e0bf36dfcd897889f0653f61c752133d.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/backgrounds/road2.png"
|
||||
dest_files=[ "res://.import/road2.png-275c3c514e38a9d0ee4b0c412ca9232c.stex" ]
|
||||
source_file="res://mini-game/ressources/backgrounds/road2.png"
|
||||
dest_files=[ "res://.import/road2.png-e0bf36dfcd897889f0653f61c752133d.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/road3.png-60e009dc891dbe4eedd54d2608f1b1ff.stex"
|
||||
path="res://.import/road3.png-648b2e9aa7ca850c48819c6380f474a0.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/backgrounds/road3.png"
|
||||
dest_files=[ "res://.import/road3.png-60e009dc891dbe4eedd54d2608f1b1ff.stex" ]
|
||||
source_file="res://mini-game/ressources/backgrounds/road3.png"
|
||||
dest_files=[ "res://.import/road3.png-648b2e9aa7ca850c48819c6380f474a0.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/bone.png-8a05f5f61e2aeb2c49e656ebc03b9f2f.stex"
|
||||
path="res://.import/bone.png-1c21ae42c4bb7f5942b118cd87d5aa15.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/bonus/bone.png"
|
||||
dest_files=[ "res://.import/bone.png-8a05f5f61e2aeb2c49e656ebc03b9f2f.stex" ]
|
||||
source_file="res://mini-game/ressources/sprites/bonus/bone.png"
|
||||
dest_files=[ "res://.import/bone.png-1c21ae42c4bb7f5942b118cd87d5aa15.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/barrel.png-44faee0c2515f02e61601d93efda09e4.stex"
|
||||
path="res://.import/barrel.png-8c2f352631b425d0e0cdc890f928d066.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/obstacle/barrel.png"
|
||||
dest_files=[ "res://.import/barrel.png-44faee0c2515f02e61601d93efda09e4.stex" ]
|
||||
source_file="res://mini-game/ressources/sprites/obstacle/barrel.png"
|
||||
dest_files=[ "res://.import/barrel.png-8c2f352631b425d0e0cdc890f928d066.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dino_jump0.png-6059c4e382ce5b1709cdd2fa0fb2070e.stex"
|
||||
path="res://.import/dino_jump0.png-f42548920dda357c6371bbdabebc6325.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/player/dino/dino_jump0.png"
|
||||
dest_files=[ "res://.import/dino_jump0.png-6059c4e382ce5b1709cdd2fa0fb2070e.stex" ]
|
||||
source_file="res://mini-game/ressources/sprites/player/dino/dino_jump0.png"
|
||||
dest_files=[ "res://.import/dino_jump0.png-f42548920dda357c6371bbdabebc6325.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dino_jump1.png-e1b552c305f5ee85c18d8df707276cd4.stex"
|
||||
path="res://.import/dino_jump1.png-6c246c4b8b8636b3dc2dcdf9b08e82be.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/player/dino/dino_jump1.png"
|
||||
dest_files=[ "res://.import/dino_jump1.png-e1b552c305f5ee85c18d8df707276cd4.stex" ]
|
||||
source_file="res://mini-game/ressources/sprites/player/dino/dino_jump1.png"
|
||||
dest_files=[ "res://.import/dino_jump1.png-6c246c4b8b8636b3dc2dcdf9b08e82be.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dino_jump2.png-a66878b1cd3bc9086cf63c5936950067.stex"
|
||||
path="res://.import/dino_jump2.png-ecb1fe56541a0df4799a3b6042d2ce92.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/player/dino/dino_jump2.png"
|
||||
dest_files=[ "res://.import/dino_jump2.png-a66878b1cd3bc9086cf63c5936950067.stex" ]
|
||||
source_file="res://mini-game/ressources/sprites/player/dino/dino_jump2.png"
|
||||
dest_files=[ "res://.import/dino_jump2.png-ecb1fe56541a0df4799a3b6042d2ce92.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dino_run0.png-412ca961a8fe566c49233ba244357dbd.stex"
|
||||
path="res://.import/dino_run0.png-277a46decf87f93ac078644264b56a33.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/player/dino/dino_run0.png"
|
||||
dest_files=[ "res://.import/dino_run0.png-412ca961a8fe566c49233ba244357dbd.stex" ]
|
||||
source_file="res://mini-game/ressources/sprites/player/dino/dino_run0.png"
|
||||
dest_files=[ "res://.import/dino_run0.png-277a46decf87f93ac078644264b56a33.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dino_run1.png-5abd4092ebff3966d624e5be824f67ad.stex"
|
||||
path="res://.import/dino_run1.png-0eba3efbc94d750d8317fa9e24f7b5dc.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/player/dino/dino_run1.png"
|
||||
dest_files=[ "res://.import/dino_run1.png-5abd4092ebff3966d624e5be824f67ad.stex" ]
|
||||
source_file="res://mini-game/ressources/sprites/player/dino/dino_run1.png"
|
||||
dest_files=[ "res://.import/dino_run1.png-0eba3efbc94d750d8317fa9e24f7b5dc.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dino_run2.png-7b747962a71c78b0e7938ecef7795232.stex"
|
||||
path="res://.import/dino_run2.png-4b33c27017050fdffde181059fe9b58d.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/player/dino/dino_run2.png"
|
||||
dest_files=[ "res://.import/dino_run2.png-7b747962a71c78b0e7938ecef7795232.stex" ]
|
||||
source_file="res://mini-game/ressources/sprites/player/dino/dino_run2.png"
|
||||
dest_files=[ "res://.import/dino_run2.png-4b33c27017050fdffde181059fe9b58d.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dino_run3.png-0e0a3ca73271a36bd93f95ed1e15dbf9.stex"
|
||||
path="res://.import/dino_run3.png-00c5c28236a73b9670170cc5487ccca6.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/player/dino/dino_run3.png"
|
||||
dest_files=[ "res://.import/dino_run3.png-0e0a3ca73271a36bd93f95ed1e15dbf9.stex" ]
|
||||
source_file="res://mini-game/ressources/sprites/player/dino/dino_run3.png"
|
||||
dest_files=[ "res://.import/dino_run3.png-00c5c28236a73b9670170cc5487ccca6.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dino_run4.png-d5cb086e0d2545772606f052a970e4c3.stex"
|
||||
path="res://.import/dino_run4.png-41d2ad8d069b3356d4d63c5953f5a3f3.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/player/dino/dino_run4.png"
|
||||
dest_files=[ "res://.import/dino_run4.png-d5cb086e0d2545772606f052a970e4c3.stex" ]
|
||||
source_file="res://mini-game/ressources/sprites/player/dino/dino_run4.png"
|
||||
dest_files=[ "res://.import/dino_run4.png-41d2ad8d069b3356d4d63c5953f5a3f3.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dino_run5.png-27fd280bf815b4a3994c25bf3df9638a.stex"
|
||||
path="res://.import/dino_run5.png-d9405fedd0a7d268302f9a0bc5e3548a.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/player/dino/dino_run5.png"
|
||||
dest_files=[ "res://.import/dino_run5.png-27fd280bf815b4a3994c25bf3df9638a.stex" ]
|
||||
source_file="res://mini-game/ressources/sprites/player/dino/dino_run5.png"
|
||||
dest_files=[ "res://.import/dino_run5.png-d9405fedd0a7d268302f9a0bc5e3548a.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dino_run6.png-3ad5af807d517db72756f883e2bbb3d3.stex"
|
||||
path="res://.import/dino_run6.png-f48669c4a74a9b8aa9fd8b625868688a.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/player/dino/dino_run6.png"
|
||||
dest_files=[ "res://.import/dino_run6.png-3ad5af807d517db72756f883e2bbb3d3.stex" ]
|
||||
source_file="res://mini-game/ressources/sprites/player/dino/dino_run6.png"
|
||||
dest_files=[ "res://.import/dino_run6.png-f48669c4a74a9b8aa9fd8b625868688a.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dino_run7.png-69b5cd76c612143645272a6bc6a1db20.stex"
|
||||
path="res://.import/dino_run7.png-b51a401cc3ce5863f74041c358eacab0.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/player/dino/dino_run7.png"
|
||||
dest_files=[ "res://.import/dino_run7.png-69b5cd76c612143645272a6bc6a1db20.stex" ]
|
||||
source_file="res://mini-game/ressources/sprites/player/dino/dino_run7.png"
|
||||
dest_files=[ "res://.import/dino_run7.png-b51a401cc3ce5863f74041c358eacab0.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dog.png-51677182f113f41f60df4eada0f9d018.stex"
|
||||
path="res://.import/dog.png-35c2683f34da80a15656b0255a56e993.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/player/dog.png"
|
||||
dest_files=[ "res://.import/dog.png-51677182f113f41f60df4eada0f9d018.stex" ]
|
||||
source_file="res://mini-game/ressources/sprites/player/dog.png"
|
||||
dest_files=[ "res://.import/dog.png-35c2683f34da80a15656b0255a56e993.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dog1.png-9f98b76901ae8e7166d589e88f78ef0a.stex"
|
||||
path="res://.import/dog1.png-841ca4bb07588fb29b4f1915a050b18e.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/player/dog1.png"
|
||||
dest_files=[ "res://.import/dog1.png-9f98b76901ae8e7166d589e88f78ef0a.stex" ]
|
||||
source_file="res://mini-game/ressources/sprites/player/dog1.png"
|
||||
dest_files=[ "res://.import/dog1.png-841ca4bb07588fb29b4f1915a050b18e.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dog2.png-9276c4eea7fd003cde61b386b44be040.stex"
|
||||
path="res://.import/dog2.png-8f80f0a40f2c4c1adb652e231a1fce07.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/player/dog2.png"
|
||||
dest_files=[ "res://.import/dog2.png-9276c4eea7fd003cde61b386b44be040.stex" ]
|
||||
source_file="res://mini-game/ressources/sprites/player/dog2.png"
|
||||
dest_files=[ "res://.import/dog2.png-8f80f0a40f2c4c1adb652e231a1fce07.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dog4.png-6a6aa5d7f0acd53e89f0718cc3a33890.stex"
|
||||
path="res://.import/dog4.png-852bd0c41accb67dfff82370d4af3d6a.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/player/dog4.png"
|
||||
dest_files=[ "res://.import/dog4.png-6a6aa5d7f0acd53e89f0718cc3a33890.stex" ]
|
||||
source_file="res://mini-game/ressources/sprites/player/dog4.png"
|
||||
dest_files=[ "res://.import/dog4.png-852bd0c41accb67dfff82370d4af3d6a.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dog5.png-cb3588e583cdfb40573ae7d1f06eebbb.stex"
|
||||
path="res://.import/dog5.png-9ed290d27d8b27b7840d87845d9b73d2.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/player/dog5.png"
|
||||
dest_files=[ "res://.import/dog5.png-cb3588e583cdfb40573ae7d1f06eebbb.stex" ]
|
||||
source_file="res://mini-game/ressources/sprites/player/dog5.png"
|
||||
dest_files=[ "res://.import/dog5.png-9ed290d27d8b27b7840d87845d9b73d2.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/bonus1.gd" type="Script" id=1]
|
||||
[ext_resource path="res://ressources/sprites/bonus/bone.png" type="Texture" id=2]
|
||||
[ext_resource path="res://scenes/effets/pick_bonus.tscn" type="PackedScene" id=3]
|
||||
[ext_resource path="res://mini-game/scripts/bonus1.gd" type="Script" id=1]
|
||||
[ext_resource path="res://mini-game/ressources/sprites/bonus/bone.png" type="Texture" id=2]
|
||||
[ext_resource path="res://mini-game/scenes/effets/pick_bonus.tscn" type="PackedScene" id=3]
|
||||
|
||||
|
||||
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 24.0183, 9.31512 )
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://ressources/backgrounds/city.png" type="Texture" id=1]
|
||||
[ext_resource path="res://mini-game/ressources/backgrounds/city.png" type="Texture" id=1]
|
||||
|
||||
|
||||
[node name="background" type="Node2D"]
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://scenes/effets/ScrollingBG.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://ressources/backgrounds/road3.png" type="Texture" id=2]
|
||||
[ext_resource path="res://mini-game/scenes/effets/ScrollingBG.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://mini-game/ressources/backgrounds/road3.png" type="Texture" id=2]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 552.889, 78.6175 )
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/update_score.gd" type="Script" id=1]
|
||||
[ext_resource path="res://mini-game/scripts/update_score.gd" type="Script" id=1]
|
||||
|
||||
[sub_resource type="DynamicFontData" id=1]
|
||||
antialiased = false
|
||||
font_path = "res://ressources/font/joystix/ot/joystix monospace.otf"
|
||||
font_path = "res://mini-game/ressources/font/joystix/ot/joystix monospace.otf"
|
||||
|
||||
[sub_resource type="DynamicFont" id=2]
|
||||
size = 27
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/ScrollingBG.gd" type="Script" id=1]
|
||||
[ext_resource path="res://mini-game/scripts/ScrollingBG.gd" type="Script" id=1]
|
||||
|
||||
[sub_resource type="Shader" id=1]
|
||||
code = "shader_type canvas_item;
|
||||
|
|
|
@ -1,12 +1,10 @@
|
|||
[gd_scene load_steps=8 format=2]
|
||||
[gd_scene load_steps=6 format=2]
|
||||
|
||||
[ext_resource path="res://scenes/decor/background.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://scenes/decor/foreground.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://scenes/players/player2.tscn" type="PackedScene" id=3]
|
||||
[ext_resource path="res://scenes/obstacles/obstacle1.tscn" type="PackedScene" id=4]
|
||||
[ext_resource path="res://scenes/bonuses/bonus1.tscn" type="PackedScene" id=5]
|
||||
[ext_resource path="res://scenes/spawner/spawner.tscn" type="PackedScene" id=6]
|
||||
[ext_resource path="res://scenes/decor/scoreUI.tscn" type="PackedScene" id=7]
|
||||
[ext_resource path="res://mini-game/scenes/decor/background.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://mini-game/scenes/decor/foreground.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://mini-game/scenes/players/player2.tscn" type="PackedScene" id=3]
|
||||
[ext_resource path="res://mini-game/scenes/spawner/spawner.tscn" type="PackedScene" id=6]
|
||||
[ext_resource path="res://mini-game/scenes/decor/scoreUI.tscn" type="PackedScene" id=7]
|
||||
|
||||
[node name="main" type="Node2D"]
|
||||
|
||||
|
@ -17,7 +15,6 @@ position = Vector2( 1, -125 )
|
|||
|
||||
[node name="spawner" parent="." instance=ExtResource( 6 )]
|
||||
position = Vector2( 1112.97, 525.9 )
|
||||
scenes = [ ExtResource( 4 ), ExtResource( 5 ) ]
|
||||
|
||||
[node name="player2" parent="." instance=ExtResource( 3 )]
|
||||
position = Vector2( 139.557, 526.191 )
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/obstacle1.gd" type="Script" id=1]
|
||||
[ext_resource path="res://ressources/sprites/obstacle/barrel.png" type="Texture" id=2]
|
||||
[ext_resource path="res://scenes/effets/collision_obstacle.tscn" type="PackedScene" id=3]
|
||||
[ext_resource path="res://mini-game/scripts/obstacle1.gd" type="Script" id=1]
|
||||
[ext_resource path="res://mini-game/ressources/sprites/obstacle/barrel.png" type="Texture" id=2]
|
||||
[ext_resource path="res://mini-game/scenes/effets/collision_obstacle.tscn" type="PackedScene" id=3]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 28.3542, 36.1379 )
|
||||
|
|
|
@ -1,26 +1,26 @@
|
|||
[gd_scene load_steps=16 format=2]
|
||||
|
||||
[ext_resource path="res://ressources/sprites/player/dino/dino_run0.png" type="Texture" id=1]
|
||||
[ext_resource path="res://ressources/sprites/player/dino/dino_run3.png" type="Texture" id=2]
|
||||
[ext_resource path="res://ressources/sprites/player/dino/dino_run5.png" type="Texture" id=3]
|
||||
[ext_resource path="res://ressources/sprites/player/dino/dino_jump0.png" type="Texture" id=4]
|
||||
[ext_resource path="res://ressources/sprites/player/dino/dino_run4.png" type="Texture" id=5]
|
||||
[ext_resource path="res://scripts/player2.gd" type="Script" id=6]
|
||||
[ext_resource path="res://ressources/sprites/player/dino/dino_run7.png" type="Texture" id=7]
|
||||
[ext_resource path="res://ressources/sprites/player/dino/dino_run2.png" type="Texture" id=8]
|
||||
[ext_resource path="res://ressources/sprites/player/dino/dino_run6.png" type="Texture" id=9]
|
||||
[ext_resource path="res://ressources/sprites/player/dino/dino_jump1.png" type="Texture" id=10]
|
||||
[ext_resource path="res://ressources/sprites/player/dino/dino_jump2.png" type="Texture" id=11]
|
||||
[ext_resource path="res://ressources/sprites/player/dino/dino_run1.png" type="Texture" id=12]
|
||||
[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_run7.png" type="Texture" id=1]
|
||||
[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_run5.png" type="Texture" id=2]
|
||||
[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_run6.png" type="Texture" id=3]
|
||||
[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_run3.png" type="Texture" id=4]
|
||||
[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_jump2.png" type="Texture" id=5]
|
||||
[ext_resource path="res://mini-game/scripts/player2.gd" type="Script" id=6]
|
||||
[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_run0.png" type="Texture" id=7]
|
||||
[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_run4.png" type="Texture" id=8]
|
||||
[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_run2.png" type="Texture" id=9]
|
||||
[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_run1.png" type="Texture" id=10]
|
||||
[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_jump1.png" type="Texture" id=11]
|
||||
[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_jump0.png" type="Texture" id=12]
|
||||
|
||||
[sub_resource type="SpriteFrames" id=1]
|
||||
animations = [ {
|
||||
"frames": [ ExtResource( 1 ), ExtResource( 12 ), ExtResource( 8 ), ExtResource( 2 ), ExtResource( 5 ), ExtResource( 3 ), ExtResource( 9 ), ExtResource( 7 ) ],
|
||||
"frames": [ ExtResource( 7 ), ExtResource( 10 ), ExtResource( 9 ), ExtResource( 4 ), ExtResource( 8 ), ExtResource( 2 ), ExtResource( 3 ), ExtResource( 1 ) ],
|
||||
"loop": true,
|
||||
"name": "New Anim",
|
||||
"name": "run",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ ExtResource( 11 ), ExtResource( 4 ), ExtResource( 10 ) ],
|
||||
"frames": [ ExtResource( 12 ), ExtResource( 11 ), ExtResource( 5 ) ],
|
||||
"loop": true,
|
||||
"name": "jump",
|
||||
"speed": 5.0
|
||||
|
@ -39,7 +39,7 @@ script = ExtResource( 6 )
|
|||
position = Vector2( -0.0702338, 0.280932 )
|
||||
scale = Vector2( 1.04058, 1.03305 )
|
||||
frames = SubResource( 1 )
|
||||
animation = "New Anim"
|
||||
animation = "run"
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2( 0, 0.471936 )
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/spawner.gd" type="Script" id=1]
|
||||
[ext_resource path="res://mini-game/scripts/spawner.gd" type="Script" id=1]
|
||||
[ext_resource path="res://mini-game/scenes/obstacles/obstacle1.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://mini-game/scenes/bonuses/bonus1.tscn" type="PackedScene" id=3]
|
||||
|
||||
[node name="spawner" type="Node2D"]
|
||||
script = ExtResource( 1 )
|
||||
scenes = [ ExtResource( 3 ), ExtResource( 2 ) ]
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
wait_time = 2.094
|
||||
|
|
|
@ -30,7 +30,6 @@ func _physics_process(delta):
|
|||
match state:
|
||||
RUN:
|
||||
animation.play("run")
|
||||
print("run")
|
||||
JUMP:
|
||||
vitesse = Vector2.ZERO
|
||||
vitesse.y -= jump_vitesse
|
||||
|
@ -43,7 +42,7 @@ func _physics_process(delta):
|
|||
move_and_collide(vitesse*delta)
|
||||
|
||||
func _input(event):
|
||||
if state == RUN and event.is_action_pressed("jump"):
|
||||
if state == RUN and event.is_action_pressed("ui_accept"):
|
||||
state = JUMP
|
||||
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@ func _ready():
|
|||
func _on_Timer_timeout():
|
||||
random_scene.randomize()
|
||||
scene_index = random_scene.randi_range(0,scenes.size()-1)
|
||||
print(scene_index)
|
||||
var tmp = scenes[scene_index].instance()
|
||||
add_child_below_node(self,tmp)
|
||||
last_object = tmp
|
||||
|
|
|
@ -51,6 +51,7 @@ config/icon="res://icon.png"
|
|||
[autoload]
|
||||
|
||||
DialogicSingleton="*res://addons/dialogic/Other/DialogicSingleton.gd"
|
||||
Signals="*res://mini-game/scripts/Signals.gd"
|
||||
|
||||
[display]
|
||||
|
||||
|
|
Loading…
Reference in a new issue