Instauration du mini-jeu
BIN
mini-game/ressources/backgrounds/background.png
Normal file
After Width: | Height: | Size: 226 KiB |
34
mini-game/ressources/backgrounds/background.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/background.png-c3552ba646e8ab268593b9d51421cc01.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/backgrounds/background.png"
|
||||
dest_files=[ "res://.import/background.png-c3552ba646e8ab268593b9d51421cc01.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
mini-game/ressources/backgrounds/city.png
Normal file
After Width: | Height: | Size: 262 KiB |
34
mini-game/ressources/backgrounds/city.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/city.png-024dd60751d768e1ef57987bd5d345ea.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/backgrounds/city.png"
|
||||
dest_files=[ "res://.import/city.png-024dd60751d768e1ef57987bd5d345ea.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
mini-game/ressources/backgrounds/ground.png
Normal file
After Width: | Height: | Size: 23 KiB |
34
mini-game/ressources/backgrounds/ground.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/ground.png-b938548b55d6ed7f289fa41319ca000b.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/backgrounds/ground.png"
|
||||
dest_files=[ "res://.import/ground.png-b938548b55d6ed7f289fa41319ca000b.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
mini-game/ressources/backgrounds/road.png
Normal file
After Width: | Height: | Size: 14 KiB |
34
mini-game/ressources/backgrounds/road.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/road.png-b9823b376280fe70abf25de9e43fc540.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/backgrounds/road.png"
|
||||
dest_files=[ "res://.import/road.png-b9823b376280fe70abf25de9e43fc540.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
mini-game/ressources/backgrounds/road2.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
34
mini-game/ressources/backgrounds/road2.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/road2.png-275c3c514e38a9d0ee4b0c412ca9232c.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/backgrounds/road2.png"
|
||||
dest_files=[ "res://.import/road2.png-275c3c514e38a9d0ee4b0c412ca9232c.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
mini-game/ressources/backgrounds/road3.png
Normal file
After Width: | Height: | Size: 21 KiB |
34
mini-game/ressources/backgrounds/road3.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/road3.png-60e009dc891dbe4eedd54d2608f1b1ff.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/backgrounds/road3.png"
|
||||
dest_files=[ "res://.import/road3.png-60e009dc891dbe4eedd54d2608f1b1ff.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
mini-game/ressources/font/joystix/ot/joystix monospace.otf
Normal file
BIN
mini-game/ressources/font/joystix/tt/joystix monospace.ttf
Normal file
202
mini-game/ressources/font/open-sans/LICENSE.txt
Normal file
|
@ -0,0 +1,202 @@
|
|||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
BIN
mini-game/ressources/font/open-sans/OpenSans-Bold.ttf
Normal file
BIN
mini-game/ressources/font/open-sans/OpenSans-BoldItalic.ttf
Normal file
BIN
mini-game/ressources/font/open-sans/OpenSans-ExtraBold.ttf
Normal file
BIN
mini-game/ressources/font/open-sans/OpenSans-ExtraBoldItalic.ttf
Normal file
BIN
mini-game/ressources/font/open-sans/OpenSans-Italic.ttf
Normal file
BIN
mini-game/ressources/font/open-sans/OpenSans-Light.ttf
Normal file
BIN
mini-game/ressources/font/open-sans/OpenSans-LightItalic.ttf
Normal file
BIN
mini-game/ressources/font/open-sans/OpenSans-Regular.ttf
Normal file
BIN
mini-game/ressources/font/open-sans/OpenSans-Semibold.ttf
Normal file
BIN
mini-game/ressources/font/open-sans/OpenSans-SemiboldItalic.ttf
Normal file
BIN
mini-game/ressources/sprites/bonus/bone.png
Normal file
After Width: | Height: | Size: 6.3 KiB |
34
mini-game/ressources/sprites/bonus/bone.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/bone.png-8a05f5f61e2aeb2c49e656ebc03b9f2f.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/bonus/bone.png"
|
||||
dest_files=[ "res://.import/bone.png-8a05f5f61e2aeb2c49e656ebc03b9f2f.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
mini-game/ressources/sprites/obstacle/barrel.png
Normal file
After Width: | Height: | Size: 13 KiB |
34
mini-game/ressources/sprites/obstacle/barrel.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/barrel.png-44faee0c2515f02e61601d93efda09e4.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/obstacle/barrel.png"
|
||||
dest_files=[ "res://.import/barrel.png-44faee0c2515f02e61601d93efda09e4.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
mini-game/ressources/sprites/player/dino/dino_jump0.png
Normal file
After Width: | Height: | Size: 12 KiB |
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dino_jump0.png-6059c4e382ce5b1709cdd2fa0fb2070e.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" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
mini-game/ressources/sprites/player/dino/dino_jump1.png
Normal file
After Width: | Height: | Size: 12 KiB |
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dino_jump1.png-e1b552c305f5ee85c18d8df707276cd4.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" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
mini-game/ressources/sprites/player/dino/dino_jump2.png
Normal file
After Width: | Height: | Size: 12 KiB |
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dino_jump2.png-a66878b1cd3bc9086cf63c5936950067.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" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
mini-game/ressources/sprites/player/dino/dino_run0.png
Normal file
After Width: | Height: | Size: 9.3 KiB |
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dino_run0.png-412ca961a8fe566c49233ba244357dbd.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" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
mini-game/ressources/sprites/player/dino/dino_run1.png
Normal file
After Width: | Height: | Size: 9.4 KiB |
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dino_run1.png-5abd4092ebff3966d624e5be824f67ad.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" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
mini-game/ressources/sprites/player/dino/dino_run2.png
Normal file
After Width: | Height: | Size: 9.3 KiB |
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dino_run2.png-7b747962a71c78b0e7938ecef7795232.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" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
mini-game/ressources/sprites/player/dino/dino_run3.png
Normal file
After Width: | Height: | Size: 9.4 KiB |
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dino_run3.png-0e0a3ca73271a36bd93f95ed1e15dbf9.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" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
mini-game/ressources/sprites/player/dino/dino_run4.png
Normal file
After Width: | Height: | Size: 9.5 KiB |
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dino_run4.png-d5cb086e0d2545772606f052a970e4c3.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" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
mini-game/ressources/sprites/player/dino/dino_run5.png
Normal file
After Width: | Height: | Size: 9.3 KiB |
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dino_run5.png-27fd280bf815b4a3994c25bf3df9638a.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" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
mini-game/ressources/sprites/player/dino/dino_run6.png
Normal file
After Width: | Height: | Size: 9.4 KiB |
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dino_run6.png-3ad5af807d517db72756f883e2bbb3d3.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" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
mini-game/ressources/sprites/player/dino/dino_run7.png
Normal file
After Width: | Height: | Size: 9.5 KiB |
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dino_run7.png-69b5cd76c612143645272a6bc6a1db20.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" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
mini-game/ressources/sprites/player/dog.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
34
mini-game/ressources/sprites/player/dog.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dog.png-51677182f113f41f60df4eada0f9d018.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/player/dog.png"
|
||||
dest_files=[ "res://.import/dog.png-51677182f113f41f60df4eada0f9d018.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
mini-game/ressources/sprites/player/dog1.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
34
mini-game/ressources/sprites/player/dog1.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dog1.png-9f98b76901ae8e7166d589e88f78ef0a.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/player/dog1.png"
|
||||
dest_files=[ "res://.import/dog1.png-9f98b76901ae8e7166d589e88f78ef0a.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
mini-game/ressources/sprites/player/dog2.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
34
mini-game/ressources/sprites/player/dog2.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dog2.png-9276c4eea7fd003cde61b386b44be040.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/player/dog2.png"
|
||||
dest_files=[ "res://.import/dog2.png-9276c4eea7fd003cde61b386b44be040.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
mini-game/ressources/sprites/player/dog4.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
34
mini-game/ressources/sprites/player/dog4.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dog4.png-6a6aa5d7f0acd53e89f0718cc3a33890.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/player/dog4.png"
|
||||
dest_files=[ "res://.import/dog4.png-6a6aa5d7f0acd53e89f0718cc3a33890.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
mini-game/ressources/sprites/player/dog5.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
34
mini-game/ressources/sprites/player/dog5.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/dog5.png-cb3588e583cdfb40573ae7d1f06eebbb.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ressources/sprites/player/dog5.png"
|
||||
dest_files=[ "res://.import/dog5.png-cb3588e583cdfb40573ae7d1f06eebbb.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
21
mini-game/scenes/bonuses/bonus1.tscn
Normal file
|
@ -0,0 +1,21 @@
|
|||
[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]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 24.0183, 9.31512 )
|
||||
|
||||
[node name="bonus1" type="Node2D"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
scale = Vector2( 0.119644, 0.119644 )
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="pick_bonus" parent="." instance=ExtResource( 3 )]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="pick_bonus"]
|
||||
shape = SubResource( 1 )
|
||||
[connection signal="body_entered" from="pick_bonus" to="." method="_on_pick_bonus_body_entered"]
|
16
mini-game/scenes/decor/background.tscn
Normal file
|
@ -0,0 +1,16 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://ressources/backgrounds/city.png" type="Texture" id=1]
|
||||
|
||||
[node name="background" type="Node2D"]
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
margin_left = -314.408
|
||||
margin_top = 2.29705
|
||||
margin_right = 765.592
|
||||
margin_bottom = 352.297
|
||||
rect_scale = Vector2( 1.69012, 1.70829 )
|
||||
texture = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
23
mini-game/scenes/decor/foreground.tscn
Normal file
|
@ -0,0 +1,23 @@
|
|||
[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]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 552.889, 78.6175 )
|
||||
|
||||
[node name="foreground" type="Node2D"]
|
||||
|
||||
[node name="ScrollingBG" parent="." instance=ExtResource( 1 )]
|
||||
margin_left = 0.734742
|
||||
margin_top = -356.907
|
||||
margin_right = 1920.73
|
||||
margin_bottom = 723.093
|
||||
rect_scale = Vector2( 0.533041, 0.912837 )
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
||||
position = Vector2( 497.671, 612.885 )
|
||||
shape = SubResource( 1 )
|
38
mini-game/scenes/decor/scoreUI.tscn
Normal file
|
@ -0,0 +1,38 @@
|
|||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://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"
|
||||
|
||||
[sub_resource type="DynamicFont" id=2]
|
||||
size = 27
|
||||
outline_color = Color( 0, 0, 0, 1 )
|
||||
font_data = SubResource( 1 )
|
||||
|
||||
[node name="scoreUI" type="Control"]
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="RichTextLabel" type="RichTextLabel" parent="."]
|
||||
anchor_left = -0.484
|
||||
anchor_right = -0.162
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 308.509
|
||||
margin_top = 16.6272
|
||||
margin_right = 387.509
|
||||
margin_bottom = 51.6272
|
||||
grow_horizontal = 0
|
||||
rect_scale = Vector2( 6.28409, 6.63013 )
|
||||
custom_fonts/normal_font = SubResource( 2 )
|
||||
custom_colors/default_color = Color( 0, 0, 0, 1 )
|
||||
tab_size = 1
|
||||
text = "0"
|
||||
fit_content_height = true
|
||||
scroll_active = false
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
28
mini-game/scenes/effets/ScrollingBG.tscn
Normal file
|
@ -0,0 +1,28 @@
|
|||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/ScrollingBG.gd" type="Script" id=1]
|
||||
|
||||
[sub_resource type="Shader" id=1]
|
||||
code = "shader_type canvas_item;
|
||||
|
||||
uniform float scroll_speed;
|
||||
|
||||
void fragment(){
|
||||
vec2 u = UV;
|
||||
u.x += scroll_speed*TIME;
|
||||
vec4 color = texture(TEXTURE,u);
|
||||
COLOR = color;
|
||||
}
|
||||
"
|
||||
|
||||
[sub_resource type="ShaderMaterial" id=2]
|
||||
shader = SubResource( 1 )
|
||||
shader_param/scroll_speed = 0.2
|
||||
|
||||
[node name="ScrollingBG" type="TextureRect"]
|
||||
material = SubResource( 2 )
|
||||
stretch_mode = 2
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
3
mini-game/scenes/effets/collision_obstacle.tscn
Normal file
|
@ -0,0 +1,3 @@
|
|||
[gd_scene format=2]
|
||||
|
||||
[node name="collision_obstacle" type="Area2D"]
|
3
mini-game/scenes/effets/pick_bonus.tscn
Normal file
|
@ -0,0 +1,3 @@
|
|||
[gd_scene format=2]
|
||||
|
||||
[node name="pick_bonus" type="Area2D"]
|
26
mini-game/scenes/main.tscn
Normal file
|
@ -0,0 +1,26 @@
|
|||
[gd_scene load_steps=8 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]
|
||||
|
||||
[node name="main" type="Node2D"]
|
||||
|
||||
[node name="background" parent="." instance=ExtResource( 1 )]
|
||||
position = Vector2( 1, -125 )
|
||||
|
||||
[node name="foreground" parent="." instance=ExtResource( 2 )]
|
||||
|
||||
[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 )
|
||||
scale = Vector2( 4.7029, 4.7029 )
|
||||
|
||||
[node name="scoreUI" parent="." instance=ExtResource( 7 )]
|
21
mini-game/scenes/obstacles/obstacle1.tscn
Normal file
|
@ -0,0 +1,21 @@
|
|||
[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]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 28.3542, 36.1379 )
|
||||
|
||||
[node name="obstacle1" type="Node2D"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
scale = Vector2( 0.202437, 0.202437 )
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="collision_obstacle" parent="." instance=ExtResource( 3 )]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="collision_obstacle"]
|
||||
shape = SubResource( 1 )
|
||||
[connection signal="body_entered" from="collision_obstacle" to="." method="_on_collision_obstacle_body_entered"]
|
6
mini-game/scenes/players/player1.tscn
Normal file
|
@ -0,0 +1,6 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/player1.gd" type="Script" id=1]
|
||||
|
||||
[node name="player1" type="Node2D"]
|
||||
script = ExtResource( 1 )
|
55
mini-game/scenes/players/player2.tscn
Normal file
|
@ -0,0 +1,55 @@
|
|||
[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]
|
||||
|
||||
[sub_resource type="SpriteFrames" id=1]
|
||||
animations = [ {
|
||||
"frames": [ ExtResource( 1 ), ExtResource( 12 ), ExtResource( 8 ), ExtResource( 2 ), ExtResource( 5 ), ExtResource( 3 ), ExtResource( 9 ), ExtResource( 7 ) ],
|
||||
"loop": true,
|
||||
"name": "New Anim",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ ExtResource( 11 ), ExtResource( 4 ), ExtResource( 10 ) ],
|
||||
"loop": true,
|
||||
"name": "jump",
|
||||
"speed": 5.0
|
||||
} ]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=2]
|
||||
extents = Vector2( 7.99984, 8.75317 )
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=3]
|
||||
extents = Vector2( 12.932, 6.33675 )
|
||||
|
||||
[node name="player2" type="KinematicBody2D"]
|
||||
script = ExtResource( 6 )
|
||||
|
||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||
position = Vector2( -0.0702338, 0.280932 )
|
||||
scale = Vector2( 1.04058, 1.03305 )
|
||||
frames = SubResource( 1 )
|
||||
animation = "New Anim"
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2( 0, 0.471936 )
|
||||
shape = SubResource( 2 )
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||
position = Vector2( -0.0400658, 9.23466 )
|
||||
scale = Vector2( 0.609429, 0.281311 )
|
||||
shape = SubResource( 3 )
|
||||
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]
|
||||
[connection signal="body_exited" from="Area2D" to="." method="_on_Area2D_body_exited"]
|
11
mini-game/scenes/spawner/spawner.tscn
Normal file
|
@ -0,0 +1,11 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/spawner.gd" type="Script" id=1]
|
||||
|
||||
[node name="spawner" type="Node2D"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
wait_time = 2.094
|
||||
autostart = true
|
||||
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
|
19
mini-game/scripts/ScrollingBG.gd
Normal file
|
@ -0,0 +1,19 @@
|
|||
extends TextureRect
|
||||
|
||||
|
||||
# Declare member variables here. Examples:
|
||||
# var a = 2
|
||||
# var b = "text"
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
|
||||
func _ready():
|
||||
Signals.connect("die",self,"game_over")
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
#func _process(delta):
|
||||
# pass
|
||||
func game_over():
|
||||
material.set_shader_param("scroll_speed",0)
|
5
mini-game/scripts/Signals.gd
Normal file
|
@ -0,0 +1,5 @@
|
|||
extends Node2D
|
||||
|
||||
signal die
|
||||
signal gain
|
||||
signal update_score
|
12
mini-game/scripts/bonus1.gd
Normal file
|
@ -0,0 +1,12 @@
|
|||
extends "scroll_movement.gd"
|
||||
|
||||
|
||||
func _physics_process(delta):
|
||||
move()
|
||||
|
||||
|
||||
|
||||
func _on_pick_bonus_body_entered(body):
|
||||
if body.name == "player2" :
|
||||
Signals.emit_signal("gain",1)
|
||||
queue_free()
|
12
mini-game/scripts/obstacle1.gd
Normal file
|
@ -0,0 +1,12 @@
|
|||
extends "scroll_movement.gd"
|
||||
|
||||
|
||||
func _physics_process(delta):
|
||||
move()
|
||||
|
||||
|
||||
|
||||
func _on_collision_obstacle_body_entered(body):
|
||||
if body.name == "player2" :
|
||||
Signals.emit_signal("die")
|
||||
queue_free()
|
16
mini-game/scripts/player1.gd
Normal file
|
@ -0,0 +1,16 @@
|
|||
extends Node2D
|
||||
|
||||
|
||||
# Declare member variables here. Examples:
|
||||
# var a = 2
|
||||
# var b = "text"
|
||||
onready var animation = $AnimatedSprite
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
animation.play("run")
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
#func _process(delta):
|
||||
# pass
|
77
mini-game/scripts/player2.gd
Normal file
|
@ -0,0 +1,77 @@
|
|||
extends KinematicBody2D
|
||||
|
||||
var vitesse = Vector2.ZERO
|
||||
|
||||
var score = 0
|
||||
|
||||
export var jump_vitesse = 600.0
|
||||
export var gravite = 20.0
|
||||
|
||||
enum {
|
||||
RUN,
|
||||
JUMP,
|
||||
IDLE
|
||||
}
|
||||
|
||||
var state = RUN
|
||||
var au_sol = true
|
||||
|
||||
# Declare member variables here. Examples:
|
||||
# var a = 2
|
||||
# var b = "text"
|
||||
onready var animation = $AnimatedSprite
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
Signals.connect("gain",self,"increase_score")
|
||||
Signals.connect("die",self,"player_die")
|
||||
|
||||
func _physics_process(delta):
|
||||
match state:
|
||||
RUN:
|
||||
animation.play("run")
|
||||
print("run")
|
||||
JUMP:
|
||||
vitesse = Vector2.ZERO
|
||||
vitesse.y -= jump_vitesse
|
||||
animation.play("jump")
|
||||
state = IDLE
|
||||
print("jump")
|
||||
IDLE:
|
||||
pass
|
||||
vitesse.y += gravite
|
||||
move_and_collide(vitesse*delta)
|
||||
|
||||
func _input(event):
|
||||
if state == RUN and event.is_action_pressed("jump"):
|
||||
state = JUMP
|
||||
|
||||
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
#func _process(delta):
|
||||
# pass
|
||||
|
||||
|
||||
func _on_Area2D_body_entered(body):
|
||||
print("landing")
|
||||
if body is StaticBody2D:
|
||||
print("Yep a dino is landing")
|
||||
state = RUN
|
||||
|
||||
|
||||
|
||||
func _on_Area2D_body_exited(body):
|
||||
print("jumping")
|
||||
if body is StaticBody2D:
|
||||
print("Yep a dino is jumping")
|
||||
state = JUMP
|
||||
|
||||
func increase_score(scoretoadd):
|
||||
score+=scoretoadd
|
||||
Signals.emit_signal("update_score",score)
|
||||
print(score)
|
||||
|
||||
func player_die():
|
||||
queue_free()
|
13
mini-game/scripts/scroll_movement.gd
Normal file
|
@ -0,0 +1,13 @@
|
|||
extends Node2D
|
||||
|
||||
export var scroll_speed = 6.3
|
||||
|
||||
func _ready():
|
||||
Signals.connect("die",self,"game_over")
|
||||
|
||||
func move():
|
||||
self.position.x -= scroll_speed
|
||||
|
||||
func game_over():
|
||||
print("game_over")
|
||||
scroll_speed = 0
|
25
mini-game/scripts/spawner.gd
Normal file
|
@ -0,0 +1,25 @@
|
|||
extends Node2D
|
||||
|
||||
export (Array,PackedScene) var scenes
|
||||
|
||||
var random_scene = RandomNumberGenerator.new()
|
||||
var scene_index = 0;
|
||||
var last_object
|
||||
var end_of_game = false
|
||||
|
||||
func _ready():
|
||||
Signals.connect("die",self,"game_over")
|
||||
|
||||
func _on_Timer_timeout():
|
||||
random_scene.randomize()
|
||||
scene_index = random_scene.randi_range(0,scenes.size()-1)
|
||||
var tmp = scenes[scene_index].instance()
|
||||
add_child_below_node(self,tmp)
|
||||
last_object = tmp
|
||||
self.get_node("Timer").wait_time *= 0.99
|
||||
self.get_node("Timer").start()
|
||||
|
||||
func game_over():
|
||||
self.get_node("Timer").set_paused(true)
|
||||
last_object.queue_free()
|
||||
|
10
mini-game/scripts/update_score.gd
Normal file
|
@ -0,0 +1,10 @@
|
|||
extends RichTextLabel
|
||||
|
||||
|
||||
func _ready():
|
||||
Signals.connect("update_score",self,"update_score")
|
||||
|
||||
|
||||
func update_score(score):
|
||||
self.text = String(score)
|
||||
|