-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finishing the UI, more decorations, animations on candy harvest
Showing
176 changed files
with
2,204 additions
and
391 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="StreamTexture" | ||
path="res://.import/mandarin-big-singleframe.png-157212eb09341fcc2ed0048f9401d73f.stex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://assets/candy/mandarin-big-singleframe.png" | ||
dest_files=[ "res://.import/mandarin-big-singleframe.png-157212eb09341fcc2ed0048f9401d73f.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 | ||
process/normal_map_invert_y=false | ||
stream=false | ||
size_limit=0 | ||
detect_3d=true | ||
svg/scale=1.0 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="StreamTexture" | ||
path="res://.import/mandarin-small-singleframe.png-80aa154df379ee60d9eb0084d1c6e63c.stex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://assets/candy/mandarin-small-singleframe.png" | ||
dest_files=[ "res://.import/mandarin-small-singleframe.png-80aa154df379ee60d9eb0084d1c6e63c.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 | ||
process/normal_map_invert_y=false | ||
stream=false | ||
size_limit=0 | ||
detect_3d=true | ||
svg/scale=1.0 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="StreamTexture" | ||
path="res://.import/peanut-small-singleframe.png-b8d3a7aa99f5f1e9a6e7db4eacc78305.stex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://assets/candy/peanut-small-singleframe.png" | ||
dest_files=[ "res://.import/peanut-small-singleframe.png-b8d3a7aa99f5f1e9a6e7db4eacc78305.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 | ||
process/normal_map_invert_y=false | ||
stream=false | ||
size_limit=0 | ||
detect_3d=true | ||
svg/scale=1.0 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="StreamTexture" | ||
path="res://.import/girl-red-run-export-export.png-a5e60194773b337518a10a558c2a7051.stex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://assets/player/girl-red-run-export-export.png" | ||
dest_files=[ "res://.import/girl-red-run-export-export.png-a5e60194773b337518a10a558c2a7051.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 | ||
process/normal_map_invert_y=false | ||
stream=false | ||
size_limit=0 | ||
detect_3d=true | ||
svg/scale=1.0 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="StreamTexture" | ||
path="res://.import/girl-red-run-export.png-619175a1cfc60d336ca6fe587b006405.stex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://assets/player/girl-red-run-export.png" | ||
dest_files=[ "res://.import/girl-red-run-export.png-619175a1cfc60d336ca6fe587b006405.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 | ||
process/normal_map_invert_y=false | ||
stream=false | ||
size_limit=0 | ||
detect_3d=true | ||
svg/scale=1.0 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="StreamTexture" | ||
path="res://.import/barrier-1.png-403167aa2802cc7437ddb387a1b9868a.stex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://assets/world/deco/single_frames/barrier-1.png" | ||
dest_files=[ "res://.import/barrier-1.png-403167aa2802cc7437ddb387a1b9868a.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=false | ||
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 | ||
process/normal_map_invert_y=false | ||
stream=false | ||
size_limit=0 | ||
detect_3d=true | ||
svg/scale=1.0 |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="StreamTexture" | ||
path="res://.import/barrier-10.png-b10af0a307b5019d12418c4a902a5c81.stex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://assets/world/deco/single_frames/barrier-10.png" | ||
dest_files=[ "res://.import/barrier-10.png-b10af0a307b5019d12418c4a902a5c81.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=false | ||
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 | ||
process/normal_map_invert_y=false | ||
stream=false | ||
size_limit=0 | ||
detect_3d=true | ||
svg/scale=1.0 |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="StreamTexture" | ||
path="res://.import/barrier-11.png-14382c69d382a1c212e694e30a90d755.stex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://assets/world/deco/single_frames/barrier-11.png" | ||
dest_files=[ "res://.import/barrier-11.png-14382c69d382a1c212e694e30a90d755.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=false | ||
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 | ||
process/normal_map_invert_y=false | ||
stream=false | ||
size_limit=0 | ||
detect_3d=true | ||
svg/scale=1.0 |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="StreamTexture" | ||
path="res://.import/barrier-12.png-af0ef18233b910df6acd8d97c7159121.stex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://assets/world/deco/single_frames/barrier-12.png" | ||
dest_files=[ "res://.import/barrier-12.png-af0ef18233b910df6acd8d97c7159121.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=false | ||
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 | ||
process/normal_map_invert_y=false | ||
stream=false | ||
size_limit=0 | ||
detect_3d=true | ||
svg/scale=1.0 |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="StreamTexture" | ||
path="res://.import/barrier-5.png-92ffac94111994451af85159c1b4676b.stex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://assets/world/deco/single_frames/barrier-5.png" | ||
dest_files=[ "res://.import/barrier-5.png-92ffac94111994451af85159c1b4676b.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=false | ||
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 | ||
process/normal_map_invert_y=false | ||
stream=false | ||
size_limit=0 | ||
detect_3d=true | ||
svg/scale=1.0 |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="StreamTexture" | ||
path="res://.import/barrier-6.png-641b3a7bcc84645cabf95b8e59e8709d.stex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://assets/world/deco/single_frames/barrier-6.png" | ||
dest_files=[ "res://.import/barrier-6.png-641b3a7bcc84645cabf95b8e59e8709d.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=false | ||
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 | ||
process/normal_map_invert_y=false | ||
stream=false | ||
size_limit=0 | ||
detect_3d=true | ||
svg/scale=1.0 |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="StreamTexture" | ||
path="res://.import/clock.png-a7e8d59cbdfc234e398df347c457ff4c.stex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://assets/world/deco/single_frames/clock.png" | ||
dest_files=[ "res://.import/clock.png-a7e8d59cbdfc234e398df347c457ff4c.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=false | ||
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 | ||
process/normal_map_invert_y=false | ||
stream=false | ||
size_limit=0 | ||
detect_3d=true | ||
svg/scale=1.0 |
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
46 changes: 46 additions & 0 deletions
46
src/actors/candy/types/mandarinLarge/explosionMandarinLarge.tres
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
extends Candy | ||
|
||
class_name MandarinLarge, "res://assets/candy/mandarin-big.png" | ||
|
||
|
||
# Called when the node enters the scene tree for the first time. | ||
func _ready(): | ||
points = 15 | ||
sprite_frame = preload("res://src/actors/candy/types/mandarinLarge/mandarinLarge.tres") | ||
explosion_material = preload("res://src/actors/candy/types/mandarinLarge/explosionMandarinLarge.tres") | ||
set_candy_type_properties() |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
46 changes: 46 additions & 0 deletions
46
src/actors/candy/types/mandarinSmall/explosionMandarinSmall.tres
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
extends Candy | ||
|
||
class_name MandarinSmall, "res://assets/candy/mandarin-small.png" | ||
|
||
|
||
# Called when the node enters the scene tree for the first time. | ||
func _ready(): | ||
points = 5 | ||
sprite_frame = preload("res://src/actors/candy/types/mandarinSmall/mandarinSmall.tres") | ||
explosion_material = preload("res://src/actors/candy/types/mandarinSmall/explosionMandarinSmall.tres") | ||
set_candy_type_properties() | ||
|
File renamed without changes.
This file was deleted.
Oops, something went wrong.
46 changes: 46 additions & 0 deletions
46
src/actors/candy/types/peanutLarge/explosionPeanutLarge.tres
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
extends Candy | ||
|
||
class_name PeanutLarge, "res://assets/candy/peanut-big.png" | ||
|
||
|
||
# Called when the node enters the scene tree for the first time. | ||
func _ready(): | ||
points = 10 | ||
sprite_frame = preload("res://src/actors/candy/types/peanutLarge/peanutLarge.tres") | ||
explosion_material = preload("res://src/actors/candy/types/peanutLarge/explosionPeanutLarge.tres") | ||
set_candy_type_properties() |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
46 changes: 46 additions & 0 deletions
46
src/actors/candy/types/peanutSmall/explosionPeanutSmall.tres
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
extends Candy | ||
|
||
class_name PeanutSmall, "res://assets/candy/peanut-small.png" | ||
|
||
|
||
# Called when the node enters the scene tree for the first time. | ||
func _ready(): | ||
points = 1 | ||
sprite_frame = preload("res://src/actors/candy/types/peanutSmall/peanutSmall.tres") | ||
explosion_material = preload("res://src/actors/candy/types/peanutSmall/explosionPeanutSmall.tres") | ||
set_candy_type_properties() |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
extends Node | ||
|
||
# Place the candies on the line (based on the parameters in the Database | ||
# singleton) and returns the candies that are offsetting in the beginnning | ||
# of the line | ||
func place(trail: Line2D, candies: Array, offset = 0) -> Array: | ||
# the remaining length on the trail until the next candy | ||
var remaining_dist: int = Database.DISTANCE_BETWEEN_CANDIES + offset | ||
# the index of the current point in on the player's trail | ||
var i: int = 0 | ||
var segment_lengh = distance_between_trail_points(trail, i) | ||
var end_of_trail: bool = false | ||
|
||
var offsetting_candies = Array() | ||
|
||
for c in candies: # for each candy the player has picked up | ||
while remaining_dist > segment_lengh and not end_of_trail: | ||
remaining_dist -= segment_lengh | ||
if trail.points.size()-1 < i+2: | ||
end_of_trail = true | ||
else: | ||
i += 1 | ||
segment_lengh = distance_between_trail_points(trail, i) | ||
|
||
# place the candy somewhere in this segment of the line | ||
|
||
# div by zero protection | ||
if segment_lengh == 0: | ||
segment_lengh = 1 | ||
var factor = remaining_dist / segment_lengh | ||
if end_of_trail: factor = 1 | ||
|
||
# If the candy is too much before the trail, it's considered as being | ||
# at home | ||
if factor < -5.0: | ||
offsetting_candies.append(c) | ||
|
||
|
||
c.targeted_position = lerp(trail.points[i], trail.points[i+1], factor) | ||
|
||
# calculate the remaining distance for the next candy to place | ||
remaining_dist = Database.DISTANCE_BETWEEN_CANDIES + remaining_dist | ||
|
||
return offsetting_candies | ||
|
||
|
||
# Returns the distance between the points i and i+1 | ||
func distance_between_trail_points(trail: Line2D, i: int) -> float : | ||
return sqrt( | ||
pow(trail.points[i].x - trail.points[i+1].x, 2) + | ||
pow(trail.points[i].y - trail.points[i+1].y, 2) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
extends Line2D | ||
|
||
var candies := Array() | ||
var offset := 0 | ||
var speed := 25 | ||
|
||
func _process(delta): | ||
offset -= speed | ||
var candies_at_home: Array = CandyPlacer.place(self, candies, offset) | ||
|
||
# Remove the candies that are at home | ||
for c in candies_at_home: | ||
c = c as Candy | ||
candies.erase(c) | ||
c.delete() | ||
offset += Database.DISTANCE_BETWEEN_CANDIES | ||
|
||
if candies.size() == 0: | ||
queue_free() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[gd_scene load_steps=2 format=2] | ||
|
||
[ext_resource path="res://src/scripts/server/trails/collector.gd" type="Script" id=1] | ||
|
||
[node name="Collector" type="Line2D"] | ||
default_color = Color( 1, 1, 1, 0 ) | ||
script = ExtResource( 1 ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
extends VBoxContainer | ||
|
||
signal set_menu(path) | ||
extends Menu | ||
|
||
func _ready(): | ||
if Database.get_player_name() != "": | ||
$HBoxContainer/ButtonSetPseudo.text = Database.get_player_name() | ||
|
||
func _on_ButtonBack_pressed(): | ||
emit_signal("set_menu", "res://src/ui/menus/home/Home.tscn", Vector2.UP) | ||
|
||
|
||
func _on_ButtonLocal_pressed(): | ||
emit_signal("set_menu", "res://src/ui/menus/choose-join-local/chooseJoinLocal.tscn", Vector2.RIGHT) | ||
|
||
|
||
func _on_ButtonSetPseudo_pressed(): | ||
emit_signal("set_menu", "res://src/ui/menus/set-player-name/setPlayerName.tscn", Vector2.UP) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
extends Menu | ||
|
||
|
||
|
||
func _ready(): | ||
pass | ||
|
||
func init(parameters): | ||
show_game_results(parameters) | ||
|
||
remote func show_game_results(parameters): | ||
var boss_red = $VBoxContainer/HBoxContainer/BossRed | ||
var boss_black = $VBoxContainer/HBoxContainer/BossBlack | ||
var label_win = $VBoxContainer/LabelWinner | ||
var results_list = $VBoxContainer/HBoxContainer/VBoxContainer/ItemList | ||
|
||
var team_winner = parameters[0] | ||
var points_by_player = parameters[1] | ||
|
||
# The winner team | ||
match(team_winner): | ||
0: # Red team won the game | ||
label_win.set_text("St-Nicolas a gagné !") | ||
label_win.align = Label.ALIGN_LEFT | ||
boss_black.set_visible(false) | ||
1: # Black team won the game | ||
label_win.set_text("Père Fouettard a gagné !") | ||
label_win.align = Label.ALIGN_RIGHT | ||
boss_red.set_visible(false) | ||
-1: # Ex-aeco | ||
label_win.set_text("Ex-aeco !") | ||
|
||
# The players result | ||
for p in points_by_player.values(): | ||
results_list.add_item(p["name"] + " : " + str(p["points"])) | ||
|
||
func _on_ButtonBack_pressed(): | ||
emit_signal("set_menu", "res://src/ui/menus/choose-mode/ChooseMode.tscn", Vector2.LEFT) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,221 @@ | ||
[gd_scene format=2] | ||
[gd_scene load_steps=12 format=2] | ||
|
||
[ext_resource path="res://assets/themes/main_theme.tres" type="Theme" id=1] | ||
[ext_resource path="res://assets/themes/fonts/large.tres" type="DynamicFont" id=2] | ||
[ext_resource path="res://src/ui/menus/game-ended/gameEnded.gd" type="Script" id=3] | ||
[ext_resource path="res://assets/player/idle/boy-red-idle.png" type="Texture" id=4] | ||
[ext_resource path="res://assets/bosses/idle/boss-black-idle.png" type="Texture" id=5] | ||
[ext_resource path="res://assets/bosses/idle/boss-red-idle.png" type="Texture" id=6] | ||
[ext_resource path="res://assets/player/idle/girl-black-idle.png" type="Texture" id=7] | ||
[ext_resource path="res://assets/player/idle/girl-red-idle.png" type="Texture" id=8] | ||
[ext_resource path="res://assets/player/idle/boy-black-idle.png" type="Texture" id=9] | ||
|
||
[sub_resource type="Animation" id=1] | ||
resource_name = "characters_idle" | ||
length = 1.2 | ||
loop = true | ||
tracks/0/type = "value" | ||
tracks/0/path = NodePath("BoyRed:frame") | ||
tracks/0/interp = 1 | ||
tracks/0/loop_wrap = true | ||
tracks/0/imported = false | ||
tracks/0/enabled = true | ||
tracks/0/keys = { | ||
"times": PoolRealArray( 0, 0.2, 0.4, 0.6, 0.8, 1 ), | ||
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1 ), | ||
"update": 1, | ||
"values": [ 0, 1, 2, 3, 4, 5 ] | ||
} | ||
tracks/1/type = "value" | ||
tracks/1/path = NodePath("../BossBlack/GirlBlack:frame") | ||
tracks/1/interp = 1 | ||
tracks/1/loop_wrap = true | ||
tracks/1/imported = false | ||
tracks/1/enabled = true | ||
tracks/1/keys = { | ||
"times": PoolRealArray( 0.11716, 0.31716, 0.51716, 0.71716, 0.91716, 1.11716 ), | ||
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1 ), | ||
"update": 1, | ||
"values": [ 0, 1, 2, 3, 4, 5 ] | ||
} | ||
tracks/2/type = "value" | ||
tracks/2/path = NodePath("../BossBlack/BoyBlack:frame") | ||
tracks/2/interp = 1 | ||
tracks/2/loop_wrap = true | ||
tracks/2/imported = false | ||
tracks/2/enabled = true | ||
tracks/2/keys = { | ||
"times": PoolRealArray( 0, 0.2, 0.4, 0.6, 0.8, 1 ), | ||
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1 ), | ||
"update": 1, | ||
"values": [ 0, 1, 2, 3, 4, 5 ] | ||
} | ||
tracks/3/type = "value" | ||
tracks/3/path = NodePath("GirlRed:frame") | ||
tracks/3/interp = 1 | ||
tracks/3/loop_wrap = true | ||
tracks/3/imported = false | ||
tracks/3/enabled = true | ||
tracks/3/keys = { | ||
"times": PoolRealArray( 0.150783, 0.350783, 0.550783, 0.750783, 0.950783, 1.15078 ), | ||
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1 ), | ||
"update": 1, | ||
"values": [ 0, 1, 2, 3, 4, 5 ] | ||
} | ||
|
||
[sub_resource type="Animation" id=2] | ||
resource_name = "boss_idle" | ||
length = 2.0 | ||
loop = true | ||
step = 0.33 | ||
tracks/0/type = "value" | ||
tracks/0/path = NodePath("BossRed:frame") | ||
tracks/0/interp = 1 | ||
tracks/0/loop_wrap = true | ||
tracks/0/imported = false | ||
tracks/0/enabled = true | ||
tracks/0/keys = { | ||
"times": PoolRealArray( 0, 0.33, 0.66, 0.99, 1.32, 1.65 ), | ||
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1 ), | ||
"update": 1, | ||
"values": [ 0, 1, 2, 3, 4, 5 ] | ||
} | ||
tracks/1/type = "value" | ||
tracks/1/path = NodePath("../BossBlack/BossBlack:frame") | ||
tracks/1/interp = 1 | ||
tracks/1/loop_wrap = true | ||
tracks/1/imported = false | ||
tracks/1/enabled = true | ||
tracks/1/keys = { | ||
"times": PoolRealArray( 0.264695, 0.594695, 0.924695, 1.2547, 1.5847, 1.9147 ), | ||
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1 ), | ||
"update": 1, | ||
"values": [ 0, 1, 2, 3, 4, 5 ] | ||
} | ||
|
||
[node name="GameEnded" type="Control"] | ||
anchor_right = 1.0 | ||
anchor_bottom = 1.0 | ||
theme = ExtResource( 1 ) | ||
script = ExtResource( 3 ) | ||
__meta__ = { | ||
"_edit_use_anchors_": false | ||
} | ||
|
||
[node name="VBoxContainer" type="VBoxContainer" parent="."] | ||
anchor_right = 1.0 | ||
anchor_bottom = 1.0 | ||
size_flags_horizontal = 3 | ||
size_flags_vertical = 3 | ||
__meta__ = { | ||
"_edit_use_anchors_": false | ||
} | ||
|
||
[node name="LabelWinner" type="Label" parent="VBoxContainer"] | ||
margin_right = 1280.0 | ||
margin_bottom = 221.0 | ||
size_flags_horizontal = 3 | ||
custom_fonts/font = ExtResource( 2 ) | ||
text = "XXX | ||
a gagné" | ||
align = 1 | ||
|
||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"] | ||
margin_top = 241.0 | ||
margin_right = 1280.0 | ||
margin_bottom = 720.0 | ||
size_flags_vertical = 3 | ||
|
||
[node name="BossRed" type="Control" parent="VBoxContainer/HBoxContainer"] | ||
margin_left = 365.0 | ||
margin_top = 239.0 | ||
margin_right = 365.0 | ||
margin_bottom = 239.0 | ||
size_flags_horizontal = 10 | ||
size_flags_vertical = 4 | ||
|
||
[node name="GirlRed" type="Sprite" parent="VBoxContainer/HBoxContainer/BossRed"] | ||
position = Vector2( -113.799, 96.4127 ) | ||
scale = Vector2( 10, 10 ) | ||
texture = ExtResource( 8 ) | ||
hframes = 6 | ||
|
||
[node name="BossRed" type="Sprite" parent="VBoxContainer/HBoxContainer/BossRed"] | ||
position = Vector2( -219.242, -36.5466 ) | ||
scale = Vector2( 10, 10 ) | ||
texture = ExtResource( 6 ) | ||
hframes = 6 | ||
|
||
[node name="BoyRed" type="Sprite" parent="VBoxContainer/HBoxContainer/BossRed"] | ||
position = Vector2( -305.693, 116.712 ) | ||
scale = Vector2( 10, 10 ) | ||
texture = ExtResource( 4 ) | ||
flip_h = true | ||
hframes = 6 | ||
frame = 5 | ||
|
||
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"] | ||
margin_left = 385.0 | ||
margin_right = 895.0 | ||
margin_bottom = 479.0 | ||
size_flags_horizontal = 3 | ||
|
||
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer"] | ||
margin_right = 510.0 | ||
margin_bottom = 70.0 | ||
text = "Classement de la partie" | ||
|
||
[node name="ItemList" type="ItemList" parent="VBoxContainer/HBoxContainer/VBoxContainer"] | ||
margin_top = 90.0 | ||
margin_right = 510.0 | ||
margin_bottom = 369.0 | ||
size_flags_vertical = 3 | ||
|
||
[node name="ButtonBack" type="Button" parent="VBoxContainer/HBoxContainer/VBoxContainer"] | ||
margin_top = 389.0 | ||
margin_right = 510.0 | ||
margin_bottom = 479.0 | ||
size_flags_vertical = 8 | ||
text = "Retour" | ||
|
||
[node name="BossBlack" type="Control" parent="VBoxContainer/HBoxContainer"] | ||
margin_left = 915.0 | ||
margin_top = 239.0 | ||
margin_right = 915.0 | ||
margin_bottom = 239.0 | ||
size_flags_horizontal = 2 | ||
size_flags_vertical = 4 | ||
|
||
[node name="GirlBlack" type="Sprite" parent="VBoxContainer/HBoxContainer/BossBlack"] | ||
position = Vector2( 124.738, 96.1512 ) | ||
scale = Vector2( 10, 10 ) | ||
texture = ExtResource( 7 ) | ||
flip_h = true | ||
hframes = 6 | ||
frame = 4 | ||
|
||
[node name="BossBlack" type="Sprite" parent="VBoxContainer/HBoxContainer/BossBlack"] | ||
position = Vector2( 227.57, -44.3989 ) | ||
scale = Vector2( 10, 10 ) | ||
texture = ExtResource( 5 ) | ||
hframes = 6 | ||
frame = 5 | ||
|
||
[node name="BoyBlack" type="Sprite" parent="VBoxContainer/HBoxContainer/BossBlack"] | ||
position = Vector2( 300.722, 120.401 ) | ||
scale = Vector2( 10, 10 ) | ||
texture = ExtResource( 9 ) | ||
hframes = 6 | ||
frame = 5 | ||
|
||
[node name="PlayersAnimation" type="AnimationPlayer" parent="VBoxContainer/HBoxContainer"] | ||
root_node = NodePath("../BossRed") | ||
autoplay = "characters_idle" | ||
anims/characters_idle = SubResource( 1 ) | ||
|
||
[node name="BossesAnimation" type="AnimationPlayer" parent="VBoxContainer/HBoxContainer"] | ||
root_node = NodePath("../BossRed") | ||
autoplay = "boss_idle" | ||
anims/boss_idle = SubResource( 2 ) | ||
|
||
[connection signal="pressed" from="VBoxContainer/HBoxContainer/VBoxContainer/ButtonBack" to="." method="_on_ButtonBack_pressed"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
extends Control | ||
|
||
class_name Menu | ||
|
||
signal set_menu(path, direction, parameters) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
extends Menu | ||
|
||
func _ready(): | ||
$HBoxContainer2/LineEdit.text = Database.get_player_name() | ||
$HBoxContainer2/LineEdit.grab_focus() | ||
|
||
func _on_ButtonNext_pressed(): | ||
if $HBoxContainer2/LineEdit.text == "": | ||
return | ||
|
||
Database.player_name = $HBoxContainer2/LineEdit.text | ||
emit_signal("set_menu", "res://src/ui/menus/choose-mode/ChooseMode.tscn", Vector2.DOWN) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[gd_scene load_steps=3 format=2] | ||
|
||
[ext_resource path="res://assets/themes/main_theme.tres" type="Theme" id=1] | ||
[ext_resource path="res://src/ui/menus/set-player-name/setPlayerName.gd" type="Script" id=3] | ||
|
||
[node name="SetPlayerName" type="VBoxContainer"] | ||
anchor_right = 1.0 | ||
anchor_bottom = 1.0 | ||
rect_pivot_offset = Vector2( -2059.52, -1052.06 ) | ||
theme = ExtResource( 1 ) | ||
script = ExtResource( 3 ) | ||
__meta__ = { | ||
"_edit_use_anchors_": false | ||
} | ||
|
||
[node name="Label" type="Label" parent="."] | ||
margin_right = 1280.0 | ||
margin_bottom = 70.0 | ||
text = "Définir un pseudonyme" | ||
autowrap = true | ||
|
||
[node name="HBoxContainer2" type="HBoxContainer" parent="."] | ||
margin_top = 90.0 | ||
margin_right = 1280.0 | ||
margin_bottom = 180.0 | ||
|
||
[node name="LineEdit" type="LineEdit" parent="HBoxContainer2"] | ||
margin_right = 958.0 | ||
margin_bottom = 90.0 | ||
size_flags_horizontal = 3 | ||
|
||
[node name="ButtonNext" type="Button" parent="HBoxContainer2"] | ||
margin_left = 978.0 | ||
margin_right = 1280.0 | ||
margin_bottom = 90.0 | ||
text = "Continuer" | ||
|
||
[connection signal="pressed" from="HBoxContainer2/ButtonNext" to="." method="_on_ButtonNext_pressed"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters