This commit is contained in:
Andrey Parhomenko 2024-02-20 18:56:39 +03:00
commit 5b807f7eed
43 changed files with 1225 additions and 0 deletions

2
.gitattributes vendored Normal file
View file

@ -0,0 +1,2 @@
# Normalize EOL for all files that Git considers text files.
* text=auto eol=lf

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
# Godot 4+ specific ignores
.godot/

Binary file not shown.

View file

@ -0,0 +1,19 @@
[remap]
importer="oggvorbisstr"
type="AudioStreamOggVorbis"
uid="uid://bwntpll2yixy6"
path="res://.godot/imported/House In a Forest Loop.ogg-399a1d3d2243aff2de72f50d54c518c8.oggvorbisstr"
[deps]
source_file="res://Assets/Art/House In a Forest Loop.ogg"
dest_files=["res://.godot/imported/House In a Forest Loop.ogg-399a1d3d2243aff2de72f50d54c518c8.oggvorbisstr"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ctsrwcm4jc3x5"
path="res://.godot/imported/enemyFlyingAlt_1.png-b11148ed1e7eb60df243bbde1c817931.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Art/enemyFlyingAlt_1.png"
dest_files=["res://.godot/imported/enemyFlyingAlt_1.png-b11148ed1e7eb60df243bbde1c817931.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bpkub2eg6kebd"
path="res://.godot/imported/enemyFlyingAlt_2.png-e810c7f5c04f98fc5e04d73f31ca6593.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Art/enemyFlyingAlt_2.png"
dest_files=["res://.godot/imported/enemyFlyingAlt_2.png-e810c7f5c04f98fc5e04d73f31ca6593.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://kbh7sq05r8j1"
path="res://.godot/imported/enemySwimming_1.png-b058826319d5f84e22859b62ee3d893f.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Art/enemySwimming_1.png"
dest_files=["res://.godot/imported/enemySwimming_1.png-b058826319d5f84e22859b62ee3d893f.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bid2fwsrtvv4l"
path="res://.godot/imported/enemySwimming_2.png-23d427f349b5208e84c3e3dcbcbb0d53.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Art/enemySwimming_2.png"
dest_files=["res://.godot/imported/enemySwimming_2.png-23d427f349b5208e84c3e3dcbcbb0d53.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ctp3mbct23o8n"
path="res://.godot/imported/enemyWalking_1.png-11fccacd5d451db27e0101d8a53594b4.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Art/enemyWalking_1.png"
dest_files=["res://.godot/imported/enemyWalking_1.png-11fccacd5d451db27e0101d8a53594b4.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bqldqchvwofl2"
path="res://.godot/imported/enemyWalking_2.png-b81acee159aadc7a24582cc65f65167f.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Art/enemyWalking_2.png"
dest_files=["res://.godot/imported/enemyWalking_2.png-b81acee159aadc7a24582cc65f65167f.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
Assets/Art/gameover.wav Normal file

Binary file not shown.

View file

@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://dhvruiekknidi"
path="res://.godot/imported/gameover.wav-347d000afa195c0d7bd54e5a6c4501c9.sample"
[deps]
source_file="res://Assets/Art/gameover.wav"
dest_files=["res://.godot/imported/gameover.wav-347d000afa195c0d7bd54e5a6c4501c9.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://nds5sm5auoqq"
path="res://.godot/imported/playerGrey_up1.png-4251929409b4a47de43f70138353f168.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Art/playerGrey_up1.png"
dest_files=["res://.godot/imported/playerGrey_up1.png-4251929409b4a47de43f70138353f168.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cd3g16yyhsjl5"
path="res://.godot/imported/playerGrey_up2.png-7bdcb5b13151ba5e314376a95024cc05.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Art/playerGrey_up2.png"
dest_files=["res://.godot/imported/playerGrey_up2.png-7bdcb5b13151ba5e314376a95024cc05.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cwtobikm2wo88"
path="res://.godot/imported/playerGrey_walk1.png-0f61e5cb37d84c67d4716d25ea10463b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Art/playerGrey_walk1.png"
dest_files=["res://.godot/imported/playerGrey_walk1.png-0f61e5cb37d84c67d4716d25ea10463b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b5bi75t4sll0q"
path="res://.godot/imported/playerGrey_walk2.png-ec439c19b4a0cb0cb9620f7cbebf0ede.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Art/playerGrey_walk2.png"
dest_files=["res://.godot/imported/playerGrey_walk2.png-ec439c19b4a0cb0cb9620f7cbebf0ede.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

253
Assets/Fonts/FONTLOG.txt Normal file
View file

@ -0,0 +1,253 @@
Please distribute this file along with the Xolonium fonts when possible.
Source
Find the sourcefiles of Xolonium at
<gitlab.com/sev/xolonium>
Credits
Xolonium is created with FontForge <fontforge.org>,
Inkscape <inkscape.org>, Python <python.org>, and
FontTools <github.com/fonttools>.
It originated as a custom font for the open-source
game Xonotic <xonotic.org>. With many thanks to the
Xonotic community for your support.
Supported OpenType features
case Provides case sensitive placement of punctuation,
brackets, and math symbols for uppercase text.
frac Replaces number/number sequences with diagonal fractions.
Numbers that touch a slash should not exceed 10 digits.
kern Provides kerning for Latin, Greek, and Cyrillic scripts.
locl Dutch: Replaces j with a stressed version if it follows í.
Sami: Replaces n-form Eng with the preferred N-form version.
Romanian and Moldovan: Replaces ŞşŢţ with the preferred ȘșȚț.
pnum Replaces monospaced digits with proportional versions.
sinf Replaces digits with scientific inferiors below the baseline.
subs Replaces digits with subscript versions on the baseline.
sups Replaces digits with superscript versions.
zero Replaces zero with a slashed version.
Supported glyph sets
Adobe Latin 3
OpenType W1G
ISO 8859-1 Western European
ISO 8859-2 Central European
ISO 8859-3 South European
ISO 8859-4 North European
ISO 8859-5 Cyrillic
ISO 8859-7 Greek
ISO 8859-9 Turkish
ISO 8859-10 Nordic
ISO 8859-13 Baltic Rim
ISO 8859-14 Celtic
ISO 8859-15 Western European
ISO 8859-16 South-Eastern European
Available glyphs
!"#$%&'()*+,-./0123456789:;<=>?
@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
`abcdefghijklmnopqrstuvwxyz{|}~
 ¡¢£¤¥¦§¨©ª«¬ ®¯°±²³´µ¶·¸¹º»¼½¾¿
ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞß
àáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ
ĀāĂ㥹ĆćĈĉĊċČčĎďĐđĒēĔĕĖėĘęĚěĜĝĞğ
ĠġĢģĤĥĦħĨĩĪīĬĭĮįİıIJijĴĵĶķĸĹĺĻļĽľ
ĿŀŁłŃńŅņŇňŊŋŌōŎŏŐőŒœŔŕŖŗŘřŚśŜŝŞş
ŠšŢţŤťŦŧŨũŪūŬŭŮůŰűŲųŴŵŶŷŸŹźŻżŽž
ƒǺǻǼǽǾǿȘșȚțȷ
ˆˇˉ˘˙˚˛˜˝
ͺ;΄΅Ά·ΈΉΊΌΎΏΐ
ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩΪΫάέήίΰ
αβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ
ЀЁЂЃЄЅІЇЈЉЊЋЌЍЎЏАБВГДЕЖЗИЙКЛМНОП
РСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп
рстуфхцчшщъыьэюяѐёђѓєѕіїјљњћќѝўџ
ѢѣѲѳѴѵҐґҒғҔҕҖҗҘҙҚқҜҝҞҟҠҡҢңҤҥҦҧҨҩ
ҪҫҬҭҮүҰұҲҳҴҵҶҷҸҹҺһҼҽӀӁӂӇӈӋӌӏӐӑӒӓ
ӔӕӖӗӘәӜӝӞӟӠӡӢӣӤӥӦӧӨөӮӯӰӱӲӳӴӵӶӷӸӹ
Ԥԥ
ḂḃḊḋḞḟṀṁṖṗṠṡṪṫẀẁẂẃẄẅẞỲỳ
     ‒–—―‘’‚‛“”„‟†‡•…‰′″‹›‽‾⁄
⁰⁴⁵⁶⁷⁸⁹⁺⁻⁼⁽⁾ⁿ₀₁₂₃₄₅₆₇₈₉₊₋₌₍₎
₤₦₩₫€₯₱₹₺₽₿
℅ℓ№℗™Ω℮
⅛⅜⅝⅞
←↑→↓
∂∆∏∑−∕∙√∞∟∫≈≠≤≥
■▬▮▰▲▶▼◀◆◊●◢◣◤◥
☄★☠☢☣⚙⚛⚠⚡⛔
❇❈❌❤❰❱❲❳
fffiflffiffl
🌌🌍🌎🌏👽💣🔥🔫
😁😃😄😆😇😈😉😊😎😐😒😕😘
😛😝😞😟😠😣😭😮😲😴😵
🚀
Debugging glyphs
 U+EFFD Font version
 U+F000 Font hinting indicator
Changelog
Xolonium 4.1 2016-11-22 Severin Meyer <sev.ch@web.de>
Reverted frac OpenType feature to a more stable implementation
Xolonium 4.0 2016-10-08 Severin Meyer <sev.ch@web.de>
Decreased width of most glyphs
Thinner vertical stems in Xolonium-Regular
Thicker horizontal stems in Xolonium-Bold
Revised diagonal stems
Lowered middle bars
Revised diacritical bars
Added glyphs:
ӏẞ₿
U+2007 U+2008 U+2009 U+200A U+202F
U+EFFD U+F000
Revised glyphs:
$&,JKQRXkwxy~¢¤ßǻ˜ζκλμξφЖУжћѴѵ∕₱₺₦₩€ℓ№≈ffffiffl
❤🌍🌎🌏😁😄😇😈😉😊😘😭😮😴🚀
Removed uncommon glyphs:
ʼnſʼҌҍҎҏҾҿӃӄӇӈӚӛӪӫӬӭ
U+0312 U+0313 U+0326
Simplified OpenType features pnum, zero, and case
Removed OpenType feature dlig
Revised vertical metrics
Merged outlines of composite glyphs in otf version
Added ttf version with custom outlines and instructions
Added woff and woff2 version
Xolonium 3.1 2015-06-10 Severin Meyer <sev.ch@web.de>
Added currency glyphs:
₦₩₫₱₹₺₽
Revised glyph:
Relicensed public release under the SIL Open Font License 1.1
Xolonium 3.0 2015-05-04 Severin Meyer <sev.ch@web.de>
Decreased width of glyphs
Decreased descender height
Increased height of super/subscript glyphs
Revised width of dashes, underscore, and overscore
Sharper bends with more circular proportions
Decreased stroke thickness of mathematical glyphs
Revised diacritical marks
Revised diacritical bars
Revised Cyrillic hooks
Revised glyphs:
GQRYjmuwßŊŒſƒǻfffiffiffl
ΞΨΩδζιξπςστυφω
ЉЄДЛУЭЯбдлэяєљђєћѢѣҨҩҼҽӃӄӘә
#$&'()*,/69?@[]{}~¡£¤¥§©®¿
‹›₤€₯ℓ№℗℮←↑→↓∂∏∑∞≈▰☄❈❰❱❲❳😝
Raised vertical position of mathematical glyphs
Unified advance width of numeral and monetary glyphs
Unified advance width of mathematical glyphs
Revised bearings
Rewrote kern feature
Bolder Xolonium-Bold with improved proportions
Updated glyph names to conform to the AGLFN 1.7
Revised hints and PS Private Dictionary
Added glyphs:
ӶӷԤԥ
Added OpenType features:
case frac liga locl pnum sinf subs sups zero
Xolonium 2.4 2014-12-23 Severin Meyer <sev.ch@web.de>
Added dingbats:
⛔💣🔥
Revised size and design of emoticons
Revised dingbats:
⌖☄☠☣⚙⚛⚠⚡❇❈🌌🌍🌎🌏🔫
Removed dingbat:
💥
Xolonium 2.3 2014-08-14 Severin Meyer <sev.ch@web.de>
Bugfixed ε and έ, thanks to bowzee for the feedback
Xolonium 2.2 2014-03-01 Severin Meyer <sev.ch@web.de>
Added dingbats:
⌖◆●❌💥
Revised dingbats:
•←↑→↓◊☄★☠☣⚙⚛⚠⚡❇❈❤🌌🌍🌎🌏👽🔫🚀
Removed dingbats:
♻✪💡📡🔋🔧🔭
Xolonium 2.1 2013-10-20 Severin Meyer <sev.ch@web.de>
Added dingbats:
←↑→↓❰❱❲❳■▬▮▰▲▶▼◀◢◣◤◥
☄★☠☢☣♻⚙⚛⚠⚡✪❇❈❤
🌌🌍🌎🌏👽💡📡🔋🔧🔫🔭🚀
😁😃😄😆😇😈😉😊😎😐😒😕
😘😛😝😞😟😠😣😭😮😲😴😵
Xolonium 2.0.1 2013-07-12 Severin Meyer <sev.ch@web.de>
Reorganised and simplified files
Xolonium 2.0 2012-08-11 Severin Meyer <sev.ch@web.de>
Revised bends
Revised thickness of uppercase diagonal stems
Revised diacritical marks
Revised hints and PS Private Dictionary
Revised glyphs:
*1469@DPRly{}§©®¶ÐÞƒΘΞαεζνξνυЄЉЊ
ЏБЗЛУЧЪЫЬЭЯбзлчъыьэяєљњџ•€∂∙√∞∫≠
Completed glyph sets:
Adobe Latin 3
OpenType World Glyph Set 1 (W1G)
Ghostscript Standard (ghostscript-fonts-std-8.11)
Added OpenType kern feature
Added Xolonium-Bold
Xolonium 1.2 2011-02-12 Severin Meyer <sev.ch@web.de>
Revised glyphs:
D·Ðı
Completed glyph sets:
ISO 8859-7 (Greek)
Unicode Latin Extended-A block
Added glyphs:
†‡•…‰⁄™∂∑−√∞≠≤≥
Xolonium 1.1 2011-01-17 Severin Meyer <sev.ch@web.de>
Revised placement of cedilla and ogonek in accented glyphs
Revised glyphs:
,;DKTjkvwxy¥§Ð˛
Completed glyph sets:
ISO 8859-2 (Central European)
ISO 8859-3 (South European, Esperanto)
ISO 8859-4 (North European)
ISO 8859-5 (Cyrillic)
ISO 8859-9 (Turkish)
ISO 8859-10 (Nordic)
ISO 8859-13 (Baltic Rim)
ISO 8859-14 (Celtic)
ISO 8859-16 (South-Eastern European)
Added glyphs:
ȷʼ̒ ЀЍѐѝ‒–—‘’‚‛“”„‟‹›
Xolonium 1.0 2011-01-04 Severin Meyer <sev.ch@web.de>
Completed glyph sets:
ISO 8859-1 (Western European)
ISO 8859-15 (Western European)
Added glyphs:
ĄĆĘŁŃŚŹŻąćęłńśźżıˆˇ˙˚˛˜

94
Assets/Fonts/LICENSE.txt Normal file
View file

@ -0,0 +1,94 @@
Copyright 2011-2016 Severin Meyer <sev.ch@web.de>,
with Reserved Font Name Xolonium.
This Font Software is licensed under the SIL Open Font License,
Version 1.1. This license is copied below, and is also available
with a FAQ at <http://scripts.sil.org/OFL>
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

Binary file not shown.

View file

@ -0,0 +1,33 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://bk4468ftcneo1"
path="res://.godot/imported/Xolonium-Regular.ttf-009b7e4433dfaad429d0bcd53d294f7d.fontdata"
[deps]
source_file="res://Assets/Fonts/Xolonium-Regular.ttf"
dest_files=["res://.godot/imported/Xolonium-Regular.ttf-009b7e4433dfaad429d0bcd53d294f7d.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

5
Assets/README.md Normal file
View file

@ -0,0 +1,5 @@
# Dodge the Creeps 2D assets
Used by the "Your first 2D game" tutorial:
https://docs.godotengine.org/en/latest/getting_started/first_2d_game/index.html

50
Scenes/HUD.tscn Normal file
View file

@ -0,0 +1,50 @@
[gd_scene load_steps=2 format=3 uid="uid://cw4hkuofe41pe"]
[ext_resource type="Theme" uid="uid://cxp7ycf2yyaka" path="res://Themes/main.tres" id="2_4nud0"]
[node name="HUD" type="CanvasLayer"]
[node name="ScoreLabel" type="Label" parent="."]
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -238.0
offset_right = 238.0
offset_bottom = 78.0
grow_horizontal = 2
theme = ExtResource("2_4nud0")
text = "0"
horizontal_alignment = 1
[node name="StartButton" type="Button" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -92.0
offset_top = -43.0
offset_right = 92.0
offset_bottom = 43.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("2_4nud0")
text = "Start"
[node name="Message" type="Label" parent="."]
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.515
anchor_right = 0.5
anchor_bottom = 0.515
offset_left = -241.0
offset_top = -189.8
offset_right = 227.0
offset_bottom = 198.2
grow_horizontal = 0
scale = Vector2(1.0295, 1.38476)
theme = ExtResource("2_4nud0")
text = "cock"
horizontal_alignment = 1
[node name="MessageTimer" type="Timer" parent="."]

43
Scenes/Main.tscn Normal file
View file

@ -0,0 +1,43 @@
[gd_scene load_steps=6 format=3 uid="uid://dxvx70pt1rc15"]
[ext_resource type="Script" path="res://Scripts/Main.gd" id="1_12byx"]
[ext_resource type="PackedScene" uid="uid://crjb0i1rbk4uc" path="res://Scenes/Player.tscn" id="2_41wvl"]
[ext_resource type="PackedScene" uid="uid://dx8lbd6yta0qx" path="res://Scenes/Mob.tscn" id="3_0n2xp"]
[ext_resource type="PackedScene" uid="uid://cw4hkuofe41pe" path="res://Scenes/HUD.tscn" id="4_kmdt2"]
[sub_resource type="Curve2D" id="Curve2D_8pb0l"]
_data = {
"points": PackedVector2Array(0, 0, 0, 0, -2, 2, 0, 0, 0, 0, 479, 0, 0, 0, 0, 0, 480, 720, 0, 0, 0, 0, -2, 717, 0, 0, 0, 0, -2, 2)
}
point_count = 5
[node name="Root" type="Node2D"]
script = ExtResource("1_12byx")
mob_scene = ExtResource("3_0n2xp")
[node name="Player" parent="." instance=ExtResource("2_41wvl")]
position = Vector2(239, 343)
[node name="MobTimer" type="Timer" parent="."]
wait_time = 0.579
[node name="ScoreTimer" type="Timer" parent="."]
[node name="StartTimer" type="Timer" parent="."]
[node name="StartPosition" type="Marker2D" parent="."]
position = Vector2(234, 345)
[node name="MobPath" type="Path2D" parent="."]
curve = SubResource("Curve2D_8pb0l")
[node name="MobSpawnLocation" type="PathFollow2D" parent="MobPath"]
position = Vector2(-2, 2)
rotation = -0.00415798
[node name="HUD" parent="." instance=ExtResource("4_kmdt2")]
[connection signal="hit" from="Player" to="." method="game_over"]
[connection signal="timeout" from="MobTimer" to="." method="_on_mob_timer_timeout"]
[connection signal="timeout" from="ScoreTimer" to="." method="_on_score_timer_timeout"]
[connection signal="timeout" from="StartTimer" to="." method="_on_start_timer_timeout"]

67
Scenes/Mob.tscn Normal file
View file

@ -0,0 +1,67 @@
[gd_scene load_steps=10 format=3 uid="uid://dx8lbd6yta0qx"]
[ext_resource type="Script" path="res://Scripts/Mob.gd" id="1_aqhhj"]
[ext_resource type="Texture2D" uid="uid://bpkub2eg6kebd" path="res://Assets/Art/enemyFlyingAlt_2.png" id="2_0cpby"]
[ext_resource type="Texture2D" uid="uid://ctsrwcm4jc3x5" path="res://Assets/Art/enemyFlyingAlt_1.png" id="3_dre3a"]
[ext_resource type="Texture2D" uid="uid://bid2fwsrtvv4l" path="res://Assets/Art/enemySwimming_2.png" id="4_51rn1"]
[ext_resource type="Texture2D" uid="uid://kbh7sq05r8j1" path="res://Assets/Art/enemySwimming_1.png" id="5_m5sx5"]
[ext_resource type="Texture2D" uid="uid://bqldqchvwofl2" path="res://Assets/Art/enemyWalking_2.png" id="6_i5kd4"]
[ext_resource type="Texture2D" uid="uid://ctp3mbct23o8n" path="res://Assets/Art/enemyWalking_1.png" id="7_46m64"]
[sub_resource type="SpriteFrames" id="SpriteFrames_xgks3"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_0cpby")
}, {
"duration": 1.0,
"texture": ExtResource("3_dre3a")
}],
"loop": true,
"name": &"fly",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("4_51rn1")
}, {
"duration": 1.0,
"texture": ExtResource("5_m5sx5")
}],
"loop": true,
"name": &"swim",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("6_i5kd4")
}, {
"duration": 1.0,
"texture": ExtResource("7_46m64")
}],
"loop": true,
"name": &"walk",
"speed": 5.0
}]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_s3v50"]
radius = 40.0
height = 80.0
[node name="Mob" type="RigidBody2D"]
collision_mask = 0
gravity_scale = 0.0
script = ExtResource("1_aqhhj")
[node name="Sprite" type="AnimatedSprite2D" parent="."]
scale = Vector2(0.75, 0.75)
sprite_frames = SubResource("SpriteFrames_xgks3")
animation = &"fly"
frame_progress = 0.574266
[node name="Shape" type="CollisionShape2D" parent="."]
shape = SubResource("CapsuleShape2D_s3v50")
[node name="VisibleOnScreenEnabler2D" type="VisibleOnScreenEnabler2D" parent="."]
[connection signal="screen_exited" from="VisibleOnScreenEnabler2D" to="." method="_on_visible_on_screen_enabler_2d_screen_exited"]

51
Scenes/Player.tscn Normal file
View file

@ -0,0 +1,51 @@
[gd_scene load_steps=8 format=3 uid="uid://crjb0i1rbk4uc"]
[ext_resource type="Script" path="res://Scripts/Player.gd" id="1_4wya0"]
[ext_resource type="Texture2D" uid="uid://nds5sm5auoqq" path="res://Assets/Art/playerGrey_up1.png" id="1_imnpc"]
[ext_resource type="Texture2D" uid="uid://cd3g16yyhsjl5" path="res://Assets/Art/playerGrey_up2.png" id="2_s3d58"]
[ext_resource type="Texture2D" uid="uid://cwtobikm2wo88" path="res://Assets/Art/playerGrey_walk1.png" id="3_pj2oi"]
[ext_resource type="Texture2D" uid="uid://b5bi75t4sll0q" path="res://Assets/Art/playerGrey_walk2.png" id="4_oefjy"]
[sub_resource type="SpriteFrames" id="SpriteFrames_5pe4i"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("1_imnpc")
}, {
"duration": 1.0,
"texture": ExtResource("2_s3d58")
}],
"loop": true,
"name": &"up",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("3_pj2oi")
}, {
"duration": 1.0,
"texture": ExtResource("4_oefjy")
}],
"loop": true,
"name": &"walk",
"speed": 5.0
}]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_8ityq"]
radius = 27.0
height = 68.0
[node name="Player" type="Area2D"]
script = ExtResource("1_4wya0")
metadata/_edit_group_ = true
[node name="Sprite" type="AnimatedSprite2D" parent="."]
scale = Vector2(0.5, 0.5)
sprite_frames = SubResource("SpriteFrames_5pe4i")
animation = &"walk"
frame_progress = 0.556076
[node name="Shape" type="CollisionShape2D" parent="."]
shape = SubResource("CapsuleShape2D_8ityq")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]

55
Scripts/Main.gd Normal file
View file

@ -0,0 +1,55 @@
extends Node2D
var _score: int
@onready var _mob_timer: Timer = $MobTimer
@onready var _score_timer: Timer = $ScoreTimer
@onready var _start_timer: Timer = $StartTimer
@onready var _start_position_marker: Marker2D = $StartPosition
@onready var _mob_path: Path2D = $MobPath
@onready var _mob_spawn_location: PathFollow2D = $MobPath/MobSpawnLocation
@export var mob_scene: PackedScene
@onready var player: Player = $Player
# Called when the node enters the scene tree for the first time.
func _ready() -> void :
new_game()
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func new_game() -> void :
_score = 0
player.start(_start_position_marker.position)
_start_timer.start()
pass
func game_over() -> void :
_score_timer.stop()
_mob_timer.stop()
pass
func _on_mob_timer_timeout() -> void:
print("called")
var mob: Mob = mob_scene.instantiate()
var spawn_location := _mob_spawn_location
spawn_location.progress_ratio = randf()
var direction := spawn_location.rotation + PI/2
direction += randf_range(-PI/4, PI/4)
var velocity := Vector2(randf_range(150, 250), 0.0)
mob.position = spawn_location.position
mob.rotation = direction
mob.linear_velocity = velocity.rotated(direction)
add_child(mob)
func _on_score_timer_timeout() -> void:
_score += 1
func _on_start_timer_timeout() -> void:
_mob_timer.start()
_score_timer.start()

22
Scripts/Mob.gd Normal file
View file

@ -0,0 +1,22 @@
extends RigidBody2D
class_name Mob
var _sprite: AnimatedSprite2D
var _shape: CollisionShape2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
_sprite = $Sprite
_shape = $Shape
var mob_types := _sprite.sprite_frames.get_animation_names()
_sprite.play(
mob_types[randi() % mob_types.size()]
)
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func _on_visible_on_screen_enabler_2d_screen_exited() -> void:
queue_free()
pass # Replace with function body.

61
Scripts/Player.gd Normal file
View file

@ -0,0 +1,61 @@
extends Area2D
class_name Player
@export var speed := 400.
var _screen_size: Vector2
var _sprite: AnimatedSprite2D
var _shape: CollisionShape2D
func start(starting_position: Vector2) -> void :
position = starting_position
show()
_shape.disabled = false
pass
func _ready() -> void:
hide()
_screen_size = get_viewport_rect().size
_sprite = $Sprite as AnimatedSprite2D
_shape = $Shape as CollisionShape2D
pass # Replace with function body.
func _process(delta: float) -> void:
var velocity := Vector2.ZERO
if Input.is_action_pressed("move_right") :
velocity.x += 1
if Input.is_action_pressed("move_left") :
velocity.x -= 1
if Input.is_action_pressed("move_down"):
velocity.y += 1
if Input.is_action_pressed("move_up") :
velocity.y -= 1
if velocity.length() > 0 :
velocity = velocity.normalized() * speed
_sprite.play()
else:
_sprite.stop()
position += velocity * delta
# Make it impossible to leave the screen.
position = position.clamp(Vector2.ZERO, _screen_size)
if velocity.x != 0 :
_sprite.animation = "walk"
_sprite.flip_v = false
_sprite.flip_h = velocity.x < 0
elif velocity.y != 0 :
_sprite.animation = "up"
_sprite.flip_v = velocity.y > 0
pass
signal hit
func _on_body_entered(body: Node2D) -> void:
hide()
hit.emit()
_shape.set_deferred("disabled", true)
pass

10
Themes/main.tres Normal file
View file

@ -0,0 +1,10 @@
[gd_resource type="Theme" load_steps=2 format=3 uid="uid://cxp7ycf2yyaka"]
[ext_resource type="FontFile" uid="uid://bk4468ftcneo1" path="res://Assets/Fonts/Xolonium-Regular.ttf" id="1_hprsm"]
[resource]
Button/colors/font_color = Color(1, 1, 1, 1)
Button/font_sizes/font_size = 64
Button/fonts/font = ExtResource("1_hprsm")
Label/font_sizes/font_size = 64
Label/fonts/font = ExtResource("1_hprsm")

Binary file not shown.

1
icon.svg Normal file
View file

@ -0,0 +1 @@
<svg height="128" width="128" xmlns="http://www.w3.org/2000/svg"><rect x="2" y="2" width="124" height="124" rx="14" fill="#363d52" stroke="#212532" stroke-width="4"/><g transform="scale(.101) translate(122 122)"><g fill="#fff"><path d="M105 673v33q407 354 814 0v-33z"/><path fill="#478cbf" d="m105 673 152 14q12 1 15 14l4 67 132 10 8-61q2-11 15-15h162q13 4 15 15l8 61 132-10 4-67q3-13 15-14l152-14V427q30-39 56-81-35-59-83-108-43 20-82 47-40-37-88-64 7-51 8-102-59-28-123-42-26 43-46 89-49-7-98 0-20-46-46-89-64 14-123 42 1 51 8 102-48 27-88 64-39-27-82-47-48 49-83 108 26 42 56 81zm0 33v39c0 276 813 276 813 0v-39l-134 12-5 69q-2 10-14 13l-162 11q-12 0-16-11l-10-65H447l-10 65q-4 11-16 11l-162-11q-12-3-14-13l-5-69z"/><path d="M483 600c3 34 55 34 58 0v-86c-3-34-55-34-58 0z"/><circle cx="725" cy="526" r="90"/><circle cx="299" cy="526" r="90"/></g><g fill="#414042"><circle cx="307" cy="532" r="60"/><circle cx="717" cy="532" r="60"/></g></g></svg>

After

Width:  |  Height:  |  Size: 950 B

37
icon.svg.import Normal file
View file

@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dg5csrktqkgxw"
path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://icon.svg"
dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

56
project.godot Normal file
View file

@ -0,0 +1,56 @@
; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=5
[application]
config/name="dodge-the-creeps"
run/main_scene="res://Scenes/Main.tscn"
config/features=PackedStringArray("4.2", "Forward Plus")
config/icon="res://icon.svg"
[debug]
gdscript/warnings/standalone_ternary=0
gdscript/warnings/incompatible_ternary=2
gdscript/warnings/untyped_declaration=2
gdscript/warnings/unsafe_property_access=2
gdscript/warnings/unsafe_method_access=2
gdscript/warnings/unsafe_cast=1
gdscript/warnings/unsafe_call_argument=1
gdscript/warnings/return_value_discarded=1
[display]
window/size/viewport_width=480
window/size/viewport_height=720
window/stretch/mode="canvas_items"
[input]
move_right={
"deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"echo":false,"script":null)
]
}
move_left={
"deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"echo":false,"script":null)
]
}
move_up={
"deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"echo":false,"script":null)
]
}
move_down={
"deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194322,"key_label":0,"unicode":0,"echo":false,"script":null)
]
}