├── .gitattributes ├── .gitignore ├── Images └── Tween_Comparison_Project.gif ├── LICENSE ├── Project ├── Art │ ├── Characters │ │ ├── character_0000.png │ │ ├── character_0000.png.import │ │ ├── character_0001.png │ │ ├── character_0001.png.import │ │ ├── character_0002.png │ │ ├── character_0002.png.import │ │ ├── character_0003.png │ │ └── character_0003.png.import │ ├── HP_Bar.png │ ├── HP_Bar.png.import │ ├── Lever_Base.png │ ├── Lever_Base.png.import │ ├── Lever_Handle.png │ ├── Lever_Handle.png.import │ ├── Skeleton.png │ ├── Skeleton.png.import │ ├── Sword.png │ ├── Sword.png.import │ ├── Tiles │ │ ├── Tile_Dirt.png │ │ ├── Tile_Dirt.png.import │ │ ├── Tile_Golden.png │ │ ├── Tile_Golden.png.import │ │ ├── Tile_Grass.png │ │ └── Tile_Grass.png.import │ ├── icon.svg │ └── icon.svg.import ├── Nodes │ ├── camera_world.tscn │ └── disabled_label.tscn ├── Scenes │ ├── 1_Movement.tscn │ ├── 2_Scaling.tscn │ ├── 3_Rotation.tscn │ ├── 4_Lever.tscn │ ├── 5_HPBar.tscn │ ├── 6_Sword.tscn │ ├── 7_Fading.tscn │ └── 8_Camera.tscn ├── Scripts │ ├── FlashOnTouch.gd │ ├── PanelDisabler.gd │ ├── SceneChanger.gd │ ├── SceneController.gd │ ├── TweenController.gd │ ├── TweenResource.gd │ └── UpdateLabel.gd ├── Singletons │ └── tween_controller.tscn ├── Themes │ ├── DefaultTheme.tres │ └── ShowPanelButton.tres ├── export_presets.cfg └── project.godot └── README.md /.gitattributes: -------------------------------------------------------------------------------- 1 | # Normalize EOL for all files that Git considers text files. 2 | * text=auto eol=lf 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Godot 4+ specific ignores 2 | .godot/ 3 | -------------------------------------------------------------------------------- /Images/Tween_Comparison_Project.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/popcar2/Godot_Tween_Comparisons/29620f76b400a6c4f48b06075b95e4fbf24b713e/Images/Tween_Comparison_Project.gif -------------------------------------------------------------------------------- /Project/Art/Characters/character_0000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/popcar2/Godot_Tween_Comparisons/29620f76b400a6c4f48b06075b95e4fbf24b713e/Project/Art/Characters/character_0000.png -------------------------------------------------------------------------------- /Project/Art/Characters/character_0000.png.import: -------------------------------------------------------------------------------- 1 | [remap] 2 | 3 | importer="texture" 4 | type="CompressedTexture2D" 5 | uid="uid://bcobr8ytqy5qf" 6 | path="res://.godot/imported/character_0000.png-97c78943ce97e797e1e720fa49188c5b.ctex" 7 | metadata={ 8 | "vram_texture": false 9 | } 10 | 11 | [deps] 12 | 13 | source_file="res://Art/Characters/character_0000.png" 14 | dest_files=["res://.godot/imported/character_0000.png-97c78943ce97e797e1e720fa49188c5b.ctex"] 15 | 16 | [params] 17 | 18 | compress/mode=0 19 | compress/high_quality=false 20 | compress/lossy_quality=0.7 21 | compress/hdr_compression=1 22 | compress/normal_map=0 23 | compress/channel_pack=0 24 | mipmaps/generate=false 25 | mipmaps/limit=-1 26 | roughness/mode=0 27 | roughness/src_normal="" 28 | process/fix_alpha_border=true 29 | process/premult_alpha=false 30 | process/normal_map_invert_y=false 31 | process/hdr_as_srgb=false 32 | process/hdr_clamp_exposure=false 33 | process/size_limit=0 34 | detect_3d/compress_to=1 35 | -------------------------------------------------------------------------------- /Project/Art/Characters/character_0001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/popcar2/Godot_Tween_Comparisons/29620f76b400a6c4f48b06075b95e4fbf24b713e/Project/Art/Characters/character_0001.png -------------------------------------------------------------------------------- /Project/Art/Characters/character_0001.png.import: -------------------------------------------------------------------------------- 1 | [remap] 2 | 3 | importer="texture" 4 | type="CompressedTexture2D" 5 | uid="uid://dwbogi7kc6fjg" 6 | path="res://.godot/imported/character_0001.png-064b550aed4097fd7f3b04950fb99f57.ctex" 7 | metadata={ 8 | "vram_texture": false 9 | } 10 | 11 | [deps] 12 | 13 | source_file="res://Art/Characters/character_0001.png" 14 | dest_files=["res://.godot/imported/character_0001.png-064b550aed4097fd7f3b04950fb99f57.ctex"] 15 | 16 | [params] 17 | 18 | compress/mode=0 19 | compress/high_quality=false 20 | compress/lossy_quality=0.7 21 | compress/hdr_compression=1 22 | compress/normal_map=0 23 | compress/channel_pack=0 24 | mipmaps/generate=false 25 | mipmaps/limit=-1 26 | roughness/mode=0 27 | roughness/src_normal="" 28 | process/fix_alpha_border=true 29 | process/premult_alpha=false 30 | process/normal_map_invert_y=false 31 | process/hdr_as_srgb=false 32 | process/hdr_clamp_exposure=false 33 | process/size_limit=0 34 | detect_3d/compress_to=1 35 | -------------------------------------------------------------------------------- /Project/Art/Characters/character_0002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/popcar2/Godot_Tween_Comparisons/29620f76b400a6c4f48b06075b95e4fbf24b713e/Project/Art/Characters/character_0002.png -------------------------------------------------------------------------------- /Project/Art/Characters/character_0002.png.import: -------------------------------------------------------------------------------- 1 | [remap] 2 | 3 | importer="texture" 4 | type="CompressedTexture2D" 5 | uid="uid://bjvoarlyhhtbj" 6 | path="res://.godot/imported/character_0002.png-2740746ad7964fc30e630b8c2f0e30f9.ctex" 7 | metadata={ 8 | "vram_texture": false 9 | } 10 | 11 | [deps] 12 | 13 | source_file="res://Art/Characters/character_0002.png" 14 | dest_files=["res://.godot/imported/character_0002.png-2740746ad7964fc30e630b8c2f0e30f9.ctex"] 15 | 16 | [params] 17 | 18 | compress/mode=0 19 | compress/high_quality=false 20 | compress/lossy_quality=0.7 21 | compress/hdr_compression=1 22 | compress/normal_map=0 23 | compress/channel_pack=0 24 | mipmaps/generate=false 25 | mipmaps/limit=-1 26 | roughness/mode=0 27 | roughness/src_normal="" 28 | process/fix_alpha_border=true 29 | process/premult_alpha=false 30 | process/normal_map_invert_y=false 31 | process/hdr_as_srgb=false 32 | process/hdr_clamp_exposure=false 33 | process/size_limit=0 34 | detect_3d/compress_to=1 35 | -------------------------------------------------------------------------------- /Project/Art/Characters/character_0003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/popcar2/Godot_Tween_Comparisons/29620f76b400a6c4f48b06075b95e4fbf24b713e/Project/Art/Characters/character_0003.png -------------------------------------------------------------------------------- /Project/Art/Characters/character_0003.png.import: -------------------------------------------------------------------------------- 1 | [remap] 2 | 3 | importer="texture" 4 | type="CompressedTexture2D" 5 | uid="uid://5y1gdr2xn8" 6 | path="res://.godot/imported/character_0003.png-41a45c2da068d2983fbcbd36594628e0.ctex" 7 | metadata={ 8 | "vram_texture": false 9 | } 10 | 11 | [deps] 12 | 13 | source_file="res://Art/Characters/character_0003.png" 14 | dest_files=["res://.godot/imported/character_0003.png-41a45c2da068d2983fbcbd36594628e0.ctex"] 15 | 16 | [params] 17 | 18 | compress/mode=0 19 | compress/high_quality=false 20 | compress/lossy_quality=0.7 21 | compress/hdr_compression=1 22 | compress/normal_map=0 23 | compress/channel_pack=0 24 | mipmaps/generate=false 25 | mipmaps/limit=-1 26 | roughness/mode=0 27 | roughness/src_normal="" 28 | process/fix_alpha_border=true 29 | process/premult_alpha=false 30 | process/normal_map_invert_y=false 31 | process/hdr_as_srgb=false 32 | process/hdr_clamp_exposure=false 33 | process/size_limit=0 34 | detect_3d/compress_to=1 35 | -------------------------------------------------------------------------------- /Project/Art/HP_Bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/popcar2/Godot_Tween_Comparisons/29620f76b400a6c4f48b06075b95e4fbf24b713e/Project/Art/HP_Bar.png -------------------------------------------------------------------------------- /Project/Art/HP_Bar.png.import: -------------------------------------------------------------------------------- 1 | [remap] 2 | 3 | importer="texture" 4 | type="CompressedTexture2D" 5 | uid="uid://bh78it1jkvmt5" 6 | path="res://.godot/imported/HP_Bar.png-7c789042cf121bd980fea4a64c54d60b.ctex" 7 | metadata={ 8 | "vram_texture": false 9 | } 10 | 11 | [deps] 12 | 13 | source_file="res://Art/HP_Bar.png" 14 | dest_files=["res://.godot/imported/HP_Bar.png-7c789042cf121bd980fea4a64c54d60b.ctex"] 15 | 16 | [params] 17 | 18 | compress/mode=0 19 | compress/high_quality=false 20 | compress/lossy_quality=0.7 21 | compress/hdr_compression=1 22 | compress/normal_map=0 23 | compress/channel_pack=0 24 | mipmaps/generate=false 25 | mipmaps/limit=-1 26 | roughness/mode=0 27 | roughness/src_normal="" 28 | process/fix_alpha_border=true 29 | process/premult_alpha=false 30 | process/normal_map_invert_y=false 31 | process/hdr_as_srgb=false 32 | process/hdr_clamp_exposure=false 33 | process/size_limit=0 34 | detect_3d/compress_to=1 35 | -------------------------------------------------------------------------------- /Project/Art/Lever_Base.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/popcar2/Godot_Tween_Comparisons/29620f76b400a6c4f48b06075b95e4fbf24b713e/Project/Art/Lever_Base.png -------------------------------------------------------------------------------- /Project/Art/Lever_Base.png.import: -------------------------------------------------------------------------------- 1 | [remap] 2 | 3 | importer="texture" 4 | type="CompressedTexture2D" 5 | uid="uid://cmnrsn6iriliq" 6 | path="res://.godot/imported/Lever_Base.png-ecbf86ac20fa9b5662a22431bb05c81b.ctex" 7 | metadata={ 8 | "vram_texture": false 9 | } 10 | 11 | [deps] 12 | 13 | source_file="res://Art/Lever_Base.png" 14 | dest_files=["res://.godot/imported/Lever_Base.png-ecbf86ac20fa9b5662a22431bb05c81b.ctex"] 15 | 16 | [params] 17 | 18 | compress/mode=0 19 | compress/high_quality=false 20 | compress/lossy_quality=0.7 21 | compress/hdr_compression=1 22 | compress/normal_map=0 23 | compress/channel_pack=0 24 | mipmaps/generate=false 25 | mipmaps/limit=-1 26 | roughness/mode=0 27 | roughness/src_normal="" 28 | process/fix_alpha_border=true 29 | process/premult_alpha=false 30 | process/normal_map_invert_y=false 31 | process/hdr_as_srgb=false 32 | process/hdr_clamp_exposure=false 33 | process/size_limit=0 34 | detect_3d/compress_to=1 35 | -------------------------------------------------------------------------------- /Project/Art/Lever_Handle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/popcar2/Godot_Tween_Comparisons/29620f76b400a6c4f48b06075b95e4fbf24b713e/Project/Art/Lever_Handle.png -------------------------------------------------------------------------------- /Project/Art/Lever_Handle.png.import: -------------------------------------------------------------------------------- 1 | [remap] 2 | 3 | importer="texture" 4 | type="CompressedTexture2D" 5 | uid="uid://doey4pdk8u8a5" 6 | path="res://.godot/imported/Lever_Handle.png-ad5296aa67cf6549f003f70c789b647b.ctex" 7 | metadata={ 8 | "vram_texture": false 9 | } 10 | 11 | [deps] 12 | 13 | source_file="res://Art/Lever_Handle.png" 14 | dest_files=["res://.godot/imported/Lever_Handle.png-ad5296aa67cf6549f003f70c789b647b.ctex"] 15 | 16 | [params] 17 | 18 | compress/mode=0 19 | compress/high_quality=false 20 | compress/lossy_quality=0.7 21 | compress/hdr_compression=1 22 | compress/normal_map=0 23 | compress/channel_pack=0 24 | mipmaps/generate=false 25 | mipmaps/limit=-1 26 | roughness/mode=0 27 | roughness/src_normal="" 28 | process/fix_alpha_border=true 29 | process/premult_alpha=false 30 | process/normal_map_invert_y=false 31 | process/hdr_as_srgb=false 32 | process/hdr_clamp_exposure=false 33 | process/size_limit=0 34 | detect_3d/compress_to=1 35 | -------------------------------------------------------------------------------- /Project/Art/Skeleton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/popcar2/Godot_Tween_Comparisons/29620f76b400a6c4f48b06075b95e4fbf24b713e/Project/Art/Skeleton.png -------------------------------------------------------------------------------- /Project/Art/Skeleton.png.import: -------------------------------------------------------------------------------- 1 | [remap] 2 | 3 | importer="texture" 4 | type="CompressedTexture2D" 5 | uid="uid://qdli0ptbxeyy" 6 | path="res://.godot/imported/Skeleton.png-fd58daa9cb6aba218aff614806b09886.ctex" 7 | metadata={ 8 | "vram_texture": false 9 | } 10 | 11 | [deps] 12 | 13 | source_file="res://Art/Skeleton.png" 14 | dest_files=["res://.godot/imported/Skeleton.png-fd58daa9cb6aba218aff614806b09886.ctex"] 15 | 16 | [params] 17 | 18 | compress/mode=0 19 | compress/high_quality=false 20 | compress/lossy_quality=0.7 21 | compress/hdr_compression=1 22 | compress/normal_map=0 23 | compress/channel_pack=0 24 | mipmaps/generate=false 25 | mipmaps/limit=-1 26 | roughness/mode=0 27 | roughness/src_normal="" 28 | process/fix_alpha_border=true 29 | process/premult_alpha=false 30 | process/normal_map_invert_y=false 31 | process/hdr_as_srgb=false 32 | process/hdr_clamp_exposure=false 33 | process/size_limit=0 34 | detect_3d/compress_to=1 35 | -------------------------------------------------------------------------------- /Project/Art/Sword.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/popcar2/Godot_Tween_Comparisons/29620f76b400a6c4f48b06075b95e4fbf24b713e/Project/Art/Sword.png -------------------------------------------------------------------------------- /Project/Art/Sword.png.import: -------------------------------------------------------------------------------- 1 | [remap] 2 | 3 | importer="texture" 4 | type="CompressedTexture2D" 5 | uid="uid://k5lh6vse52h3" 6 | path="res://.godot/imported/Sword.png-5ee1a4e2cd0c74de10aff25a3dea084f.ctex" 7 | metadata={ 8 | "vram_texture": false 9 | } 10 | 11 | [deps] 12 | 13 | source_file="res://Art/Sword.png" 14 | dest_files=["res://.godot/imported/Sword.png-5ee1a4e2cd0c74de10aff25a3dea084f.ctex"] 15 | 16 | [params] 17 | 18 | compress/mode=0 19 | compress/high_quality=false 20 | compress/lossy_quality=0.7 21 | compress/hdr_compression=1 22 | compress/normal_map=0 23 | compress/channel_pack=0 24 | mipmaps/generate=false 25 | mipmaps/limit=-1 26 | roughness/mode=0 27 | roughness/src_normal="" 28 | process/fix_alpha_border=true 29 | process/premult_alpha=false 30 | process/normal_map_invert_y=false 31 | process/hdr_as_srgb=false 32 | process/hdr_clamp_exposure=false 33 | process/size_limit=0 34 | detect_3d/compress_to=1 35 | -------------------------------------------------------------------------------- /Project/Art/Tiles/Tile_Dirt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/popcar2/Godot_Tween_Comparisons/29620f76b400a6c4f48b06075b95e4fbf24b713e/Project/Art/Tiles/Tile_Dirt.png -------------------------------------------------------------------------------- /Project/Art/Tiles/Tile_Dirt.png.import: -------------------------------------------------------------------------------- 1 | [remap] 2 | 3 | importer="texture" 4 | type="CompressedTexture2D" 5 | uid="uid://pkcf4fjeyfjj" 6 | path="res://.godot/imported/Tile_Dirt.png-ab1ee70c00d652c58b5d793e80494004.ctex" 7 | metadata={ 8 | "vram_texture": false 9 | } 10 | 11 | [deps] 12 | 13 | source_file="res://Art/Tiles/Tile_Dirt.png" 14 | dest_files=["res://.godot/imported/Tile_Dirt.png-ab1ee70c00d652c58b5d793e80494004.ctex"] 15 | 16 | [params] 17 | 18 | compress/mode=0 19 | compress/high_quality=false 20 | compress/lossy_quality=0.7 21 | compress/hdr_compression=1 22 | compress/normal_map=0 23 | compress/channel_pack=0 24 | mipmaps/generate=false 25 | mipmaps/limit=-1 26 | roughness/mode=0 27 | roughness/src_normal="" 28 | process/fix_alpha_border=true 29 | process/premult_alpha=false 30 | process/normal_map_invert_y=false 31 | process/hdr_as_srgb=false 32 | process/hdr_clamp_exposure=false 33 | process/size_limit=0 34 | detect_3d/compress_to=1 35 | -------------------------------------------------------------------------------- /Project/Art/Tiles/Tile_Golden.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/popcar2/Godot_Tween_Comparisons/29620f76b400a6c4f48b06075b95e4fbf24b713e/Project/Art/Tiles/Tile_Golden.png -------------------------------------------------------------------------------- /Project/Art/Tiles/Tile_Golden.png.import: -------------------------------------------------------------------------------- 1 | [remap] 2 | 3 | importer="texture" 4 | type="CompressedTexture2D" 5 | uid="uid://njharhfayqng" 6 | path="res://.godot/imported/Tile_Golden.png-5e94de7787a5fedfe55bca57bdd3f9ca.ctex" 7 | metadata={ 8 | "vram_texture": false 9 | } 10 | 11 | [deps] 12 | 13 | source_file="res://Art/Tiles/Tile_Golden.png" 14 | dest_files=["res://.godot/imported/Tile_Golden.png-5e94de7787a5fedfe55bca57bdd3f9ca.ctex"] 15 | 16 | [params] 17 | 18 | compress/mode=0 19 | compress/high_quality=false 20 | compress/lossy_quality=0.7 21 | compress/hdr_compression=1 22 | compress/normal_map=0 23 | compress/channel_pack=0 24 | mipmaps/generate=false 25 | mipmaps/limit=-1 26 | roughness/mode=0 27 | roughness/src_normal="" 28 | process/fix_alpha_border=true 29 | process/premult_alpha=false 30 | process/normal_map_invert_y=false 31 | process/hdr_as_srgb=false 32 | process/hdr_clamp_exposure=false 33 | process/size_limit=0 34 | detect_3d/compress_to=1 35 | -------------------------------------------------------------------------------- /Project/Art/Tiles/Tile_Grass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/popcar2/Godot_Tween_Comparisons/29620f76b400a6c4f48b06075b95e4fbf24b713e/Project/Art/Tiles/Tile_Grass.png -------------------------------------------------------------------------------- /Project/Art/Tiles/Tile_Grass.png.import: -------------------------------------------------------------------------------- 1 | [remap] 2 | 3 | importer="texture" 4 | type="CompressedTexture2D" 5 | uid="uid://b1hvbrg1j0lr4" 6 | path="res://.godot/imported/Tile_Grass.png-bbbd29c509333660a31171cb2a0157f5.ctex" 7 | metadata={ 8 | "vram_texture": false 9 | } 10 | 11 | [deps] 12 | 13 | source_file="res://Art/Tiles/Tile_Grass.png" 14 | dest_files=["res://.godot/imported/Tile_Grass.png-bbbd29c509333660a31171cb2a0157f5.ctex"] 15 | 16 | [params] 17 | 18 | compress/mode=0 19 | compress/high_quality=false 20 | compress/lossy_quality=0.7 21 | compress/hdr_compression=1 22 | compress/normal_map=0 23 | compress/channel_pack=0 24 | mipmaps/generate=false 25 | mipmaps/limit=-1 26 | roughness/mode=0 27 | roughness/src_normal="" 28 | process/fix_alpha_border=true 29 | process/premult_alpha=false 30 | process/normal_map_invert_y=false 31 | process/hdr_as_srgb=false 32 | process/hdr_clamp_exposure=false 33 | process/size_limit=0 34 | detect_3d/compress_to=1 35 | -------------------------------------------------------------------------------- /Project/Art/icon.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Project/Art/icon.svg.import: -------------------------------------------------------------------------------- 1 | [remap] 2 | 3 | importer="texture" 4 | type="CompressedTexture2D" 5 | uid="uid://d2427qhw4k0m6" 6 | path="res://.godot/imported/icon.svg-750f30f6912a3e29e1f50a8e1a7e4a3e.ctex" 7 | metadata={ 8 | "vram_texture": false 9 | } 10 | 11 | [deps] 12 | 13 | source_file="res://Art/icon.svg" 14 | dest_files=["res://.godot/imported/icon.svg-750f30f6912a3e29e1f50a8e1a7e4a3e.ctex"] 15 | 16 | [params] 17 | 18 | compress/mode=0 19 | compress/high_quality=false 20 | compress/lossy_quality=0.7 21 | compress/hdr_compression=1 22 | compress/normal_map=0 23 | compress/channel_pack=0 24 | mipmaps/generate=false 25 | mipmaps/limit=-1 26 | roughness/mode=0 27 | roughness/src_normal="" 28 | process/fix_alpha_border=true 29 | process/premult_alpha=false 30 | process/normal_map_invert_y=false 31 | process/hdr_as_srgb=false 32 | process/hdr_clamp_exposure=false 33 | process/size_limit=0 34 | detect_3d/compress_to=1 35 | svg/scale=1.0 36 | editor/scale_with_editor_scale=false 37 | editor/convert_colors_with_editor_theme=false 38 | -------------------------------------------------------------------------------- /Project/Nodes/camera_world.tscn: -------------------------------------------------------------------------------- 1 | [gd_scene load_steps=15 format=3 uid="uid://dhmlcq7r2u0bi"] 2 | 3 | [ext_resource type="Texture2D" uid="uid://b1hvbrg1j0lr4" path="res://Art/Tiles/Tile_Grass.png" id="1_ys0yo"] 4 | [ext_resource type="Texture2D" uid="uid://pkcf4fjeyfjj" path="res://Art/Tiles/Tile_Dirt.png" id="2_ohqsq"] 5 | [ext_resource type="Texture2D" uid="uid://njharhfayqng" path="res://Art/Tiles/Tile_Golden.png" id="3_l2g4e"] 6 | [ext_resource type="Texture2D" uid="uid://bcobr8ytqy5qf" path="res://Art/Characters/character_0000.png" id="4_dm6g2"] 7 | [ext_resource type="Texture2D" uid="uid://dwbogi7kc6fjg" path="res://Art/Characters/character_0001.png" id="5_80r75"] 8 | [ext_resource type="Texture2D" uid="uid://bjvoarlyhhtbj" path="res://Art/Characters/character_0002.png" id="6_cpdc5"] 9 | [ext_resource type="Texture2D" uid="uid://5y1gdr2xn8" path="res://Art/Characters/character_0003.png" id="7_gcvwd"] 10 | 11 | [sub_resource type="CanvasTexture" id="CanvasTexture_1wwdd"] 12 | 13 | [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_xhfsi"] 14 | texture = ExtResource("1_ys0yo") 15 | texture_region_size = Vector2i(18, 18) 16 | 0:0/0 = 0 17 | 18 | [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_ikf3a"] 19 | texture = ExtResource("2_ohqsq") 20 | texture_region_size = Vector2i(18, 18) 21 | 0:0/0 = 0 22 | 23 | [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_hs6ee"] 24 | texture = ExtResource("3_l2g4e") 25 | texture_region_size = Vector2i(18, 18) 26 | 0:0/0 = 0 27 | 28 | [sub_resource type="TileSet" id="TileSet_mqsq2"] 29 | tile_size = Vector2i(18, 18) 30 | sources/1 = SubResource("TileSetAtlasSource_xhfsi") 31 | sources/2 = SubResource("TileSetAtlasSource_ikf3a") 32 | sources/3 = SubResource("TileSetAtlasSource_hs6ee") 33 | 34 | [sub_resource type="SpriteFrames" id="SpriteFrames_slfnl"] 35 | animations = [{ 36 | "frames": [{ 37 | "duration": 1.0, 38 | "texture": ExtResource("4_dm6g2") 39 | }, { 40 | "duration": 1.0, 41 | "texture": ExtResource("5_80r75") 42 | }], 43 | "loop": true, 44 | "name": &"default", 45 | "speed": 4.0 46 | }] 47 | 48 | [sub_resource type="SpriteFrames" id="SpriteFrames_otk7a"] 49 | animations = [{ 50 | "frames": [{ 51 | "duration": 1.0, 52 | "texture": ExtResource("6_cpdc5") 53 | }, { 54 | "duration": 1.0, 55 | "texture": ExtResource("7_gcvwd") 56 | }], 57 | "loop": true, 58 | "name": &"default", 59 | "speed": 4.0 60 | }] 61 | 62 | [node name="Camera_World" type="Node2D"] 63 | position = Vector2(0, -16) 64 | 65 | [node name="Background" type="Sprite2D" parent="."] 66 | modulate = Color(0.0509804, 0.0980392, 0.168627, 1) 67 | position = Vector2(400, 0) 68 | scale = Vector2(2000, 500) 69 | texture = SubResource("CanvasTexture_1wwdd") 70 | 71 | [node name="TileMap" type="TileMap" parent="."] 72 | texture_filter = 1 73 | position = Vector2(0, -22) 74 | scale = Vector2(2, 2) 75 | tile_set = SubResource("TileSet_mqsq2") 76 | cell_quadrant_size = 18 77 | format = 2 78 | layer_0/tile_data = PackedInt32Array(65538, 1, 0, 65537, 1, 0, 65536, 1, 0, 131071, 1, 0, 131070, 1, 0, 131069, 1, 0, 131068, 1, 0, 131067, 1, 0, 131066, 1, 0, 131065, 1, 0, 131064, 1, 0, 131063, 1, 0, 131062, 1, 0, 131073, 2, 0, 131074, 2, 0, 131075, 2, 0, 131076, 2, 0, 65539, 1, 0, 65549, 2, 0, 65550, 2, 0, 131061, 1, 0, 131060, 1, 0, 131059, 1, 0, 131058, 1, 0, 196608, 2, 0, 262143, 2, 0, 262142, 2, 0, 262141, 2, 0, 262140, 2, 0, 196604, 2, 0, 196603, 2, 0, 196605, 2, 0, 196606, 2, 0, 196607, 2, 0, 131072, 2, 0, 131084, 2, 0, 131085, 2, 0, 131086, 2, 0, 131087, 2, 0, 131088, 2, 0, 196622, 2, 0, 196621, 2, 0, 262156, 2, 0, 262155, 2, 0, 262154, 2, 0, 262153, 2, 0, 262152, 2, 0, 262149, 2, 0, 262148, 2, 0, 262147, 2, 0, 262146, 2, 0, 262145, 2, 0, 262144, 2, 0, 327679, 2, 0, 327678, 2, 0, 327677, 2, 0, 327676, 2, 0, 262139, 2, 0, 262138, 2, 0, 196619, 2, 0, 196620, 2, 0, 196618, 2, 0, 196617, 2, 0, 196613, 2, 0, 196612, 2, 0, 196611, 2, 0, 196610, 2, 0, 196609, 2, 0, 262137, 2, 0, 196601, 2, 0, 196602, 2, 0, 196600, 2, 0, 196599, 2, 0, 196598, 2, 0, 196597, 2, 0, 196596, 2, 0, 196595, 2, 0, 262132, 2, 0, 262133, 2, 0, 262134, 2, 0, 262135, 2, 0, 262136, 2, 0, 327674, 2, 0, 327673, 2, 0, 327672, 2, 0, 327671, 2, 0, 327670, 2, 0, 327669, 2, 0, 327668, 2, 0, 327667, 2, 0, 327675, 2, 0, 262157, 2, 0, 262158, 2, 0, 262159, 2, 0, 196623, 2, 0, 196624, 2, 0, 262160, 2, 0, 262131, 2, 0, 262130, 2, 0, 196594, 2, 0, 327666, 2, 0, 65552, 2, 0, 65551, 2, 0, -65532, 3, 0, 196616, 2, 0, 131081, 2, 0, 65546, 1, 0, 65547, 2, 0, 65548, 2, 0, 131082, 2, 0, 131083, 2, 0, 65553, 2, 0, 65554, 2, 0, 65555, 2, 0, 65556, 2, 0, 65557, 1, 0, 65558, 1, 0, 65559, 1, 0, 65560, 1, 0, 65561, 1, 0, 65562, 1, 0, 65563, 1, 0, 65564, 1, 0, 65565, 1, 0, 131089, 2, 0, 196625, 2, 0, 262161, 2, 0, 131090, 2, 0, 196626, 2, 0, 262162, 2, 0, 131091, 2, 0, 196627, 2, 0, 262163, 2, 0, 131092, 2, 0, 196628, 2, 0, 262164, 2, 0, 131093, 2, 0, 196629, 2, 0, 262165, 2, 0, 131094, 2, 0, 196630, 2, 0, 262166, 2, 0, 131095, 2, 0, 196631, 2, 0, 262167, 2, 0, 131096, 2, 0, 196632, 2, 0, 262168, 2, 0, 131097, 2, 0, 196633, 2, 0, 262169, 2, 0, 131098, 2, 0, 196634, 2, 0, 262170, 2, 0, 131099, 2, 0, 196635, 2, 0, 262171, 2, 0, 131100, 2, 0, 196636, 2, 0, 262172, 2, 0, 131101, 2, 0, 196637, 2, 0, 262173, 2, 0, 131077, 2, 0, 131078, 2, 0, 196614, 2, 0, 262150, 2, 0, 131079, 2, 0, 196615, 2, 0, 262151, 2, 0, 131080, 2, 0, 65540, 1, 0, 65541, 1, 0, 65542, 1, 0, 65543, 1, 0, 65544, 1, 0, 65545, 1, 0, -65525, 1, 0, 11, 2, 0, -65524, 1, 0, 12, 2, 0, -65523, 1, 0, 13, 2, 0, -65522, 1, 0, 14, 2, 0, -65521, 1, 0, 15, 2, 0, -65520, 1, 0, 16, 2, 0, -65519, 1, 0, 17, 2, 0, -65518, 1, 0, 18, 2, 0, -65517, 1, 0, 19, 2, 0, -65516, 1, 0, 20, 2, 0, -65531, 3, 0, -65530, 3, 0) 79 | 80 | [node name="Character 1" type="AnimatedSprite2D" parent="."] 81 | texture_filter = 1 82 | scale = Vector2(1.5, 1.5) 83 | sprite_frames = SubResource("SpriteFrames_slfnl") 84 | autoplay = "default" 85 | frame_progress = 0.975607 86 | flip_h = true 87 | 88 | [node name="Character 2" type="AnimatedSprite2D" parent="."] 89 | texture_filter = 1 90 | position = Vector2(414, -72) 91 | scale = Vector2(1.5, 1.5) 92 | sprite_frames = SubResource("SpriteFrames_otk7a") 93 | autoplay = "default" 94 | -------------------------------------------------------------------------------- /Project/Nodes/disabled_label.tscn: -------------------------------------------------------------------------------- 1 | [gd_scene format=3 uid="uid://djosn0sxh4ks0"] 2 | 3 | [node name="Disabled Label" type="Label"] 4 | anchors_preset = -1 5 | anchor_left = 0.5 6 | anchor_top = 0.5 7 | anchor_right = 0.5 8 | anchor_bottom = 0.753086 9 | offset_left = -80.0 10 | offset_top = -13.0 11 | offset_right = 80.0 12 | offset_bottom = 13.0 13 | grow_horizontal = 2 14 | grow_vertical = 2 15 | size_flags_horizontal = 4 16 | text = "(click again to enable)" 17 | horizontal_alignment = 1 18 | vertical_alignment = 1 19 | metadata/_edit_use_anchors_ = true 20 | -------------------------------------------------------------------------------- /Project/Scenes/1_Movement.tscn: -------------------------------------------------------------------------------- 1 | [gd_scene load_steps=8 format=3 uid="uid://pommihb0hl1o"] 2 | 3 | [ext_resource type="Theme" uid="uid://dt4b5okf4yefr" path="res://Themes/DefaultTheme.tres" id="1_bd402"] 4 | [ext_resource type="Script" path="res://Scripts/SceneController.gd" id="1_t818r"] 5 | [ext_resource type="Script" path="res://Scripts/TweenResource.gd" id="2_baxib"] 6 | [ext_resource type="Script" path="res://Scripts/PanelDisabler.gd" id="4_fnh0k"] 7 | [ext_resource type="Script" path="res://Scripts/SceneChanger.gd" id="4_jtq72"] 8 | [ext_resource type="Texture2D" uid="uid://d2427qhw4k0m6" path="res://Art/icon.svg" id="5_eeboc"] 9 | 10 | [sub_resource type="Resource" id="Resource_rbltn"] 11 | script = ExtResource("2_baxib") 12 | tweened_property = "position:x" 13 | tween_from = 60.0 14 | tween_to = 514.0 15 | 16 | [node name="Control" type="Control"] 17 | layout_mode = 3 18 | anchors_preset = 15 19 | anchor_right = 1.0 20 | anchor_bottom = 1.0 21 | grow_horizontal = 2 22 | grow_vertical = 2 23 | theme = ExtResource("1_bd402") 24 | script = ExtResource("1_t818r") 25 | tween_resources = Array[ExtResource("2_baxib")]([SubResource("Resource_rbltn")]) 26 | 27 | [node name="VBoxContainer" type="VBoxContainer" parent="."] 28 | layout_mode = 1 29 | anchors_preset = 15 30 | anchor_right = 1.0 31 | anchor_bottom = 1.0 32 | grow_horizontal = 2 33 | grow_vertical = 2 34 | 35 | [node name="GridContainer" type="GridContainer" parent="VBoxContainer"] 36 | layout_mode = 2 37 | size_flags_vertical = 3 38 | columns = 2 39 | 40 | [node name="Linear Panel" type="Panel" parent="VBoxContainer/GridContainer"] 41 | layout_mode = 2 42 | size_flags_horizontal = 3 43 | size_flags_vertical = 3 44 | script = ExtResource("4_fnh0k") 45 | 46 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Linear Panel"] 47 | layout_mode = 1 48 | anchors_preset = 5 49 | anchor_left = 0.5 50 | anchor_right = 0.5 51 | offset_left = -20.0 52 | offset_right = 20.0 53 | offset_bottom = 23.0 54 | grow_horizontal = 2 55 | theme_override_font_sizes/font_size = 32 56 | text = "Linear" 57 | horizontal_alignment = 1 58 | 59 | [node name="Linear Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Linear Panel"] 60 | unique_name_in_owner = true 61 | position = Vector2(60, 80) 62 | scale = Vector2(0.5, 0.5) 63 | texture = ExtResource("5_eeboc") 64 | 65 | [node name="Sine Panel" type="Panel" parent="VBoxContainer/GridContainer"] 66 | layout_mode = 2 67 | size_flags_horizontal = 3 68 | size_flags_vertical = 3 69 | script = ExtResource("4_fnh0k") 70 | 71 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Sine Panel"] 72 | layout_mode = 1 73 | anchors_preset = 5 74 | anchor_left = 0.5 75 | anchor_right = 0.5 76 | offset_left = -20.0 77 | offset_right = 20.0 78 | offset_bottom = 23.0 79 | grow_horizontal = 2 80 | theme_override_font_sizes/font_size = 32 81 | text = "Sine" 82 | horizontal_alignment = 1 83 | 84 | [node name="Sine Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Sine Panel"] 85 | unique_name_in_owner = true 86 | position = Vector2(60, 80) 87 | scale = Vector2(0.5, 0.5) 88 | texture = ExtResource("5_eeboc") 89 | 90 | [node name="Quad Panel" type="Panel" parent="VBoxContainer/GridContainer"] 91 | layout_mode = 2 92 | size_flags_horizontal = 3 93 | size_flags_vertical = 3 94 | script = ExtResource("4_fnh0k") 95 | 96 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quad Panel"] 97 | layout_mode = 1 98 | anchors_preset = 5 99 | anchor_left = 0.5 100 | anchor_right = 0.5 101 | offset_left = -20.0 102 | offset_right = 20.0 103 | offset_bottom = 23.0 104 | grow_horizontal = 2 105 | theme_override_font_sizes/font_size = 32 106 | text = "Quadratic" 107 | horizontal_alignment = 1 108 | 109 | [node name="Quad Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Quad Panel"] 110 | unique_name_in_owner = true 111 | position = Vector2(60, 80) 112 | scale = Vector2(0.5, 0.5) 113 | texture = ExtResource("5_eeboc") 114 | 115 | [node name="Circ Panel" type="Panel" parent="VBoxContainer/GridContainer"] 116 | layout_mode = 2 117 | size_flags_horizontal = 3 118 | size_flags_vertical = 3 119 | script = ExtResource("4_fnh0k") 120 | 121 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Circ Panel"] 122 | layout_mode = 1 123 | anchors_preset = 5 124 | anchor_left = 0.5 125 | anchor_right = 0.5 126 | offset_left = -20.0 127 | offset_right = 20.0 128 | offset_bottom = 23.0 129 | grow_horizontal = 2 130 | theme_override_font_sizes/font_size = 32 131 | text = "Circular" 132 | horizontal_alignment = 1 133 | 134 | [node name="Circ Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Circ Panel"] 135 | unique_name_in_owner = true 136 | position = Vector2(60, 80) 137 | scale = Vector2(0.5, 0.5) 138 | texture = ExtResource("5_eeboc") 139 | 140 | [node name="Cubic Panel" type="Panel" parent="VBoxContainer/GridContainer"] 141 | layout_mode = 2 142 | size_flags_horizontal = 3 143 | size_flags_vertical = 3 144 | script = ExtResource("4_fnh0k") 145 | 146 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Cubic Panel"] 147 | layout_mode = 1 148 | anchors_preset = 5 149 | anchor_left = 0.5 150 | anchor_right = 0.5 151 | offset_left = -20.0 152 | offset_right = 20.0 153 | offset_bottom = 23.0 154 | grow_horizontal = 2 155 | theme_override_font_sizes/font_size = 32 156 | text = "Cubic" 157 | horizontal_alignment = 1 158 | 159 | [node name="Cubic Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Cubic Panel"] 160 | unique_name_in_owner = true 161 | position = Vector2(60, 80) 162 | scale = Vector2(0.5, 0.5) 163 | texture = ExtResource("5_eeboc") 164 | 165 | [node name="Elastic Panel" type="Panel" parent="VBoxContainer/GridContainer"] 166 | z_index = 1 167 | layout_mode = 2 168 | size_flags_horizontal = 3 169 | size_flags_vertical = 3 170 | script = ExtResource("4_fnh0k") 171 | 172 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Elastic Panel"] 173 | layout_mode = 1 174 | anchors_preset = 5 175 | anchor_left = 0.5 176 | anchor_right = 0.5 177 | offset_left = -20.0 178 | offset_right = 20.0 179 | offset_bottom = 23.0 180 | grow_horizontal = 2 181 | theme_override_font_sizes/font_size = 32 182 | text = "Elastic" 183 | horizontal_alignment = 1 184 | 185 | [node name="Elastic Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Elastic Panel"] 186 | unique_name_in_owner = true 187 | position = Vector2(60, 80) 188 | scale = Vector2(0.5, 0.5) 189 | texture = ExtResource("5_eeboc") 190 | 191 | [node name="Quart Panel" type="Panel" parent="VBoxContainer/GridContainer"] 192 | layout_mode = 2 193 | size_flags_horizontal = 3 194 | size_flags_vertical = 3 195 | script = ExtResource("4_fnh0k") 196 | 197 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quart Panel"] 198 | layout_mode = 1 199 | anchors_preset = 5 200 | anchor_left = 0.5 201 | anchor_right = 0.5 202 | offset_left = -20.0 203 | offset_right = 20.0 204 | offset_bottom = 23.0 205 | grow_horizontal = 2 206 | theme_override_font_sizes/font_size = 32 207 | text = "Quartic" 208 | horizontal_alignment = 1 209 | 210 | [node name="Quart Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Quart Panel"] 211 | unique_name_in_owner = true 212 | position = Vector2(60, 80) 213 | scale = Vector2(0.5, 0.5) 214 | texture = ExtResource("5_eeboc") 215 | 216 | [node name="Back Panel" type="Panel" parent="VBoxContainer/GridContainer"] 217 | z_index = 1 218 | layout_mode = 2 219 | size_flags_horizontal = 3 220 | size_flags_vertical = 3 221 | script = ExtResource("4_fnh0k") 222 | 223 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Back Panel"] 224 | layout_mode = 1 225 | anchors_preset = 5 226 | anchor_left = 0.5 227 | anchor_right = 0.5 228 | offset_left = -20.0 229 | offset_right = 20.0 230 | offset_bottom = 23.0 231 | grow_horizontal = 2 232 | theme_override_font_sizes/font_size = 32 233 | text = "Back" 234 | horizontal_alignment = 1 235 | 236 | [node name="Back Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Back Panel"] 237 | unique_name_in_owner = true 238 | position = Vector2(60, 80) 239 | scale = Vector2(0.5, 0.5) 240 | texture = ExtResource("5_eeboc") 241 | 242 | [node name="Quint Panel" type="Panel" parent="VBoxContainer/GridContainer"] 243 | layout_mode = 2 244 | size_flags_horizontal = 3 245 | size_flags_vertical = 3 246 | script = ExtResource("4_fnh0k") 247 | 248 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quint Panel"] 249 | layout_mode = 1 250 | anchors_preset = 5 251 | anchor_left = 0.5 252 | anchor_right = 0.5 253 | offset_left = -20.0 254 | offset_right = 20.0 255 | offset_bottom = 23.0 256 | grow_horizontal = 2 257 | theme_override_font_sizes/font_size = 32 258 | text = "Quintic" 259 | horizontal_alignment = 1 260 | 261 | [node name="Quint Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Quint Panel"] 262 | unique_name_in_owner = true 263 | position = Vector2(60, 80) 264 | scale = Vector2(0.5, 0.5) 265 | texture = ExtResource("5_eeboc") 266 | 267 | [node name="Spring Panel" type="Panel" parent="VBoxContainer/GridContainer"] 268 | layout_mode = 2 269 | size_flags_horizontal = 3 270 | size_flags_vertical = 3 271 | script = ExtResource("4_fnh0k") 272 | 273 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Spring Panel"] 274 | layout_mode = 1 275 | anchors_preset = 5 276 | anchor_left = 0.5 277 | anchor_right = 0.5 278 | offset_left = -20.0 279 | offset_right = 20.0 280 | offset_bottom = 23.0 281 | grow_horizontal = 2 282 | theme_override_font_sizes/font_size = 32 283 | text = "Spring" 284 | horizontal_alignment = 1 285 | 286 | [node name="Spring Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Spring Panel"] 287 | unique_name_in_owner = true 288 | position = Vector2(60, 80) 289 | scale = Vector2(0.5, 0.5) 290 | texture = ExtResource("5_eeboc") 291 | 292 | [node name="Expo Panel" type="Panel" parent="VBoxContainer/GridContainer"] 293 | layout_mode = 2 294 | size_flags_horizontal = 3 295 | size_flags_vertical = 3 296 | script = ExtResource("4_fnh0k") 297 | 298 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Expo Panel"] 299 | layout_mode = 1 300 | anchors_preset = 5 301 | anchor_left = 0.5 302 | anchor_right = 0.5 303 | offset_left = -20.0 304 | offset_right = 20.0 305 | offset_bottom = 23.0 306 | grow_horizontal = 2 307 | theme_override_font_sizes/font_size = 32 308 | text = "Exponential" 309 | horizontal_alignment = 1 310 | 311 | [node name="Expo Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Expo Panel"] 312 | unique_name_in_owner = true 313 | position = Vector2(60, 80) 314 | scale = Vector2(0.5, 0.5) 315 | texture = ExtResource("5_eeboc") 316 | 317 | [node name="Bounce Panel" type="Panel" parent="VBoxContainer/GridContainer"] 318 | layout_mode = 2 319 | size_flags_horizontal = 3 320 | size_flags_vertical = 3 321 | script = ExtResource("4_fnh0k") 322 | 323 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Bounce Panel"] 324 | layout_mode = 1 325 | anchors_preset = 5 326 | anchor_left = 0.5 327 | anchor_right = 0.5 328 | offset_left = -20.0 329 | offset_right = 20.0 330 | offset_bottom = 23.0 331 | grow_horizontal = 2 332 | theme_override_font_sizes/font_size = 32 333 | text = "Bounce" 334 | horizontal_alignment = 1 335 | 336 | [node name="Bounce Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Bounce Panel"] 337 | unique_name_in_owner = true 338 | position = Vector2(60, 80) 339 | scale = Vector2(0.5, 0.5) 340 | texture = ExtResource("5_eeboc") 341 | 342 | [node name="Settings Panel" type="Panel" parent="VBoxContainer"] 343 | custom_minimum_size = Vector2(0, 40) 344 | layout_mode = 2 345 | 346 | [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/Settings Panel"] 347 | layout_mode = 1 348 | anchors_preset = 15 349 | anchor_right = 1.0 350 | anchor_bottom = 1.0 351 | grow_horizontal = 2 352 | grow_vertical = 2 353 | 354 | [node name="Scene Name" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer"] 355 | custom_minimum_size = Vector2(200, 0) 356 | layout_mode = 2 357 | text = "Simple Movement" 358 | horizontal_alignment = 1 359 | vertical_alignment = 1 360 | 361 | [node name="Time Settings" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 362 | layout_mode = 2 363 | 364 | [node name="Time Label" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 365 | layout_mode = 2 366 | text = "Time" 367 | horizontal_alignment = 1 368 | vertical_alignment = 1 369 | 370 | [node name="Time Spinbox" type="SpinBox" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 371 | unique_name_in_owner = true 372 | layout_mode = 2 373 | min_value = 0.1 374 | step = 0.1 375 | value = 1.0 376 | alignment = 1 377 | update_on_text_changed = true 378 | select_all_on_focus = true 379 | 380 | [node name="Time Slider" type="HSlider" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 381 | unique_name_in_owner = true 382 | custom_minimum_size = Vector2(150, 0) 383 | layout_mode = 2 384 | size_flags_vertical = 4 385 | min_value = 0.1 386 | max_value = 10.0 387 | step = 0.1 388 | value = 1.0 389 | 390 | [node name="Cooldown Settings" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 391 | layout_mode = 2 392 | 393 | [node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 394 | custom_minimum_size = Vector2(30, 0) 395 | layout_mode = 2 396 | 397 | [node name="Cooldown Label" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 398 | layout_mode = 2 399 | text = "Cooldown" 400 | horizontal_alignment = 1 401 | vertical_alignment = 1 402 | 403 | [node name="Cooldown Spinbox" type="SpinBox" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 404 | unique_name_in_owner = true 405 | layout_mode = 2 406 | step = 0.1 407 | value = 0.5 408 | alignment = 1 409 | update_on_text_changed = true 410 | select_all_on_focus = true 411 | 412 | [node name="Cooldown Slider" type="HSlider" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 413 | unique_name_in_owner = true 414 | custom_minimum_size = Vector2(150, 0) 415 | layout_mode = 2 416 | size_flags_vertical = 4 417 | max_value = 5.0 418 | step = 0.1 419 | value = 0.5 420 | 421 | [node name="EaseType Option" type="OptionButton" parent="VBoxContainer/Settings Panel/HBoxContainer"] 422 | unique_name_in_owner = true 423 | layout_mode = 2 424 | item_count = 4 425 | selected = 2 426 | popup/item_0/text = "Ease In" 427 | popup/item_0/id = 0 428 | popup/item_1/text = "Ease Out" 429 | popup/item_1/id = 1 430 | popup/item_2/text = "Ease In Out" 431 | popup/item_2/id = 2 432 | popup/item_3/text = "Ease Out In" 433 | popup/item_3/id = 3 434 | 435 | [node name="Scene Arrows" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 436 | layout_mode = 2 437 | size_flags_horizontal = 10 438 | script = ExtResource("4_jtq72") 439 | next_scene = "2_Scaling" 440 | 441 | [node name="PrevScene Button" type="Button" parent="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows"] 442 | custom_minimum_size = Vector2(50, 0) 443 | layout_mode = 2 444 | text = "<" 445 | 446 | [node name="NextScene Button" type="Button" parent="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows"] 447 | custom_minimum_size = Vector2(50, 0) 448 | layout_mode = 2 449 | text = ">" 450 | 451 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Time Settings/Time Spinbox" to="." method="_on_time_changed"] 452 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Time Settings/Time Slider" to="." method="_on_time_changed"] 453 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings/Cooldown Spinbox" to="." method="_on_cooldown_changed"] 454 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings/Cooldown Slider" to="." method="_on_cooldown_changed"] 455 | [connection signal="item_selected" from="VBoxContainer/Settings Panel/HBoxContainer/EaseType Option" to="." method="_on_ease_type_option_item_selected"] 456 | [connection signal="pressed" from="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows/PrevScene Button" to="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows" method="_on_prev_scene_button_pressed"] 457 | [connection signal="pressed" from="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows/NextScene Button" to="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows" method="_on_next_scene_button_pressed"] 458 | -------------------------------------------------------------------------------- /Project/Scenes/2_Scaling.tscn: -------------------------------------------------------------------------------- 1 | [gd_scene load_steps=9 format=3 uid="uid://dpnoeeg28bctl"] 2 | 3 | [ext_resource type="Script" path="res://Scripts/SceneController.gd" id="1_snjd5"] 4 | [ext_resource type="Theme" uid="uid://dt4b5okf4yefr" path="res://Themes/DefaultTheme.tres" id="1_ybpg8"] 5 | [ext_resource type="Script" path="res://Scripts/TweenResource.gd" id="2_b4isq"] 6 | [ext_resource type="Script" path="res://Scripts/SceneChanger.gd" id="4_5qi3v"] 7 | [ext_resource type="Script" path="res://Scripts/PanelDisabler.gd" id="4_gpaax"] 8 | [ext_resource type="Texture2D" uid="uid://d2427qhw4k0m6" path="res://Art/icon.svg" id="5_c4ade"] 9 | 10 | [sub_resource type="Resource" id="Resource_djoal"] 11 | script = ExtResource("2_b4isq") 12 | tweened_property = "scale:x" 13 | tween_from = 0.3 14 | tween_to = 0.9 15 | 16 | [sub_resource type="Resource" id="Resource_vbfmh"] 17 | script = ExtResource("2_b4isq") 18 | tweened_property = "scale:y" 19 | tween_from = 0.3 20 | tween_to = 0.9 21 | 22 | [node name="Control" type="Control"] 23 | layout_mode = 3 24 | anchors_preset = 15 25 | anchor_right = 1.0 26 | anchor_bottom = 1.0 27 | grow_horizontal = 2 28 | grow_vertical = 2 29 | theme = ExtResource("1_ybpg8") 30 | script = ExtResource("1_snjd5") 31 | tween_resources = Array[ExtResource("2_b4isq")]([SubResource("Resource_djoal"), SubResource("Resource_vbfmh")]) 32 | 33 | [node name="VBoxContainer" type="VBoxContainer" parent="."] 34 | layout_mode = 1 35 | anchors_preset = 15 36 | anchor_right = 1.0 37 | anchor_bottom = 1.0 38 | grow_horizontal = 2 39 | grow_vertical = 2 40 | 41 | [node name="GridContainer" type="GridContainer" parent="VBoxContainer"] 42 | layout_mode = 2 43 | size_flags_vertical = 3 44 | columns = 2 45 | 46 | [node name="Linear Panel" type="Panel" parent="VBoxContainer/GridContainer"] 47 | layout_mode = 2 48 | size_flags_horizontal = 3 49 | size_flags_vertical = 3 50 | script = ExtResource("4_gpaax") 51 | 52 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Linear Panel"] 53 | layout_mode = 1 54 | offset_left = 32.0 55 | offset_top = 12.0 56 | offset_right = 129.0 57 | offset_bottom = 60.0 58 | theme_override_font_sizes/font_size = 32 59 | text = "Linear" 60 | horizontal_alignment = 1 61 | 62 | [node name="Linear Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Linear Panel"] 63 | unique_name_in_owner = true 64 | position = Vector2(287, 59) 65 | scale = Vector2(0.3, 0.3) 66 | texture = ExtResource("5_c4ade") 67 | 68 | [node name="Sine Panel" type="Panel" parent="VBoxContainer/GridContainer"] 69 | layout_mode = 2 70 | size_flags_horizontal = 3 71 | size_flags_vertical = 3 72 | script = ExtResource("4_gpaax") 73 | 74 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Sine Panel"] 75 | layout_mode = 1 76 | offset_left = 32.0 77 | offset_top = 12.0 78 | offset_right = 97.0 79 | offset_bottom = 60.0 80 | theme_override_font_sizes/font_size = 32 81 | text = "Sine" 82 | horizontal_alignment = 1 83 | 84 | [node name="Sine Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Sine Panel"] 85 | unique_name_in_owner = true 86 | position = Vector2(287, 59) 87 | scale = Vector2(0.3, 0.3) 88 | texture = ExtResource("5_c4ade") 89 | 90 | [node name="Quad Panel" type="Panel" parent="VBoxContainer/GridContainer"] 91 | layout_mode = 2 92 | size_flags_horizontal = 3 93 | size_flags_vertical = 3 94 | script = ExtResource("4_gpaax") 95 | 96 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quad Panel"] 97 | layout_mode = 1 98 | offset_left = 32.0 99 | offset_top = 12.0 100 | offset_right = 187.0 101 | offset_bottom = 60.0 102 | theme_override_font_sizes/font_size = 32 103 | text = "Quadratic" 104 | horizontal_alignment = 1 105 | 106 | [node name="Quad Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Quad Panel"] 107 | unique_name_in_owner = true 108 | position = Vector2(287, 59) 109 | scale = Vector2(0.3, 0.3) 110 | texture = ExtResource("5_c4ade") 111 | 112 | [node name="Circ Panel" type="Panel" parent="VBoxContainer/GridContainer"] 113 | layout_mode = 2 114 | size_flags_horizontal = 3 115 | size_flags_vertical = 3 116 | script = ExtResource("4_gpaax") 117 | 118 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Circ Panel"] 119 | layout_mode = 0 120 | offset_left = 32.0 121 | offset_top = 12.0 122 | offset_right = 153.0 123 | offset_bottom = 60.0 124 | theme_override_font_sizes/font_size = 32 125 | text = "Circular" 126 | horizontal_alignment = 1 127 | 128 | [node name="Circ Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Circ Panel"] 129 | unique_name_in_owner = true 130 | position = Vector2(287, 59) 131 | scale = Vector2(0.3, 0.3) 132 | texture = ExtResource("5_c4ade") 133 | 134 | [node name="Cubic Panel" type="Panel" parent="VBoxContainer/GridContainer"] 135 | layout_mode = 2 136 | size_flags_horizontal = 3 137 | size_flags_vertical = 3 138 | script = ExtResource("4_gpaax") 139 | 140 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Cubic Panel"] 141 | layout_mode = 1 142 | offset_left = 32.0 143 | offset_top = 12.0 144 | offset_right = 117.0 145 | offset_bottom = 60.0 146 | theme_override_font_sizes/font_size = 32 147 | text = "Cubic" 148 | horizontal_alignment = 1 149 | 150 | [node name="Cubic Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Cubic Panel"] 151 | unique_name_in_owner = true 152 | position = Vector2(287, 59) 153 | scale = Vector2(0.3, 0.3) 154 | texture = ExtResource("5_c4ade") 155 | 156 | [node name="Elastic Panel" type="Panel" parent="VBoxContainer/GridContainer"] 157 | layout_mode = 2 158 | size_flags_horizontal = 3 159 | size_flags_vertical = 3 160 | script = ExtResource("4_gpaax") 161 | 162 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Elastic Panel"] 163 | layout_mode = 1 164 | offset_left = 32.0 165 | offset_top = 12.0 166 | offset_right = 132.0 167 | offset_bottom = 60.0 168 | theme_override_font_sizes/font_size = 32 169 | text = "Elastic" 170 | horizontal_alignment = 1 171 | 172 | [node name="Elastic Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Elastic Panel"] 173 | unique_name_in_owner = true 174 | position = Vector2(287, 59) 175 | scale = Vector2(0.3, 0.3) 176 | texture = ExtResource("5_c4ade") 177 | 178 | [node name="Quart Panel" type="Panel" parent="VBoxContainer/GridContainer"] 179 | layout_mode = 2 180 | size_flags_horizontal = 3 181 | size_flags_vertical = 3 182 | script = ExtResource("4_gpaax") 183 | 184 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quart Panel"] 185 | layout_mode = 1 186 | offset_left = 32.0 187 | offset_top = 12.0 188 | offset_right = 148.0 189 | offset_bottom = 60.0 190 | theme_override_font_sizes/font_size = 32 191 | text = "Quartic" 192 | horizontal_alignment = 1 193 | 194 | [node name="Quart Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Quart Panel"] 195 | unique_name_in_owner = true 196 | position = Vector2(287, 59) 197 | scale = Vector2(0.3, 0.3) 198 | texture = ExtResource("5_c4ade") 199 | 200 | [node name="Back Panel" type="Panel" parent="VBoxContainer/GridContainer"] 201 | layout_mode = 2 202 | size_flags_horizontal = 3 203 | size_flags_vertical = 3 204 | script = ExtResource("4_gpaax") 205 | 206 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Back Panel"] 207 | layout_mode = 1 208 | offset_left = 32.0 209 | offset_top = 12.0 210 | offset_right = 106.0 211 | offset_bottom = 60.0 212 | theme_override_font_sizes/font_size = 32 213 | text = "Back" 214 | horizontal_alignment = 1 215 | 216 | [node name="Back Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Back Panel"] 217 | unique_name_in_owner = true 218 | position = Vector2(287, 59) 219 | scale = Vector2(0.3, 0.3) 220 | texture = ExtResource("5_c4ade") 221 | 222 | [node name="Quint Panel" type="Panel" parent="VBoxContainer/GridContainer"] 223 | layout_mode = 2 224 | size_flags_horizontal = 3 225 | size_flags_vertical = 3 226 | script = ExtResource("4_gpaax") 227 | 228 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quint Panel"] 229 | layout_mode = 1 230 | offset_left = 32.0 231 | offset_top = 12.0 232 | offset_right = 144.0 233 | offset_bottom = 60.0 234 | theme_override_font_sizes/font_size = 32 235 | text = "Quintic" 236 | horizontal_alignment = 1 237 | 238 | [node name="Quint Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Quint Panel"] 239 | unique_name_in_owner = true 240 | position = Vector2(287, 59) 241 | scale = Vector2(0.3, 0.3) 242 | texture = ExtResource("5_c4ade") 243 | 244 | [node name="Spring Panel" type="Panel" parent="VBoxContainer/GridContainer"] 245 | layout_mode = 2 246 | size_flags_horizontal = 3 247 | size_flags_vertical = 3 248 | script = ExtResource("4_gpaax") 249 | 250 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Spring Panel"] 251 | layout_mode = 1 252 | offset_left = 32.0 253 | offset_top = 12.0 254 | offset_right = 144.0 255 | offset_bottom = 60.0 256 | theme_override_font_sizes/font_size = 32 257 | text = "Spring" 258 | horizontal_alignment = 1 259 | 260 | [node name="Spring Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Spring Panel"] 261 | unique_name_in_owner = true 262 | position = Vector2(287, 59) 263 | scale = Vector2(0.3, 0.3) 264 | texture = ExtResource("5_c4ade") 265 | 266 | [node name="Expo Panel" type="Panel" parent="VBoxContainer/GridContainer"] 267 | layout_mode = 2 268 | size_flags_horizontal = 3 269 | size_flags_vertical = 3 270 | script = ExtResource("4_gpaax") 271 | 272 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Expo Panel"] 273 | layout_mode = 1 274 | offset_left = 32.0 275 | offset_top = 12.0 276 | offset_right = 216.0 277 | offset_bottom = 60.0 278 | theme_override_font_sizes/font_size = 32 279 | text = "Exponential" 280 | horizontal_alignment = 1 281 | 282 | [node name="Expo Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Expo Panel"] 283 | unique_name_in_owner = true 284 | position = Vector2(287, 59) 285 | scale = Vector2(0.3, 0.3) 286 | texture = ExtResource("5_c4ade") 287 | 288 | [node name="Bounce Panel" type="Panel" parent="VBoxContainer/GridContainer"] 289 | layout_mode = 2 290 | size_flags_horizontal = 3 291 | size_flags_vertical = 3 292 | script = ExtResource("4_gpaax") 293 | 294 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Bounce Panel"] 295 | layout_mode = 1 296 | offset_left = 32.0 297 | offset_top = 12.0 298 | offset_right = 147.0 299 | offset_bottom = 60.0 300 | theme_override_font_sizes/font_size = 32 301 | text = "Bounce" 302 | horizontal_alignment = 1 303 | 304 | [node name="Bounce Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Bounce Panel"] 305 | unique_name_in_owner = true 306 | position = Vector2(287, 59) 307 | scale = Vector2(0.3, 0.3) 308 | texture = ExtResource("5_c4ade") 309 | 310 | [node name="Settings Panel" type="Panel" parent="VBoxContainer"] 311 | custom_minimum_size = Vector2(0, 40) 312 | layout_mode = 2 313 | 314 | [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/Settings Panel"] 315 | layout_mode = 1 316 | anchors_preset = 15 317 | anchor_right = 1.0 318 | anchor_bottom = 1.0 319 | grow_horizontal = 2 320 | grow_vertical = 2 321 | 322 | [node name="Scene Name" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer"] 323 | custom_minimum_size = Vector2(200, 0) 324 | layout_mode = 2 325 | text = "Simple Scaling" 326 | horizontal_alignment = 1 327 | vertical_alignment = 1 328 | 329 | [node name="Time Settings" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 330 | layout_mode = 2 331 | 332 | [node name="Time Label" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 333 | layout_mode = 2 334 | text = "Time" 335 | horizontal_alignment = 1 336 | vertical_alignment = 1 337 | 338 | [node name="Time Spinbox" type="SpinBox" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 339 | unique_name_in_owner = true 340 | layout_mode = 2 341 | min_value = 0.1 342 | step = 0.1 343 | value = 1.0 344 | alignment = 1 345 | update_on_text_changed = true 346 | select_all_on_focus = true 347 | 348 | [node name="Time Slider" type="HSlider" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 349 | unique_name_in_owner = true 350 | custom_minimum_size = Vector2(150, 0) 351 | layout_mode = 2 352 | size_flags_vertical = 4 353 | min_value = 0.1 354 | max_value = 10.0 355 | step = 0.1 356 | value = 1.0 357 | 358 | [node name="Cooldown Settings" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 359 | layout_mode = 2 360 | 361 | [node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 362 | custom_minimum_size = Vector2(30, 0) 363 | layout_mode = 2 364 | 365 | [node name="Cooldown Label" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 366 | layout_mode = 2 367 | text = "Cooldown" 368 | horizontal_alignment = 1 369 | vertical_alignment = 1 370 | 371 | [node name="Cooldown Spinbox" type="SpinBox" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 372 | unique_name_in_owner = true 373 | layout_mode = 2 374 | step = 0.1 375 | value = 0.5 376 | alignment = 1 377 | update_on_text_changed = true 378 | select_all_on_focus = true 379 | 380 | [node name="Cooldown Slider" type="HSlider" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 381 | unique_name_in_owner = true 382 | custom_minimum_size = Vector2(150, 0) 383 | layout_mode = 2 384 | size_flags_vertical = 4 385 | max_value = 5.0 386 | step = 0.1 387 | value = 0.5 388 | 389 | [node name="EaseType Option" type="OptionButton" parent="VBoxContainer/Settings Panel/HBoxContainer"] 390 | unique_name_in_owner = true 391 | layout_mode = 2 392 | item_count = 4 393 | selected = 2 394 | popup/item_0/text = "Ease In" 395 | popup/item_0/id = 0 396 | popup/item_1/text = "Ease Out" 397 | popup/item_1/id = 1 398 | popup/item_2/text = "Ease In Out" 399 | popup/item_2/id = 2 400 | popup/item_3/text = "Ease Out In" 401 | popup/item_3/id = 3 402 | 403 | [node name="Scene Change Arrows" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 404 | layout_mode = 2 405 | size_flags_horizontal = 10 406 | script = ExtResource("4_5qi3v") 407 | prev_scene = "1_Movement" 408 | next_scene = "3_Rotation" 409 | 410 | [node name="PrevScene Button" type="Button" parent="VBoxContainer/Settings Panel/HBoxContainer/Scene Change Arrows"] 411 | custom_minimum_size = Vector2(50, 0) 412 | layout_mode = 2 413 | text = "<" 414 | 415 | [node name="NextScene Button" type="Button" parent="VBoxContainer/Settings Panel/HBoxContainer/Scene Change Arrows"] 416 | custom_minimum_size = Vector2(50, 0) 417 | layout_mode = 2 418 | text = ">" 419 | 420 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Time Settings/Time Spinbox" to="." method="_on_time_changed"] 421 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Time Settings/Time Slider" to="." method="_on_time_changed"] 422 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings/Cooldown Spinbox" to="." method="_on_cooldown_changed"] 423 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings/Cooldown Slider" to="." method="_on_cooldown_changed"] 424 | [connection signal="item_selected" from="VBoxContainer/Settings Panel/HBoxContainer/EaseType Option" to="." method="_on_ease_type_option_item_selected"] 425 | [connection signal="pressed" from="VBoxContainer/Settings Panel/HBoxContainer/Scene Change Arrows/PrevScene Button" to="VBoxContainer/Settings Panel/HBoxContainer/Scene Change Arrows" method="_on_prev_scene_button_pressed"] 426 | [connection signal="pressed" from="VBoxContainer/Settings Panel/HBoxContainer/Scene Change Arrows/NextScene Button" to="VBoxContainer/Settings Panel/HBoxContainer/Scene Change Arrows" method="_on_next_scene_button_pressed"] 427 | -------------------------------------------------------------------------------- /Project/Scenes/3_Rotation.tscn: -------------------------------------------------------------------------------- 1 | [gd_scene load_steps=8 format=3 uid="uid://3p5kjugubadm"] 2 | 3 | [ext_resource type="Theme" uid="uid://dt4b5okf4yefr" path="res://Themes/DefaultTheme.tres" id="1_i0u4r"] 4 | [ext_resource type="Script" path="res://Scripts/SceneController.gd" id="1_qnglx"] 5 | [ext_resource type="Script" path="res://Scripts/TweenResource.gd" id="2_yr5ah"] 6 | [ext_resource type="Script" path="res://Scripts/SceneChanger.gd" id="4_5kchm"] 7 | [ext_resource type="Script" path="res://Scripts/PanelDisabler.gd" id="4_cy445"] 8 | [ext_resource type="Texture2D" uid="uid://d2427qhw4k0m6" path="res://Art/icon.svg" id="5_1nacr"] 9 | 10 | [sub_resource type="Resource" id="Resource_rbltn"] 11 | script = ExtResource("2_yr5ah") 12 | tweened_property = "rotation_degrees" 13 | tween_from = 0.0 14 | tween_to = 180.0 15 | 16 | [node name="Control" type="Control"] 17 | layout_mode = 3 18 | anchors_preset = 15 19 | anchor_right = 1.0 20 | anchor_bottom = 1.0 21 | grow_horizontal = 2 22 | grow_vertical = 2 23 | theme = ExtResource("1_i0u4r") 24 | script = ExtResource("1_qnglx") 25 | tween_resources = Array[ExtResource("2_yr5ah")]([SubResource("Resource_rbltn")]) 26 | 27 | [node name="VBoxContainer" type="VBoxContainer" parent="."] 28 | layout_mode = 1 29 | anchors_preset = 15 30 | anchor_right = 1.0 31 | anchor_bottom = 1.0 32 | grow_horizontal = 2 33 | grow_vertical = 2 34 | 35 | [node name="GridContainer" type="GridContainer" parent="VBoxContainer"] 36 | layout_mode = 2 37 | size_flags_vertical = 3 38 | columns = 2 39 | 40 | [node name="Linear Panel" type="Panel" parent="VBoxContainer/GridContainer"] 41 | layout_mode = 2 42 | size_flags_horizontal = 3 43 | size_flags_vertical = 3 44 | script = ExtResource("4_cy445") 45 | 46 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Linear Panel"] 47 | layout_mode = 1 48 | anchors_preset = 5 49 | anchor_left = 0.5 50 | anchor_right = 0.5 51 | offset_left = -20.0 52 | offset_right = 20.0 53 | offset_bottom = 23.0 54 | grow_horizontal = 2 55 | theme_override_font_sizes/font_size = 32 56 | text = "Linear" 57 | horizontal_alignment = 1 58 | 59 | [node name="Linear Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Linear Panel"] 60 | unique_name_in_owner = true 61 | position = Vector2(287, 80) 62 | scale = Vector2(0.5, 0.5) 63 | texture = ExtResource("5_1nacr") 64 | 65 | [node name="Sine Panel" type="Panel" parent="VBoxContainer/GridContainer"] 66 | layout_mode = 2 67 | size_flags_horizontal = 3 68 | size_flags_vertical = 3 69 | script = ExtResource("4_cy445") 70 | 71 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Sine Panel"] 72 | layout_mode = 1 73 | anchors_preset = 5 74 | anchor_left = 0.5 75 | anchor_right = 0.5 76 | offset_left = -20.0 77 | offset_right = 20.0 78 | offset_bottom = 23.0 79 | grow_horizontal = 2 80 | theme_override_font_sizes/font_size = 32 81 | text = "Sine" 82 | horizontal_alignment = 1 83 | 84 | [node name="Sine Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Sine Panel"] 85 | unique_name_in_owner = true 86 | position = Vector2(287, 80) 87 | scale = Vector2(0.5, 0.5) 88 | texture = ExtResource("5_1nacr") 89 | 90 | [node name="Quad Panel" type="Panel" parent="VBoxContainer/GridContainer"] 91 | layout_mode = 2 92 | size_flags_horizontal = 3 93 | size_flags_vertical = 3 94 | script = ExtResource("4_cy445") 95 | 96 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quad Panel"] 97 | layout_mode = 1 98 | anchors_preset = 5 99 | anchor_left = 0.5 100 | anchor_right = 0.5 101 | offset_left = -20.0 102 | offset_right = 20.0 103 | offset_bottom = 23.0 104 | grow_horizontal = 2 105 | theme_override_font_sizes/font_size = 32 106 | text = "Quadratic" 107 | horizontal_alignment = 1 108 | 109 | [node name="Quad Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Quad Panel"] 110 | unique_name_in_owner = true 111 | position = Vector2(287, 80) 112 | scale = Vector2(0.5, 0.5) 113 | texture = ExtResource("5_1nacr") 114 | 115 | [node name="Circ Panel" type="Panel" parent="VBoxContainer/GridContainer"] 116 | layout_mode = 2 117 | size_flags_horizontal = 3 118 | size_flags_vertical = 3 119 | script = ExtResource("4_cy445") 120 | 121 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Circ Panel"] 122 | layout_mode = 1 123 | anchors_preset = 5 124 | anchor_left = 0.5 125 | anchor_right = 0.5 126 | offset_left = -20.0 127 | offset_right = 20.0 128 | offset_bottom = 23.0 129 | grow_horizontal = 2 130 | theme_override_font_sizes/font_size = 32 131 | text = "Circular" 132 | horizontal_alignment = 1 133 | 134 | [node name="Circ Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Circ Panel"] 135 | unique_name_in_owner = true 136 | position = Vector2(287, 80) 137 | scale = Vector2(0.5, 0.5) 138 | texture = ExtResource("5_1nacr") 139 | 140 | [node name="Cubic Panel" type="Panel" parent="VBoxContainer/GridContainer"] 141 | layout_mode = 2 142 | size_flags_horizontal = 3 143 | size_flags_vertical = 3 144 | script = ExtResource("4_cy445") 145 | 146 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Cubic Panel"] 147 | layout_mode = 1 148 | anchors_preset = 5 149 | anchor_left = 0.5 150 | anchor_right = 0.5 151 | offset_left = -20.0 152 | offset_right = 20.0 153 | offset_bottom = 23.0 154 | grow_horizontal = 2 155 | theme_override_font_sizes/font_size = 32 156 | text = "Cubic" 157 | horizontal_alignment = 1 158 | 159 | [node name="Cubic Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Cubic Panel"] 160 | unique_name_in_owner = true 161 | position = Vector2(287, 80) 162 | scale = Vector2(0.5, 0.5) 163 | texture = ExtResource("5_1nacr") 164 | 165 | [node name="Elastic Panel" type="Panel" parent="VBoxContainer/GridContainer"] 166 | layout_mode = 2 167 | size_flags_horizontal = 3 168 | size_flags_vertical = 3 169 | script = ExtResource("4_cy445") 170 | 171 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Elastic Panel"] 172 | layout_mode = 1 173 | anchors_preset = 5 174 | anchor_left = 0.5 175 | anchor_right = 0.5 176 | offset_left = -20.0 177 | offset_right = 20.0 178 | offset_bottom = 23.0 179 | grow_horizontal = 2 180 | theme_override_font_sizes/font_size = 32 181 | text = "Elastic" 182 | horizontal_alignment = 1 183 | 184 | [node name="Elastic Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Elastic Panel"] 185 | unique_name_in_owner = true 186 | position = Vector2(287, 80) 187 | scale = Vector2(0.5, 0.5) 188 | texture = ExtResource("5_1nacr") 189 | 190 | [node name="Quart Panel" type="Panel" parent="VBoxContainer/GridContainer"] 191 | layout_mode = 2 192 | size_flags_horizontal = 3 193 | size_flags_vertical = 3 194 | script = ExtResource("4_cy445") 195 | 196 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quart Panel"] 197 | layout_mode = 1 198 | anchors_preset = 5 199 | anchor_left = 0.5 200 | anchor_right = 0.5 201 | offset_left = -20.0 202 | offset_right = 20.0 203 | offset_bottom = 23.0 204 | grow_horizontal = 2 205 | theme_override_font_sizes/font_size = 32 206 | text = "Quartic" 207 | horizontal_alignment = 1 208 | 209 | [node name="Quart Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Quart Panel"] 210 | unique_name_in_owner = true 211 | position = Vector2(287, 80) 212 | scale = Vector2(0.5, 0.5) 213 | texture = ExtResource("5_1nacr") 214 | 215 | [node name="Back Panel" type="Panel" parent="VBoxContainer/GridContainer"] 216 | layout_mode = 2 217 | size_flags_horizontal = 3 218 | size_flags_vertical = 3 219 | script = ExtResource("4_cy445") 220 | 221 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Back Panel"] 222 | layout_mode = 1 223 | anchors_preset = 5 224 | anchor_left = 0.5 225 | anchor_right = 0.5 226 | offset_left = -20.0 227 | offset_right = 20.0 228 | offset_bottom = 23.0 229 | grow_horizontal = 2 230 | theme_override_font_sizes/font_size = 32 231 | text = "Back" 232 | horizontal_alignment = 1 233 | 234 | [node name="Back Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Back Panel"] 235 | unique_name_in_owner = true 236 | position = Vector2(287, 80) 237 | scale = Vector2(0.5, 0.5) 238 | texture = ExtResource("5_1nacr") 239 | 240 | [node name="Quint Panel" type="Panel" parent="VBoxContainer/GridContainer"] 241 | layout_mode = 2 242 | size_flags_horizontal = 3 243 | size_flags_vertical = 3 244 | script = ExtResource("4_cy445") 245 | 246 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quint Panel"] 247 | layout_mode = 1 248 | anchors_preset = 5 249 | anchor_left = 0.5 250 | anchor_right = 0.5 251 | offset_left = -20.0 252 | offset_right = 20.0 253 | offset_bottom = 23.0 254 | grow_horizontal = 2 255 | theme_override_font_sizes/font_size = 32 256 | text = "Quintic" 257 | horizontal_alignment = 1 258 | 259 | [node name="Quint Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Quint Panel"] 260 | unique_name_in_owner = true 261 | position = Vector2(287, 80) 262 | scale = Vector2(0.5, 0.5) 263 | texture = ExtResource("5_1nacr") 264 | 265 | [node name="Spring Panel" type="Panel" parent="VBoxContainer/GridContainer"] 266 | layout_mode = 2 267 | size_flags_horizontal = 3 268 | size_flags_vertical = 3 269 | script = ExtResource("4_cy445") 270 | 271 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Spring Panel"] 272 | layout_mode = 1 273 | anchors_preset = 5 274 | anchor_left = 0.5 275 | anchor_right = 0.5 276 | offset_left = -20.0 277 | offset_right = 20.0 278 | offset_bottom = 23.0 279 | grow_horizontal = 2 280 | theme_override_font_sizes/font_size = 32 281 | text = "Spring" 282 | horizontal_alignment = 1 283 | 284 | [node name="Spring Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Spring Panel"] 285 | unique_name_in_owner = true 286 | position = Vector2(287, 80) 287 | scale = Vector2(0.5, 0.5) 288 | texture = ExtResource("5_1nacr") 289 | 290 | [node name="Expo Panel" type="Panel" parent="VBoxContainer/GridContainer"] 291 | layout_mode = 2 292 | size_flags_horizontal = 3 293 | size_flags_vertical = 3 294 | script = ExtResource("4_cy445") 295 | 296 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Expo Panel"] 297 | layout_mode = 1 298 | anchors_preset = 5 299 | anchor_left = 0.5 300 | anchor_right = 0.5 301 | offset_left = -20.0 302 | offset_right = 20.0 303 | offset_bottom = 23.0 304 | grow_horizontal = 2 305 | theme_override_font_sizes/font_size = 32 306 | text = "Exponential" 307 | horizontal_alignment = 1 308 | 309 | [node name="Expo Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Expo Panel"] 310 | unique_name_in_owner = true 311 | position = Vector2(287, 80) 312 | scale = Vector2(0.5, 0.5) 313 | texture = ExtResource("5_1nacr") 314 | 315 | [node name="Bounce Panel" type="Panel" parent="VBoxContainer/GridContainer"] 316 | layout_mode = 2 317 | size_flags_horizontal = 3 318 | size_flags_vertical = 3 319 | script = ExtResource("4_cy445") 320 | 321 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Bounce Panel"] 322 | layout_mode = 1 323 | anchors_preset = 5 324 | anchor_left = 0.5 325 | anchor_right = 0.5 326 | offset_left = -20.0 327 | offset_right = 20.0 328 | offset_bottom = 23.0 329 | grow_horizontal = 2 330 | theme_override_font_sizes/font_size = 32 331 | text = "Bounce" 332 | horizontal_alignment = 1 333 | 334 | [node name="Bounce Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Bounce Panel"] 335 | unique_name_in_owner = true 336 | position = Vector2(287, 80) 337 | scale = Vector2(0.5, 0.5) 338 | texture = ExtResource("5_1nacr") 339 | 340 | [node name="Settings Panel" type="Panel" parent="VBoxContainer"] 341 | custom_minimum_size = Vector2(0, 40) 342 | layout_mode = 2 343 | 344 | [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/Settings Panel"] 345 | layout_mode = 1 346 | anchors_preset = 15 347 | anchor_right = 1.0 348 | anchor_bottom = 1.0 349 | grow_horizontal = 2 350 | grow_vertical = 2 351 | 352 | [node name="Scene Name" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer"] 353 | custom_minimum_size = Vector2(200, 0) 354 | layout_mode = 2 355 | text = "Simple Rotation" 356 | horizontal_alignment = 1 357 | vertical_alignment = 1 358 | 359 | [node name="Time Settings" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 360 | layout_mode = 2 361 | 362 | [node name="Time Label" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 363 | layout_mode = 2 364 | text = "Time" 365 | horizontal_alignment = 1 366 | vertical_alignment = 1 367 | 368 | [node name="Time Spinbox" type="SpinBox" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 369 | unique_name_in_owner = true 370 | layout_mode = 2 371 | min_value = 0.1 372 | step = 0.1 373 | value = 1.0 374 | alignment = 1 375 | update_on_text_changed = true 376 | select_all_on_focus = true 377 | 378 | [node name="Time Slider" type="HSlider" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 379 | unique_name_in_owner = true 380 | custom_minimum_size = Vector2(150, 0) 381 | layout_mode = 2 382 | size_flags_vertical = 4 383 | min_value = 0.1 384 | max_value = 10.0 385 | step = 0.1 386 | value = 1.0 387 | 388 | [node name="Cooldown Settings" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 389 | layout_mode = 2 390 | 391 | [node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 392 | custom_minimum_size = Vector2(30, 0) 393 | layout_mode = 2 394 | 395 | [node name="Cooldown Label" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 396 | layout_mode = 2 397 | text = "Cooldown" 398 | horizontal_alignment = 1 399 | vertical_alignment = 1 400 | 401 | [node name="Cooldown Spinbox" type="SpinBox" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 402 | unique_name_in_owner = true 403 | layout_mode = 2 404 | step = 0.1 405 | value = 0.5 406 | alignment = 1 407 | update_on_text_changed = true 408 | select_all_on_focus = true 409 | 410 | [node name="Cooldown Slider" type="HSlider" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 411 | unique_name_in_owner = true 412 | custom_minimum_size = Vector2(150, 0) 413 | layout_mode = 2 414 | size_flags_vertical = 4 415 | max_value = 5.0 416 | step = 0.1 417 | value = 0.5 418 | 419 | [node name="EaseType Option" type="OptionButton" parent="VBoxContainer/Settings Panel/HBoxContainer"] 420 | unique_name_in_owner = true 421 | layout_mode = 2 422 | item_count = 4 423 | selected = 2 424 | popup/item_0/text = "Ease In" 425 | popup/item_0/id = 0 426 | popup/item_1/text = "Ease Out" 427 | popup/item_1/id = 1 428 | popup/item_2/text = "Ease In Out" 429 | popup/item_2/id = 2 430 | popup/item_3/text = "Ease Out In" 431 | popup/item_3/id = 3 432 | 433 | [node name="Scene Arrows" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 434 | layout_mode = 2 435 | size_flags_horizontal = 10 436 | script = ExtResource("4_5kchm") 437 | prev_scene = "2_Scaling" 438 | next_scene = "4_Lever" 439 | 440 | [node name="PrevScene Button" type="Button" parent="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows"] 441 | custom_minimum_size = Vector2(50, 0) 442 | layout_mode = 2 443 | text = "<" 444 | 445 | [node name="NextScene Button" type="Button" parent="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows"] 446 | custom_minimum_size = Vector2(50, 0) 447 | layout_mode = 2 448 | text = ">" 449 | 450 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Time Settings/Time Spinbox" to="." method="_on_time_changed"] 451 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Time Settings/Time Slider" to="." method="_on_time_changed"] 452 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings/Cooldown Spinbox" to="." method="_on_cooldown_changed"] 453 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings/Cooldown Slider" to="." method="_on_cooldown_changed"] 454 | [connection signal="item_selected" from="VBoxContainer/Settings Panel/HBoxContainer/EaseType Option" to="." method="_on_ease_type_option_item_selected"] 455 | [connection signal="pressed" from="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows/PrevScene Button" to="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows" method="_on_prev_scene_button_pressed"] 456 | [connection signal="pressed" from="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows/NextScene Button" to="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows" method="_on_next_scene_button_pressed"] 457 | -------------------------------------------------------------------------------- /Project/Scenes/4_Lever.tscn: -------------------------------------------------------------------------------- 1 | [gd_scene load_steps=9 format=3 uid="uid://v0rgmdi245n8"] 2 | 3 | [ext_resource type="Script" path="res://Scripts/SceneController.gd" id="1_27sjr"] 4 | [ext_resource type="Theme" uid="uid://dt4b5okf4yefr" path="res://Themes/DefaultTheme.tres" id="1_fuvbk"] 5 | [ext_resource type="Script" path="res://Scripts/TweenResource.gd" id="2_buelr"] 6 | [ext_resource type="Texture2D" uid="uid://doey4pdk8u8a5" path="res://Art/Lever_Handle.png" id="3_b1dbc"] 7 | [ext_resource type="Script" path="res://Scripts/PanelDisabler.gd" id="4_bd1g4"] 8 | [ext_resource type="Texture2D" uid="uid://cmnrsn6iriliq" path="res://Art/Lever_Base.png" id="4_ckv7f"] 9 | [ext_resource type="Script" path="res://Scripts/SceneChanger.gd" id="4_jgrae"] 10 | 11 | [sub_resource type="Resource" id="Resource_rbltn"] 12 | script = ExtResource("2_buelr") 13 | tweened_property = "rotation_degrees" 14 | tween_from = -50.0 15 | tween_to = 50.0 16 | 17 | [node name="Control" type="Control"] 18 | layout_mode = 3 19 | anchors_preset = 15 20 | anchor_right = 1.0 21 | anchor_bottom = 1.0 22 | grow_horizontal = 2 23 | grow_vertical = 2 24 | theme = ExtResource("1_fuvbk") 25 | script = ExtResource("1_27sjr") 26 | tween_resources = Array[ExtResource("2_buelr")]([SubResource("Resource_rbltn")]) 27 | 28 | [node name="VBoxContainer" type="VBoxContainer" parent="."] 29 | layout_mode = 1 30 | anchors_preset = 15 31 | anchor_right = 1.0 32 | anchor_bottom = 1.0 33 | grow_horizontal = 2 34 | grow_vertical = 2 35 | 36 | [node name="GridContainer" type="GridContainer" parent="VBoxContainer"] 37 | layout_mode = 2 38 | size_flags_vertical = 3 39 | columns = 2 40 | 41 | [node name="Linear Panel" type="Panel" parent="VBoxContainer/GridContainer"] 42 | layout_mode = 2 43 | size_flags_horizontal = 3 44 | size_flags_vertical = 3 45 | script = ExtResource("4_bd1g4") 46 | 47 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Linear Panel"] 48 | layout_mode = 1 49 | anchors_preset = 5 50 | anchor_left = 0.5 51 | anchor_right = 0.5 52 | offset_left = -20.0 53 | offset_right = 20.0 54 | offset_bottom = 23.0 55 | grow_horizontal = 2 56 | theme_override_font_sizes/font_size = 32 57 | text = "Linear" 58 | horizontal_alignment = 1 59 | 60 | [node name="Linear Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Linear Panel"] 61 | unique_name_in_owner = true 62 | position = Vector2(287, 110) 63 | rotation = -0.785398 64 | scale = Vector2(0.35, 0.35) 65 | texture = ExtResource("3_b1dbc") 66 | offset = Vector2(0, -128) 67 | 68 | [node name="Lever Base" type="Sprite2D" parent="VBoxContainer/GridContainer/Linear Panel"] 69 | position = Vector2(287, 101) 70 | scale = Vector2(0.5, 0.5) 71 | texture = ExtResource("4_ckv7f") 72 | 73 | [node name="Sine Panel" type="Panel" parent="VBoxContainer/GridContainer"] 74 | layout_mode = 2 75 | size_flags_horizontal = 3 76 | size_flags_vertical = 3 77 | script = ExtResource("4_bd1g4") 78 | 79 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Sine Panel"] 80 | layout_mode = 1 81 | anchors_preset = 5 82 | anchor_left = 0.5 83 | anchor_right = 0.5 84 | offset_left = -20.0 85 | offset_right = 20.0 86 | offset_bottom = 23.0 87 | grow_horizontal = 2 88 | theme_override_font_sizes/font_size = 32 89 | text = "Sine" 90 | horizontal_alignment = 1 91 | 92 | [node name="Sine Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Sine Panel"] 93 | unique_name_in_owner = true 94 | position = Vector2(287, 110) 95 | rotation = -0.698132 96 | scale = Vector2(0.35, 0.35) 97 | texture = ExtResource("3_b1dbc") 98 | offset = Vector2(0, -128) 99 | 100 | [node name="Lever Base" type="Sprite2D" parent="VBoxContainer/GridContainer/Sine Panel"] 101 | position = Vector2(287, 101) 102 | scale = Vector2(0.5, 0.5) 103 | texture = ExtResource("4_ckv7f") 104 | 105 | [node name="Quad Panel" type="Panel" parent="VBoxContainer/GridContainer"] 106 | layout_mode = 2 107 | size_flags_horizontal = 3 108 | size_flags_vertical = 3 109 | script = ExtResource("4_bd1g4") 110 | 111 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quad Panel"] 112 | layout_mode = 1 113 | anchors_preset = 5 114 | anchor_left = 0.5 115 | anchor_right = 0.5 116 | offset_left = -20.0 117 | offset_right = 20.0 118 | offset_bottom = 23.0 119 | grow_horizontal = 2 120 | theme_override_font_sizes/font_size = 32 121 | text = "Quadratic" 122 | horizontal_alignment = 1 123 | 124 | [node name="Quad Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Quad Panel"] 125 | unique_name_in_owner = true 126 | position = Vector2(287, 110) 127 | rotation = -0.785398 128 | scale = Vector2(0.35, 0.35) 129 | texture = ExtResource("3_b1dbc") 130 | offset = Vector2(0, -128) 131 | 132 | [node name="Lever Base" type="Sprite2D" parent="VBoxContainer/GridContainer/Quad Panel"] 133 | position = Vector2(287, 101) 134 | scale = Vector2(0.5, 0.5) 135 | texture = ExtResource("4_ckv7f") 136 | 137 | [node name="Circ Panel" type="Panel" parent="VBoxContainer/GridContainer"] 138 | layout_mode = 2 139 | size_flags_horizontal = 3 140 | size_flags_vertical = 3 141 | script = ExtResource("4_bd1g4") 142 | 143 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Circ Panel"] 144 | layout_mode = 1 145 | anchors_preset = 5 146 | anchor_left = 0.5 147 | anchor_right = 0.5 148 | offset_left = -20.0 149 | offset_right = 20.0 150 | offset_bottom = 23.0 151 | grow_horizontal = 2 152 | theme_override_font_sizes/font_size = 32 153 | text = "Circular" 154 | horizontal_alignment = 1 155 | 156 | [node name="Circ Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Circ Panel"] 157 | unique_name_in_owner = true 158 | position = Vector2(287, 110) 159 | rotation = -0.785398 160 | scale = Vector2(0.35, 0.35) 161 | texture = ExtResource("3_b1dbc") 162 | offset = Vector2(0, -128) 163 | 164 | [node name="Lever Base" type="Sprite2D" parent="VBoxContainer/GridContainer/Circ Panel"] 165 | position = Vector2(287, 101) 166 | scale = Vector2(0.5, 0.5) 167 | texture = ExtResource("4_ckv7f") 168 | 169 | [node name="Cubic Panel" type="Panel" parent="VBoxContainer/GridContainer"] 170 | layout_mode = 2 171 | size_flags_horizontal = 3 172 | size_flags_vertical = 3 173 | script = ExtResource("4_bd1g4") 174 | 175 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Cubic Panel"] 176 | layout_mode = 1 177 | anchors_preset = 5 178 | anchor_left = 0.5 179 | anchor_right = 0.5 180 | offset_left = -20.0 181 | offset_right = 20.0 182 | offset_bottom = 23.0 183 | grow_horizontal = 2 184 | theme_override_font_sizes/font_size = 32 185 | text = "Cubic" 186 | horizontal_alignment = 1 187 | 188 | [node name="Cubic Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Cubic Panel"] 189 | unique_name_in_owner = true 190 | position = Vector2(287, 110) 191 | rotation = -0.785398 192 | scale = Vector2(0.35, 0.35) 193 | texture = ExtResource("3_b1dbc") 194 | offset = Vector2(0, -128) 195 | 196 | [node name="Lever Base" type="Sprite2D" parent="VBoxContainer/GridContainer/Cubic Panel"] 197 | position = Vector2(287, 101) 198 | scale = Vector2(0.5, 0.5) 199 | texture = ExtResource("4_ckv7f") 200 | 201 | [node name="Elastic Panel" type="Panel" parent="VBoxContainer/GridContainer"] 202 | layout_mode = 2 203 | size_flags_horizontal = 3 204 | size_flags_vertical = 3 205 | script = ExtResource("4_bd1g4") 206 | 207 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Elastic Panel"] 208 | layout_mode = 1 209 | anchors_preset = 5 210 | anchor_left = 0.5 211 | anchor_right = 0.5 212 | offset_left = -20.0 213 | offset_right = 20.0 214 | offset_bottom = 23.0 215 | grow_horizontal = 2 216 | theme_override_font_sizes/font_size = 32 217 | text = "Elastic" 218 | horizontal_alignment = 1 219 | 220 | [node name="Elastic Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Elastic Panel"] 221 | unique_name_in_owner = true 222 | position = Vector2(287, 110) 223 | rotation = -0.785398 224 | scale = Vector2(0.35, 0.35) 225 | texture = ExtResource("3_b1dbc") 226 | offset = Vector2(0, -128) 227 | 228 | [node name="Lever Base" type="Sprite2D" parent="VBoxContainer/GridContainer/Elastic Panel"] 229 | position = Vector2(287, 101) 230 | scale = Vector2(0.5, 0.5) 231 | texture = ExtResource("4_ckv7f") 232 | 233 | [node name="Quart Panel" type="Panel" parent="VBoxContainer/GridContainer"] 234 | layout_mode = 2 235 | size_flags_horizontal = 3 236 | size_flags_vertical = 3 237 | script = ExtResource("4_bd1g4") 238 | 239 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quart Panel"] 240 | layout_mode = 1 241 | anchors_preset = 5 242 | anchor_left = 0.5 243 | anchor_right = 0.5 244 | offset_left = -20.0 245 | offset_right = 20.0 246 | offset_bottom = 23.0 247 | grow_horizontal = 2 248 | theme_override_font_sizes/font_size = 32 249 | text = "Quartic" 250 | horizontal_alignment = 1 251 | 252 | [node name="Quart Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Quart Panel"] 253 | unique_name_in_owner = true 254 | position = Vector2(287, 110) 255 | rotation = -0.785398 256 | scale = Vector2(0.35, 0.35) 257 | texture = ExtResource("3_b1dbc") 258 | offset = Vector2(0, -128) 259 | 260 | [node name="Lever Base" type="Sprite2D" parent="VBoxContainer/GridContainer/Quart Panel"] 261 | position = Vector2(287, 101) 262 | scale = Vector2(0.5, 0.5) 263 | texture = ExtResource("4_ckv7f") 264 | 265 | [node name="Back Panel" type="Panel" parent="VBoxContainer/GridContainer"] 266 | layout_mode = 2 267 | size_flags_horizontal = 3 268 | size_flags_vertical = 3 269 | script = ExtResource("4_bd1g4") 270 | 271 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Back Panel"] 272 | layout_mode = 1 273 | anchors_preset = 5 274 | anchor_left = 0.5 275 | anchor_right = 0.5 276 | offset_left = -20.0 277 | offset_right = 20.0 278 | offset_bottom = 23.0 279 | grow_horizontal = 2 280 | theme_override_font_sizes/font_size = 32 281 | text = "Back" 282 | horizontal_alignment = 1 283 | 284 | [node name="Back Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Back Panel"] 285 | unique_name_in_owner = true 286 | position = Vector2(287, 110) 287 | rotation = -0.785398 288 | scale = Vector2(0.35, 0.35) 289 | texture = ExtResource("3_b1dbc") 290 | offset = Vector2(0, -128) 291 | 292 | [node name="Lever Base" type="Sprite2D" parent="VBoxContainer/GridContainer/Back Panel"] 293 | position = Vector2(287, 101) 294 | scale = Vector2(0.5, 0.5) 295 | texture = ExtResource("4_ckv7f") 296 | 297 | [node name="Quint Panel" type="Panel" parent="VBoxContainer/GridContainer"] 298 | layout_mode = 2 299 | size_flags_horizontal = 3 300 | size_flags_vertical = 3 301 | script = ExtResource("4_bd1g4") 302 | 303 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quint Panel"] 304 | layout_mode = 1 305 | anchors_preset = 5 306 | anchor_left = 0.5 307 | anchor_right = 0.5 308 | offset_left = -20.0 309 | offset_right = 20.0 310 | offset_bottom = 23.0 311 | grow_horizontal = 2 312 | theme_override_font_sizes/font_size = 32 313 | text = "Quintic" 314 | horizontal_alignment = 1 315 | 316 | [node name="Quint Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Quint Panel"] 317 | unique_name_in_owner = true 318 | position = Vector2(287, 110) 319 | rotation = -0.785398 320 | scale = Vector2(0.35, 0.35) 321 | texture = ExtResource("3_b1dbc") 322 | offset = Vector2(0, -128) 323 | 324 | [node name="Lever Base" type="Sprite2D" parent="VBoxContainer/GridContainer/Quint Panel"] 325 | position = Vector2(287, 101) 326 | scale = Vector2(0.5, 0.5) 327 | texture = ExtResource("4_ckv7f") 328 | 329 | [node name="Spring Panel" type="Panel" parent="VBoxContainer/GridContainer"] 330 | layout_mode = 2 331 | size_flags_horizontal = 3 332 | size_flags_vertical = 3 333 | script = ExtResource("4_bd1g4") 334 | 335 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Spring Panel"] 336 | layout_mode = 1 337 | anchors_preset = 5 338 | anchor_left = 0.5 339 | anchor_right = 0.5 340 | offset_left = -20.0 341 | offset_right = 20.0 342 | offset_bottom = 23.0 343 | grow_horizontal = 2 344 | theme_override_font_sizes/font_size = 32 345 | text = "Spring" 346 | horizontal_alignment = 1 347 | 348 | [node name="Spring Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Spring Panel"] 349 | unique_name_in_owner = true 350 | position = Vector2(287, 110) 351 | rotation = -0.785398 352 | scale = Vector2(0.35, 0.35) 353 | texture = ExtResource("3_b1dbc") 354 | offset = Vector2(0, -128) 355 | 356 | [node name="Lever Base" type="Sprite2D" parent="VBoxContainer/GridContainer/Spring Panel"] 357 | position = Vector2(287, 101) 358 | scale = Vector2(0.5, 0.5) 359 | texture = ExtResource("4_ckv7f") 360 | 361 | [node name="Expo Panel" type="Panel" parent="VBoxContainer/GridContainer"] 362 | layout_mode = 2 363 | size_flags_horizontal = 3 364 | size_flags_vertical = 3 365 | script = ExtResource("4_bd1g4") 366 | 367 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Expo Panel"] 368 | layout_mode = 1 369 | anchors_preset = 5 370 | anchor_left = 0.5 371 | anchor_right = 0.5 372 | offset_left = -20.0 373 | offset_right = 20.0 374 | offset_bottom = 23.0 375 | grow_horizontal = 2 376 | theme_override_font_sizes/font_size = 32 377 | text = "Exponential" 378 | horizontal_alignment = 1 379 | 380 | [node name="Expo Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Expo Panel"] 381 | unique_name_in_owner = true 382 | position = Vector2(287, 110) 383 | rotation = -0.785398 384 | scale = Vector2(0.35, 0.35) 385 | texture = ExtResource("3_b1dbc") 386 | offset = Vector2(0, -128) 387 | 388 | [node name="Lever Base" type="Sprite2D" parent="VBoxContainer/GridContainer/Expo Panel"] 389 | position = Vector2(287, 101) 390 | scale = Vector2(0.5, 0.5) 391 | texture = ExtResource("4_ckv7f") 392 | 393 | [node name="Bounce Panel" type="Panel" parent="VBoxContainer/GridContainer"] 394 | layout_mode = 2 395 | size_flags_horizontal = 3 396 | size_flags_vertical = 3 397 | script = ExtResource("4_bd1g4") 398 | 399 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Bounce Panel"] 400 | layout_mode = 1 401 | anchors_preset = 5 402 | anchor_left = 0.5 403 | anchor_right = 0.5 404 | offset_left = -20.0 405 | offset_right = 20.0 406 | offset_bottom = 23.0 407 | grow_horizontal = 2 408 | theme_override_font_sizes/font_size = 32 409 | text = "Bounce" 410 | horizontal_alignment = 1 411 | 412 | [node name="Bounce Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Bounce Panel"] 413 | unique_name_in_owner = true 414 | position = Vector2(287, 110) 415 | rotation = -0.785398 416 | scale = Vector2(0.35, 0.35) 417 | texture = ExtResource("3_b1dbc") 418 | offset = Vector2(0, -128) 419 | 420 | [node name="Lever Base" type="Sprite2D" parent="VBoxContainer/GridContainer/Bounce Panel"] 421 | position = Vector2(287, 101) 422 | scale = Vector2(0.5, 0.5) 423 | texture = ExtResource("4_ckv7f") 424 | 425 | [node name="Settings Panel" type="Panel" parent="VBoxContainer"] 426 | custom_minimum_size = Vector2(0, 40) 427 | layout_mode = 2 428 | 429 | [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/Settings Panel"] 430 | layout_mode = 1 431 | anchors_preset = 15 432 | anchor_right = 1.0 433 | anchor_bottom = 1.0 434 | grow_horizontal = 2 435 | grow_vertical = 2 436 | 437 | [node name="Scene Name" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer"] 438 | custom_minimum_size = Vector2(200, 0) 439 | layout_mode = 2 440 | text = "Lever Animation" 441 | horizontal_alignment = 1 442 | vertical_alignment = 1 443 | 444 | [node name="Time Settings" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 445 | layout_mode = 2 446 | 447 | [node name="Time Label" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 448 | layout_mode = 2 449 | text = "Time" 450 | horizontal_alignment = 1 451 | vertical_alignment = 1 452 | 453 | [node name="Time Spinbox" type="SpinBox" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 454 | unique_name_in_owner = true 455 | layout_mode = 2 456 | min_value = 0.1 457 | step = 0.1 458 | value = 1.0 459 | alignment = 1 460 | update_on_text_changed = true 461 | select_all_on_focus = true 462 | 463 | [node name="Time Slider" type="HSlider" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 464 | unique_name_in_owner = true 465 | custom_minimum_size = Vector2(150, 0) 466 | layout_mode = 2 467 | size_flags_vertical = 4 468 | min_value = 0.1 469 | max_value = 10.0 470 | step = 0.1 471 | value = 1.0 472 | 473 | [node name="Cooldown Settings" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 474 | layout_mode = 2 475 | 476 | [node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 477 | custom_minimum_size = Vector2(30, 0) 478 | layout_mode = 2 479 | 480 | [node name="Cooldown Label" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 481 | layout_mode = 2 482 | text = "Cooldown" 483 | horizontal_alignment = 1 484 | vertical_alignment = 1 485 | 486 | [node name="Cooldown Spinbox" type="SpinBox" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 487 | unique_name_in_owner = true 488 | layout_mode = 2 489 | step = 0.1 490 | value = 0.5 491 | alignment = 1 492 | update_on_text_changed = true 493 | select_all_on_focus = true 494 | 495 | [node name="Cooldown Slider" type="HSlider" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 496 | unique_name_in_owner = true 497 | custom_minimum_size = Vector2(150, 0) 498 | layout_mode = 2 499 | size_flags_vertical = 4 500 | max_value = 5.0 501 | step = 0.1 502 | value = 0.5 503 | 504 | [node name="EaseType Option" type="OptionButton" parent="VBoxContainer/Settings Panel/HBoxContainer"] 505 | unique_name_in_owner = true 506 | layout_mode = 2 507 | item_count = 4 508 | selected = 2 509 | popup/item_0/text = "Ease In" 510 | popup/item_0/id = 0 511 | popup/item_1/text = "Ease Out" 512 | popup/item_1/id = 1 513 | popup/item_2/text = "Ease In Out" 514 | popup/item_2/id = 2 515 | popup/item_3/text = "Ease Out In" 516 | popup/item_3/id = 3 517 | 518 | [node name="Scene Arrows" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 519 | layout_mode = 2 520 | size_flags_horizontal = 10 521 | script = ExtResource("4_jgrae") 522 | prev_scene = "3_Rotation" 523 | next_scene = "5_HPBar" 524 | 525 | [node name="PrevScene Button" type="Button" parent="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows"] 526 | custom_minimum_size = Vector2(50, 0) 527 | layout_mode = 2 528 | text = "<" 529 | 530 | [node name="NextScene Button" type="Button" parent="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows"] 531 | custom_minimum_size = Vector2(50, 0) 532 | layout_mode = 2 533 | text = ">" 534 | 535 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Time Settings/Time Spinbox" to="." method="_on_time_changed"] 536 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Time Settings/Time Slider" to="." method="_on_time_changed"] 537 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings/Cooldown Spinbox" to="." method="_on_cooldown_changed"] 538 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings/Cooldown Slider" to="." method="_on_cooldown_changed"] 539 | [connection signal="item_selected" from="VBoxContainer/Settings Panel/HBoxContainer/EaseType Option" to="." method="_on_ease_type_option_item_selected"] 540 | [connection signal="pressed" from="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows/PrevScene Button" to="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows" method="_on_prev_scene_button_pressed"] 541 | [connection signal="pressed" from="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows/NextScene Button" to="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows" method="_on_next_scene_button_pressed"] 542 | -------------------------------------------------------------------------------- /Project/Scenes/5_HPBar.tscn: -------------------------------------------------------------------------------- 1 | [gd_scene load_steps=9 format=3 uid="uid://c68gmjjv5fvyy"] 2 | 3 | [ext_resource type="Theme" uid="uid://dt4b5okf4yefr" path="res://Themes/DefaultTheme.tres" id="1_spfi2"] 4 | [ext_resource type="Script" path="res://Scripts/SceneController.gd" id="2_0o8my"] 5 | [ext_resource type="Script" path="res://Scripts/TweenResource.gd" id="3_1c8x0"] 6 | [ext_resource type="Texture2D" uid="uid://bh78it1jkvmt5" path="res://Art/HP_Bar.png" id="4_0yccy"] 7 | [ext_resource type="Script" path="res://Scripts/PanelDisabler.gd" id="4_2c02h"] 8 | [ext_resource type="Script" path="res://Scripts/SceneChanger.gd" id="5_1cyx2"] 9 | [ext_resource type="Script" path="res://Scripts/UpdateLabel.gd" id="5_hqews"] 10 | 11 | [sub_resource type="Resource" id="Resource_rbltn"] 12 | script = ExtResource("3_1c8x0") 13 | tweened_property = "value" 14 | tween_from = 100.0 15 | tween_to = 30.0 16 | 17 | [node name="Control" type="Control"] 18 | layout_mode = 3 19 | anchors_preset = 15 20 | anchor_right = 1.0 21 | anchor_bottom = 1.0 22 | grow_horizontal = 2 23 | grow_vertical = 2 24 | theme = ExtResource("1_spfi2") 25 | script = ExtResource("2_0o8my") 26 | tween_resources = Array[ExtResource("3_1c8x0")]([SubResource("Resource_rbltn")]) 27 | 28 | [node name="VBoxContainer" type="VBoxContainer" parent="."] 29 | layout_mode = 1 30 | anchors_preset = 15 31 | anchor_right = 1.0 32 | anchor_bottom = 1.0 33 | grow_horizontal = 2 34 | grow_vertical = 2 35 | 36 | [node name="GridContainer" type="GridContainer" parent="VBoxContainer"] 37 | layout_mode = 2 38 | size_flags_vertical = 3 39 | columns = 2 40 | 41 | [node name="Linear Panel" type="Panel" parent="VBoxContainer/GridContainer"] 42 | layout_mode = 2 43 | size_flags_horizontal = 3 44 | size_flags_vertical = 3 45 | script = ExtResource("4_2c02h") 46 | 47 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Linear Panel"] 48 | layout_mode = 1 49 | anchors_preset = 5 50 | anchor_left = 0.5 51 | anchor_right = 0.5 52 | offset_left = -20.0 53 | offset_right = 20.0 54 | offset_bottom = 23.0 55 | grow_horizontal = 2 56 | theme_override_font_sizes/font_size = 32 57 | text = "Linear" 58 | horizontal_alignment = 1 59 | 60 | [node name="Linear Sprite" type="TextureProgressBar" parent="VBoxContainer/GridContainer/Linear Panel"] 61 | unique_name_in_owner = true 62 | layout_mode = 1 63 | anchors_preset = 8 64 | anchor_left = 0.5 65 | anchor_top = 0.5 66 | anchor_right = 0.5 67 | anchor_bottom = 0.5 68 | offset_left = -128.0 69 | offset_top = -8.0 70 | offset_right = 128.0 71 | offset_bottom = 44.0 72 | grow_horizontal = 2 73 | grow_vertical = 2 74 | value = 100.0 75 | texture_under = ExtResource("4_0yccy") 76 | texture_progress = ExtResource("4_0yccy") 77 | tint_under = Color(0.172549, 0.172549, 0.172549, 1) 78 | 79 | [node name="HP Label" type="Label" parent="VBoxContainer/GridContainer/Linear Panel/Linear Sprite"] 80 | layout_mode = 1 81 | anchors_preset = 4 82 | anchor_top = 0.5 83 | anchor_bottom = 0.5 84 | offset_left = 10.0 85 | offset_top = -18.5 86 | offset_right = 73.0 87 | offset_bottom = 18.5 88 | grow_vertical = 2 89 | theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) 90 | theme_override_constants/shadow_outline_size = 15 91 | theme_override_font_sizes/font_size = 24 92 | text = "100" 93 | vertical_alignment = 1 94 | script = ExtResource("5_hqews") 95 | 96 | [node name="Sine Panel" type="Panel" parent="VBoxContainer/GridContainer"] 97 | layout_mode = 2 98 | size_flags_horizontal = 3 99 | size_flags_vertical = 3 100 | script = ExtResource("4_2c02h") 101 | 102 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Sine Panel"] 103 | layout_mode = 1 104 | anchors_preset = 5 105 | anchor_left = 0.5 106 | anchor_right = 0.5 107 | offset_left = -20.0 108 | offset_right = 20.0 109 | offset_bottom = 23.0 110 | grow_horizontal = 2 111 | theme_override_font_sizes/font_size = 32 112 | text = "Sine" 113 | horizontal_alignment = 1 114 | 115 | [node name="Sine Sprite" type="TextureProgressBar" parent="VBoxContainer/GridContainer/Sine Panel"] 116 | unique_name_in_owner = true 117 | layout_mode = 1 118 | anchors_preset = 8 119 | anchor_left = 0.5 120 | anchor_top = 0.5 121 | anchor_right = 0.5 122 | anchor_bottom = 0.5 123 | offset_left = -128.0 124 | offset_top = -8.0 125 | offset_right = 128.0 126 | offset_bottom = 44.0 127 | grow_horizontal = 2 128 | grow_vertical = 2 129 | value = 100.0 130 | texture_under = ExtResource("4_0yccy") 131 | texture_progress = ExtResource("4_0yccy") 132 | tint_under = Color(0.172549, 0.172549, 0.172549, 1) 133 | 134 | [node name="HP Label" type="Label" parent="VBoxContainer/GridContainer/Sine Panel/Sine Sprite"] 135 | layout_mode = 1 136 | anchors_preset = 4 137 | anchor_top = 0.5 138 | anchor_bottom = 0.5 139 | offset_left = 10.0 140 | offset_top = -18.5 141 | offset_right = 73.0 142 | offset_bottom = 18.5 143 | grow_vertical = 2 144 | theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) 145 | theme_override_constants/shadow_outline_size = 15 146 | theme_override_font_sizes/font_size = 24 147 | text = "100" 148 | vertical_alignment = 1 149 | script = ExtResource("5_hqews") 150 | 151 | [node name="Quad Panel" type="Panel" parent="VBoxContainer/GridContainer"] 152 | layout_mode = 2 153 | size_flags_horizontal = 3 154 | size_flags_vertical = 3 155 | script = ExtResource("4_2c02h") 156 | 157 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quad Panel"] 158 | layout_mode = 1 159 | anchors_preset = 5 160 | anchor_left = 0.5 161 | anchor_right = 0.5 162 | offset_left = -20.0 163 | offset_right = 20.0 164 | offset_bottom = 23.0 165 | grow_horizontal = 2 166 | theme_override_font_sizes/font_size = 32 167 | text = "Quadratic" 168 | horizontal_alignment = 1 169 | 170 | [node name="Quad Sprite" type="TextureProgressBar" parent="VBoxContainer/GridContainer/Quad Panel"] 171 | unique_name_in_owner = true 172 | layout_mode = 1 173 | anchors_preset = 8 174 | anchor_left = 0.5 175 | anchor_top = 0.5 176 | anchor_right = 0.5 177 | anchor_bottom = 0.5 178 | offset_left = -128.0 179 | offset_top = -8.0 180 | offset_right = 128.0 181 | offset_bottom = 44.0 182 | grow_horizontal = 2 183 | grow_vertical = 2 184 | value = 100.0 185 | texture_under = ExtResource("4_0yccy") 186 | texture_progress = ExtResource("4_0yccy") 187 | tint_under = Color(0.172549, 0.172549, 0.172549, 1) 188 | 189 | [node name="HP Label" type="Label" parent="VBoxContainer/GridContainer/Quad Panel/Quad Sprite"] 190 | layout_mode = 1 191 | anchors_preset = 4 192 | anchor_top = 0.5 193 | anchor_bottom = 0.5 194 | offset_left = 10.0 195 | offset_top = -18.5 196 | offset_right = 73.0 197 | offset_bottom = 18.5 198 | grow_vertical = 2 199 | theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) 200 | theme_override_constants/shadow_outline_size = 15 201 | theme_override_font_sizes/font_size = 24 202 | text = "100" 203 | vertical_alignment = 1 204 | script = ExtResource("5_hqews") 205 | 206 | [node name="Circ Panel" type="Panel" parent="VBoxContainer/GridContainer"] 207 | layout_mode = 2 208 | size_flags_horizontal = 3 209 | size_flags_vertical = 3 210 | script = ExtResource("4_2c02h") 211 | 212 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Circ Panel"] 213 | layout_mode = 1 214 | anchors_preset = 5 215 | anchor_left = 0.5 216 | anchor_right = 0.5 217 | offset_left = -20.0 218 | offset_right = 20.0 219 | offset_bottom = 23.0 220 | grow_horizontal = 2 221 | theme_override_font_sizes/font_size = 32 222 | text = "Circular" 223 | horizontal_alignment = 1 224 | 225 | [node name="Circ Sprite" type="TextureProgressBar" parent="VBoxContainer/GridContainer/Circ Panel"] 226 | unique_name_in_owner = true 227 | layout_mode = 1 228 | anchors_preset = 8 229 | anchor_left = 0.5 230 | anchor_top = 0.5 231 | anchor_right = 0.5 232 | anchor_bottom = 0.5 233 | offset_left = -128.0 234 | offset_top = -8.0 235 | offset_right = 128.0 236 | offset_bottom = 44.0 237 | grow_horizontal = 2 238 | grow_vertical = 2 239 | value = 100.0 240 | texture_under = ExtResource("4_0yccy") 241 | texture_progress = ExtResource("4_0yccy") 242 | tint_under = Color(0.172549, 0.172549, 0.172549, 1) 243 | 244 | [node name="HP Label" type="Label" parent="VBoxContainer/GridContainer/Circ Panel/Circ Sprite"] 245 | layout_mode = 1 246 | anchors_preset = 4 247 | anchor_top = 0.5 248 | anchor_bottom = 0.5 249 | offset_left = 10.0 250 | offset_top = -18.5 251 | offset_right = 73.0 252 | offset_bottom = 18.5 253 | grow_vertical = 2 254 | theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) 255 | theme_override_constants/shadow_outline_size = 15 256 | theme_override_font_sizes/font_size = 24 257 | text = "100" 258 | vertical_alignment = 1 259 | script = ExtResource("5_hqews") 260 | 261 | [node name="Cubic Panel" type="Panel" parent="VBoxContainer/GridContainer"] 262 | layout_mode = 2 263 | size_flags_horizontal = 3 264 | size_flags_vertical = 3 265 | script = ExtResource("4_2c02h") 266 | 267 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Cubic Panel"] 268 | layout_mode = 1 269 | anchors_preset = 5 270 | anchor_left = 0.5 271 | anchor_right = 0.5 272 | offset_left = -20.0 273 | offset_right = 20.0 274 | offset_bottom = 23.0 275 | grow_horizontal = 2 276 | theme_override_font_sizes/font_size = 32 277 | text = "Cubic" 278 | horizontal_alignment = 1 279 | 280 | [node name="Cubic Sprite" type="TextureProgressBar" parent="VBoxContainer/GridContainer/Cubic Panel"] 281 | unique_name_in_owner = true 282 | layout_mode = 1 283 | anchors_preset = 8 284 | anchor_left = 0.5 285 | anchor_top = 0.5 286 | anchor_right = 0.5 287 | anchor_bottom = 0.5 288 | offset_left = -128.0 289 | offset_top = -8.0 290 | offset_right = 128.0 291 | offset_bottom = 44.0 292 | grow_horizontal = 2 293 | grow_vertical = 2 294 | value = 100.0 295 | texture_under = ExtResource("4_0yccy") 296 | texture_progress = ExtResource("4_0yccy") 297 | tint_under = Color(0.172549, 0.172549, 0.172549, 1) 298 | 299 | [node name="HP Label" type="Label" parent="VBoxContainer/GridContainer/Cubic Panel/Cubic Sprite"] 300 | layout_mode = 1 301 | anchors_preset = 4 302 | anchor_top = 0.5 303 | anchor_bottom = 0.5 304 | offset_left = 10.0 305 | offset_top = -18.5 306 | offset_right = 73.0 307 | offset_bottom = 18.5 308 | grow_vertical = 2 309 | theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) 310 | theme_override_constants/shadow_outline_size = 15 311 | theme_override_font_sizes/font_size = 24 312 | text = "100" 313 | vertical_alignment = 1 314 | script = ExtResource("5_hqews") 315 | 316 | [node name="Elastic Panel" type="Panel" parent="VBoxContainer/GridContainer"] 317 | layout_mode = 2 318 | size_flags_horizontal = 3 319 | size_flags_vertical = 3 320 | script = ExtResource("4_2c02h") 321 | 322 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Elastic Panel"] 323 | layout_mode = 1 324 | anchors_preset = 5 325 | anchor_left = 0.5 326 | anchor_right = 0.5 327 | offset_left = -20.0 328 | offset_right = 20.0 329 | offset_bottom = 23.0 330 | grow_horizontal = 2 331 | theme_override_font_sizes/font_size = 32 332 | text = "Elastic" 333 | horizontal_alignment = 1 334 | 335 | [node name="Elastic Sprite" type="TextureProgressBar" parent="VBoxContainer/GridContainer/Elastic Panel"] 336 | unique_name_in_owner = true 337 | layout_mode = 1 338 | anchors_preset = 8 339 | anchor_left = 0.5 340 | anchor_top = 0.5 341 | anchor_right = 0.5 342 | anchor_bottom = 0.5 343 | offset_left = -128.0 344 | offset_top = -8.0 345 | offset_right = 128.0 346 | offset_bottom = 44.0 347 | grow_horizontal = 2 348 | grow_vertical = 2 349 | value = 100.0 350 | texture_under = ExtResource("4_0yccy") 351 | texture_progress = ExtResource("4_0yccy") 352 | tint_under = Color(0.172549, 0.172549, 0.172549, 1) 353 | 354 | [node name="HP Label" type="Label" parent="VBoxContainer/GridContainer/Elastic Panel/Elastic Sprite"] 355 | layout_mode = 1 356 | anchors_preset = 4 357 | anchor_top = 0.5 358 | anchor_bottom = 0.5 359 | offset_left = 10.0 360 | offset_top = -18.5 361 | offset_right = 73.0 362 | offset_bottom = 18.5 363 | grow_vertical = 2 364 | theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) 365 | theme_override_constants/shadow_outline_size = 15 366 | theme_override_font_sizes/font_size = 24 367 | text = "100" 368 | vertical_alignment = 1 369 | script = ExtResource("5_hqews") 370 | 371 | [node name="Quart Panel" type="Panel" parent="VBoxContainer/GridContainer"] 372 | layout_mode = 2 373 | size_flags_horizontal = 3 374 | size_flags_vertical = 3 375 | script = ExtResource("4_2c02h") 376 | 377 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quart Panel"] 378 | layout_mode = 1 379 | anchors_preset = 5 380 | anchor_left = 0.5 381 | anchor_right = 0.5 382 | offset_left = -20.0 383 | offset_right = 20.0 384 | offset_bottom = 23.0 385 | grow_horizontal = 2 386 | theme_override_font_sizes/font_size = 32 387 | text = "Quartic" 388 | horizontal_alignment = 1 389 | 390 | [node name="Quart Sprite" type="TextureProgressBar" parent="VBoxContainer/GridContainer/Quart Panel"] 391 | unique_name_in_owner = true 392 | layout_mode = 1 393 | anchors_preset = 8 394 | anchor_left = 0.5 395 | anchor_top = 0.5 396 | anchor_right = 0.5 397 | anchor_bottom = 0.5 398 | offset_left = -128.0 399 | offset_top = -8.0 400 | offset_right = 128.0 401 | offset_bottom = 44.0 402 | grow_horizontal = 2 403 | grow_vertical = 2 404 | value = 100.0 405 | texture_under = ExtResource("4_0yccy") 406 | texture_progress = ExtResource("4_0yccy") 407 | tint_under = Color(0.172549, 0.172549, 0.172549, 1) 408 | 409 | [node name="HP Label" type="Label" parent="VBoxContainer/GridContainer/Quart Panel/Quart Sprite"] 410 | layout_mode = 1 411 | anchors_preset = 4 412 | anchor_top = 0.5 413 | anchor_bottom = 0.5 414 | offset_left = 10.0 415 | offset_top = -18.5 416 | offset_right = 73.0 417 | offset_bottom = 18.5 418 | grow_vertical = 2 419 | theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) 420 | theme_override_constants/shadow_outline_size = 15 421 | theme_override_font_sizes/font_size = 24 422 | text = "100" 423 | vertical_alignment = 1 424 | script = ExtResource("5_hqews") 425 | 426 | [node name="Back Panel" type="Panel" parent="VBoxContainer/GridContainer"] 427 | layout_mode = 2 428 | size_flags_horizontal = 3 429 | size_flags_vertical = 3 430 | script = ExtResource("4_2c02h") 431 | 432 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Back Panel"] 433 | layout_mode = 1 434 | anchors_preset = 5 435 | anchor_left = 0.5 436 | anchor_right = 0.5 437 | offset_left = -20.0 438 | offset_right = 20.0 439 | offset_bottom = 23.0 440 | grow_horizontal = 2 441 | theme_override_font_sizes/font_size = 32 442 | text = "Back" 443 | horizontal_alignment = 1 444 | 445 | [node name="Back Sprite" type="TextureProgressBar" parent="VBoxContainer/GridContainer/Back Panel"] 446 | unique_name_in_owner = true 447 | layout_mode = 1 448 | anchors_preset = 8 449 | anchor_left = 0.5 450 | anchor_top = 0.5 451 | anchor_right = 0.5 452 | anchor_bottom = 0.5 453 | offset_left = -128.0 454 | offset_top = -8.0 455 | offset_right = 128.0 456 | offset_bottom = 44.0 457 | grow_horizontal = 2 458 | grow_vertical = 2 459 | value = 100.0 460 | texture_under = ExtResource("4_0yccy") 461 | texture_progress = ExtResource("4_0yccy") 462 | tint_under = Color(0.172549, 0.172549, 0.172549, 1) 463 | 464 | [node name="HP Label" type="Label" parent="VBoxContainer/GridContainer/Back Panel/Back Sprite"] 465 | layout_mode = 1 466 | anchors_preset = 4 467 | anchor_top = 0.5 468 | anchor_bottom = 0.5 469 | offset_left = 10.0 470 | offset_top = -18.5 471 | offset_right = 73.0 472 | offset_bottom = 18.5 473 | grow_vertical = 2 474 | theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) 475 | theme_override_constants/shadow_outline_size = 15 476 | theme_override_font_sizes/font_size = 24 477 | text = "100" 478 | vertical_alignment = 1 479 | script = ExtResource("5_hqews") 480 | 481 | [node name="Quint Panel" type="Panel" parent="VBoxContainer/GridContainer"] 482 | layout_mode = 2 483 | size_flags_horizontal = 3 484 | size_flags_vertical = 3 485 | script = ExtResource("4_2c02h") 486 | 487 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quint Panel"] 488 | layout_mode = 1 489 | anchors_preset = 5 490 | anchor_left = 0.5 491 | anchor_right = 0.5 492 | offset_left = -20.0 493 | offset_right = 20.0 494 | offset_bottom = 23.0 495 | grow_horizontal = 2 496 | theme_override_font_sizes/font_size = 32 497 | text = "Quintic" 498 | horizontal_alignment = 1 499 | 500 | [node name="Quint Sprite" type="TextureProgressBar" parent="VBoxContainer/GridContainer/Quint Panel"] 501 | unique_name_in_owner = true 502 | layout_mode = 1 503 | anchors_preset = 8 504 | anchor_left = 0.5 505 | anchor_top = 0.5 506 | anchor_right = 0.5 507 | anchor_bottom = 0.5 508 | offset_left = -128.0 509 | offset_top = -8.0 510 | offset_right = 128.0 511 | offset_bottom = 44.0 512 | grow_horizontal = 2 513 | grow_vertical = 2 514 | value = 100.0 515 | texture_under = ExtResource("4_0yccy") 516 | texture_progress = ExtResource("4_0yccy") 517 | tint_under = Color(0.172549, 0.172549, 0.172549, 1) 518 | 519 | [node name="HP Label" type="Label" parent="VBoxContainer/GridContainer/Quint Panel/Quint Sprite"] 520 | layout_mode = 1 521 | anchors_preset = 4 522 | anchor_top = 0.5 523 | anchor_bottom = 0.5 524 | offset_left = 10.0 525 | offset_top = -18.5 526 | offset_right = 73.0 527 | offset_bottom = 18.5 528 | grow_vertical = 2 529 | theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) 530 | theme_override_constants/shadow_outline_size = 15 531 | theme_override_font_sizes/font_size = 24 532 | text = "100" 533 | vertical_alignment = 1 534 | script = ExtResource("5_hqews") 535 | 536 | [node name="Spring Panel" type="Panel" parent="VBoxContainer/GridContainer"] 537 | layout_mode = 2 538 | size_flags_horizontal = 3 539 | size_flags_vertical = 3 540 | script = ExtResource("4_2c02h") 541 | 542 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Spring Panel"] 543 | layout_mode = 1 544 | anchors_preset = 5 545 | anchor_left = 0.5 546 | anchor_right = 0.5 547 | offset_left = -20.0 548 | offset_right = 20.0 549 | offset_bottom = 23.0 550 | grow_horizontal = 2 551 | theme_override_font_sizes/font_size = 32 552 | text = "Spring" 553 | horizontal_alignment = 1 554 | 555 | [node name="Spring Sprite" type="TextureProgressBar" parent="VBoxContainer/GridContainer/Spring Panel"] 556 | unique_name_in_owner = true 557 | layout_mode = 1 558 | anchors_preset = 8 559 | anchor_left = 0.5 560 | anchor_top = 0.5 561 | anchor_right = 0.5 562 | anchor_bottom = 0.5 563 | offset_left = -128.0 564 | offset_top = -8.0 565 | offset_right = 128.0 566 | offset_bottom = 44.0 567 | grow_horizontal = 2 568 | grow_vertical = 2 569 | value = 100.0 570 | texture_under = ExtResource("4_0yccy") 571 | texture_progress = ExtResource("4_0yccy") 572 | tint_under = Color(0.172549, 0.172549, 0.172549, 1) 573 | 574 | [node name="HP Label" type="Label" parent="VBoxContainer/GridContainer/Spring Panel/Spring Sprite"] 575 | layout_mode = 1 576 | anchors_preset = 4 577 | anchor_top = 0.5 578 | anchor_bottom = 0.5 579 | offset_left = 10.0 580 | offset_top = -18.5 581 | offset_right = 73.0 582 | offset_bottom = 18.5 583 | grow_vertical = 2 584 | theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) 585 | theme_override_constants/shadow_outline_size = 15 586 | theme_override_font_sizes/font_size = 24 587 | text = "100" 588 | vertical_alignment = 1 589 | script = ExtResource("5_hqews") 590 | 591 | [node name="Expo Panel" type="Panel" parent="VBoxContainer/GridContainer"] 592 | layout_mode = 2 593 | size_flags_horizontal = 3 594 | size_flags_vertical = 3 595 | script = ExtResource("4_2c02h") 596 | 597 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Expo Panel"] 598 | layout_mode = 1 599 | anchors_preset = 5 600 | anchor_left = 0.5 601 | anchor_right = 0.5 602 | offset_left = -20.0 603 | offset_right = 20.0 604 | offset_bottom = 23.0 605 | grow_horizontal = 2 606 | theme_override_font_sizes/font_size = 32 607 | text = "Exponential" 608 | horizontal_alignment = 1 609 | 610 | [node name="Expo Sprite" type="TextureProgressBar" parent="VBoxContainer/GridContainer/Expo Panel"] 611 | unique_name_in_owner = true 612 | layout_mode = 1 613 | anchors_preset = 8 614 | anchor_left = 0.5 615 | anchor_top = 0.5 616 | anchor_right = 0.5 617 | anchor_bottom = 0.5 618 | offset_left = -128.0 619 | offset_top = -8.0 620 | offset_right = 128.0 621 | offset_bottom = 44.0 622 | grow_horizontal = 2 623 | grow_vertical = 2 624 | value = 100.0 625 | texture_under = ExtResource("4_0yccy") 626 | texture_progress = ExtResource("4_0yccy") 627 | tint_under = Color(0.172549, 0.172549, 0.172549, 1) 628 | 629 | [node name="HP Label" type="Label" parent="VBoxContainer/GridContainer/Expo Panel/Expo Sprite"] 630 | layout_mode = 1 631 | anchors_preset = 4 632 | anchor_top = 0.5 633 | anchor_bottom = 0.5 634 | offset_left = 10.0 635 | offset_top = -18.5 636 | offset_right = 73.0 637 | offset_bottom = 18.5 638 | grow_vertical = 2 639 | theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) 640 | theme_override_constants/shadow_outline_size = 15 641 | theme_override_font_sizes/font_size = 24 642 | text = "100" 643 | vertical_alignment = 1 644 | script = ExtResource("5_hqews") 645 | 646 | [node name="Bounce Panel" type="Panel" parent="VBoxContainer/GridContainer"] 647 | layout_mode = 2 648 | size_flags_horizontal = 3 649 | size_flags_vertical = 3 650 | script = ExtResource("4_2c02h") 651 | 652 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Bounce Panel"] 653 | layout_mode = 1 654 | anchors_preset = 5 655 | anchor_left = 0.5 656 | anchor_right = 0.5 657 | offset_left = -20.0 658 | offset_right = 20.0 659 | offset_bottom = 23.0 660 | grow_horizontal = 2 661 | theme_override_font_sizes/font_size = 32 662 | text = "Bounce" 663 | horizontal_alignment = 1 664 | 665 | [node name="Bounce Sprite" type="TextureProgressBar" parent="VBoxContainer/GridContainer/Bounce Panel"] 666 | unique_name_in_owner = true 667 | layout_mode = 1 668 | anchors_preset = 8 669 | anchor_left = 0.5 670 | anchor_top = 0.5 671 | anchor_right = 0.5 672 | anchor_bottom = 0.5 673 | offset_left = -128.0 674 | offset_top = -8.0 675 | offset_right = 128.0 676 | offset_bottom = 44.0 677 | grow_horizontal = 2 678 | grow_vertical = 2 679 | value = 100.0 680 | texture_under = ExtResource("4_0yccy") 681 | texture_progress = ExtResource("4_0yccy") 682 | tint_under = Color(0.172549, 0.172549, 0.172549, 1) 683 | 684 | [node name="HP Label" type="Label" parent="VBoxContainer/GridContainer/Bounce Panel/Bounce Sprite"] 685 | layout_mode = 1 686 | anchors_preset = 4 687 | anchor_top = 0.5 688 | anchor_bottom = 0.5 689 | offset_left = 10.0 690 | offset_top = -18.5 691 | offset_right = 73.0 692 | offset_bottom = 18.5 693 | grow_vertical = 2 694 | theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) 695 | theme_override_constants/shadow_outline_size = 15 696 | theme_override_font_sizes/font_size = 24 697 | text = "100" 698 | vertical_alignment = 1 699 | script = ExtResource("5_hqews") 700 | 701 | [node name="Settings Panel" type="Panel" parent="VBoxContainer"] 702 | custom_minimum_size = Vector2(0, 40) 703 | layout_mode = 2 704 | 705 | [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/Settings Panel"] 706 | layout_mode = 1 707 | anchors_preset = 15 708 | anchor_right = 1.0 709 | anchor_bottom = 1.0 710 | grow_horizontal = 2 711 | grow_vertical = 2 712 | 713 | [node name="Scene Name" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer"] 714 | custom_minimum_size = Vector2(200, 0) 715 | layout_mode = 2 716 | text = "HP Bars" 717 | horizontal_alignment = 1 718 | vertical_alignment = 1 719 | 720 | [node name="Time Settings" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 721 | layout_mode = 2 722 | 723 | [node name="Time Label" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 724 | layout_mode = 2 725 | text = "Time" 726 | horizontal_alignment = 1 727 | vertical_alignment = 1 728 | 729 | [node name="Time Spinbox" type="SpinBox" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 730 | unique_name_in_owner = true 731 | layout_mode = 2 732 | min_value = 0.1 733 | step = 0.1 734 | value = 1.0 735 | alignment = 1 736 | update_on_text_changed = true 737 | select_all_on_focus = true 738 | 739 | [node name="Time Slider" type="HSlider" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 740 | unique_name_in_owner = true 741 | custom_minimum_size = Vector2(150, 0) 742 | layout_mode = 2 743 | size_flags_vertical = 4 744 | min_value = 0.1 745 | max_value = 10.0 746 | step = 0.1 747 | value = 1.0 748 | 749 | [node name="Cooldown Settings" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 750 | layout_mode = 2 751 | 752 | [node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 753 | custom_minimum_size = Vector2(30, 0) 754 | layout_mode = 2 755 | 756 | [node name="Cooldown Label" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 757 | layout_mode = 2 758 | text = "Cooldown" 759 | horizontal_alignment = 1 760 | vertical_alignment = 1 761 | 762 | [node name="Cooldown Spinbox" type="SpinBox" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 763 | unique_name_in_owner = true 764 | layout_mode = 2 765 | step = 0.1 766 | value = 0.5 767 | alignment = 1 768 | update_on_text_changed = true 769 | select_all_on_focus = true 770 | 771 | [node name="Cooldown Slider" type="HSlider" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 772 | unique_name_in_owner = true 773 | custom_minimum_size = Vector2(150, 0) 774 | layout_mode = 2 775 | size_flags_vertical = 4 776 | max_value = 5.0 777 | step = 0.1 778 | value = 0.5 779 | 780 | [node name="EaseType Option" type="OptionButton" parent="VBoxContainer/Settings Panel/HBoxContainer"] 781 | unique_name_in_owner = true 782 | layout_mode = 2 783 | item_count = 4 784 | selected = 2 785 | popup/item_0/text = "Ease In" 786 | popup/item_0/id = 0 787 | popup/item_1/text = "Ease Out" 788 | popup/item_1/id = 1 789 | popup/item_2/text = "Ease In Out" 790 | popup/item_2/id = 2 791 | popup/item_3/text = "Ease Out In" 792 | popup/item_3/id = 3 793 | 794 | [node name="Scene Arrows" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 795 | layout_mode = 2 796 | size_flags_horizontal = 10 797 | script = ExtResource("5_1cyx2") 798 | prev_scene = "4_Lever" 799 | next_scene = "6_Sword" 800 | 801 | [node name="PrevScene Button" type="Button" parent="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows"] 802 | custom_minimum_size = Vector2(50, 0) 803 | layout_mode = 2 804 | text = "<" 805 | 806 | [node name="NextScene Button" type="Button" parent="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows"] 807 | custom_minimum_size = Vector2(50, 0) 808 | layout_mode = 2 809 | text = ">" 810 | 811 | [connection signal="value_changed" from="VBoxContainer/GridContainer/Linear Panel/Linear Sprite" to="VBoxContainer/GridContainer/Linear Panel/Linear Sprite/HP Label" method="_on_value_changed"] 812 | [connection signal="value_changed" from="VBoxContainer/GridContainer/Sine Panel/Sine Sprite" to="VBoxContainer/GridContainer/Sine Panel/Sine Sprite/HP Label" method="_on_value_changed"] 813 | [connection signal="value_changed" from="VBoxContainer/GridContainer/Quad Panel/Quad Sprite" to="VBoxContainer/GridContainer/Quad Panel/Quad Sprite/HP Label" method="_on_value_changed"] 814 | [connection signal="value_changed" from="VBoxContainer/GridContainer/Circ Panel/Circ Sprite" to="VBoxContainer/GridContainer/Circ Panel/Circ Sprite/HP Label" method="_on_value_changed"] 815 | [connection signal="value_changed" from="VBoxContainer/GridContainer/Cubic Panel/Cubic Sprite" to="VBoxContainer/GridContainer/Cubic Panel/Cubic Sprite/HP Label" method="_on_value_changed"] 816 | [connection signal="value_changed" from="VBoxContainer/GridContainer/Elastic Panel/Elastic Sprite" to="VBoxContainer/GridContainer/Elastic Panel/Elastic Sprite/HP Label" method="_on_value_changed"] 817 | [connection signal="value_changed" from="VBoxContainer/GridContainer/Quart Panel/Quart Sprite" to="VBoxContainer/GridContainer/Quart Panel/Quart Sprite/HP Label" method="_on_value_changed"] 818 | [connection signal="value_changed" from="VBoxContainer/GridContainer/Back Panel/Back Sprite" to="VBoxContainer/GridContainer/Back Panel/Back Sprite/HP Label" method="_on_value_changed"] 819 | [connection signal="value_changed" from="VBoxContainer/GridContainer/Quint Panel/Quint Sprite" to="VBoxContainer/GridContainer/Quint Panel/Quint Sprite/HP Label" method="_on_value_changed"] 820 | [connection signal="value_changed" from="VBoxContainer/GridContainer/Spring Panel/Spring Sprite" to="VBoxContainer/GridContainer/Spring Panel/Spring Sprite/HP Label" method="_on_value_changed"] 821 | [connection signal="value_changed" from="VBoxContainer/GridContainer/Expo Panel/Expo Sprite" to="VBoxContainer/GridContainer/Expo Panel/Expo Sprite/HP Label" method="_on_value_changed"] 822 | [connection signal="value_changed" from="VBoxContainer/GridContainer/Bounce Panel/Bounce Sprite" to="VBoxContainer/GridContainer/Bounce Panel/Bounce Sprite/HP Label" method="_on_value_changed"] 823 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Time Settings/Time Spinbox" to="." method="_on_time_changed"] 824 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Time Settings/Time Slider" to="." method="_on_time_changed"] 825 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings/Cooldown Spinbox" to="." method="_on_cooldown_changed"] 826 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings/Cooldown Slider" to="." method="_on_cooldown_changed"] 827 | [connection signal="item_selected" from="VBoxContainer/Settings Panel/HBoxContainer/EaseType Option" to="." method="_on_ease_type_option_item_selected"] 828 | [connection signal="pressed" from="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows/PrevScene Button" to="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows" method="_on_prev_scene_button_pressed"] 829 | [connection signal="pressed" from="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows/NextScene Button" to="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows" method="_on_next_scene_button_pressed"] 830 | -------------------------------------------------------------------------------- /Project/Scenes/6_Sword.tscn: -------------------------------------------------------------------------------- 1 | [gd_scene load_steps=13 format=3 uid="uid://f16bk5t2kmwt"] 2 | 3 | [ext_resource type="Theme" uid="uid://dt4b5okf4yefr" path="res://Themes/DefaultTheme.tres" id="1_27qbq"] 4 | [ext_resource type="Script" path="res://Scripts/SceneController.gd" id="2_bthpg"] 5 | [ext_resource type="Script" path="res://Scripts/TweenResource.gd" id="3_4dkf2"] 6 | [ext_resource type="Script" path="res://Scripts/PanelDisabler.gd" id="4_mdfto"] 7 | [ext_resource type="Texture2D" uid="uid://k5lh6vse52h3" path="res://Art/Sword.png" id="4_v1bm3"] 8 | [ext_resource type="Script" path="res://Scripts/SceneChanger.gd" id="5_5khbj"] 9 | [ext_resource type="Texture2D" uid="uid://qdli0ptbxeyy" path="res://Art/Skeleton.png" id="5_yrnmm"] 10 | [ext_resource type="Script" path="res://Scripts/FlashOnTouch.gd" id="6_7j733"] 11 | 12 | [sub_resource type="Resource" id="Resource_rbltn"] 13 | script = ExtResource("3_4dkf2") 14 | tweened_property = "position:x" 15 | tween_from = 174.0 16 | tween_to = 360.0 17 | 18 | [sub_resource type="Resource" id="Resource_21yxu"] 19 | script = ExtResource("3_4dkf2") 20 | tweened_property = "rotation_degrees" 21 | tween_from = 0.0 22 | tween_to = 90.0 23 | 24 | [sub_resource type="RectangleShape2D" id="RectangleShape2D_ewjtk"] 25 | size = Vector2(8, 30) 26 | 27 | [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_0km2n"] 28 | radius = 6.0 29 | 30 | [node name="Control" type="Control"] 31 | layout_mode = 3 32 | anchors_preset = 15 33 | anchor_right = 1.0 34 | anchor_bottom = 1.0 35 | grow_horizontal = 2 36 | grow_vertical = 2 37 | theme = ExtResource("1_27qbq") 38 | script = ExtResource("2_bthpg") 39 | tween_resources = Array[ExtResource("3_4dkf2")]([SubResource("Resource_rbltn"), SubResource("Resource_21yxu")]) 40 | 41 | [node name="VBoxContainer" type="VBoxContainer" parent="."] 42 | layout_mode = 1 43 | anchors_preset = 15 44 | anchor_right = 1.0 45 | anchor_bottom = 1.0 46 | grow_horizontal = 2 47 | grow_vertical = 2 48 | 49 | [node name="GridContainer" type="GridContainer" parent="VBoxContainer"] 50 | layout_mode = 2 51 | size_flags_vertical = 3 52 | columns = 2 53 | 54 | [node name="Linear Panel" type="Panel" parent="VBoxContainer/GridContainer"] 55 | layout_mode = 2 56 | size_flags_horizontal = 3 57 | size_flags_vertical = 3 58 | script = ExtResource("4_mdfto") 59 | 60 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Linear Panel"] 61 | layout_mode = 1 62 | anchors_preset = 5 63 | anchor_left = 0.5 64 | anchor_right = 0.5 65 | offset_left = -20.0 66 | offset_right = 20.0 67 | offset_bottom = 23.0 68 | grow_horizontal = 2 69 | theme_override_font_sizes/font_size = 32 70 | text = "Linear" 71 | horizontal_alignment = 1 72 | 73 | [node name="Linear Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Linear Panel"] 74 | unique_name_in_owner = true 75 | texture_filter = 1 76 | position = Vector2(174, 76) 77 | scale = Vector2(2, 2) 78 | texture = ExtResource("4_v1bm3") 79 | offset = Vector2(0, -12) 80 | 81 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Linear Panel/Linear Sprite"] 82 | collision_mask = 2 83 | 84 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Linear Panel/Linear Sprite/Area2D"] 85 | position = Vector2(0, -17.5) 86 | shape = SubResource("RectangleShape2D_ewjtk") 87 | 88 | [node name="Skeleton" type="Sprite2D" parent="VBoxContainer/GridContainer/Linear Panel"] 89 | texture_filter = 1 90 | position = Vector2(400, 59) 91 | scale = Vector2(3, 3) 92 | texture = ExtResource("5_yrnmm") 93 | flip_h = true 94 | script = ExtResource("6_7j733") 95 | 96 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Linear Panel/Skeleton"] 97 | collision_layer = 2 98 | 99 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Linear Panel/Skeleton/Area2D"] 100 | shape = SubResource("CapsuleShape2D_0km2n") 101 | 102 | [node name="Sine Panel" type="Panel" parent="VBoxContainer/GridContainer"] 103 | layout_mode = 2 104 | size_flags_horizontal = 3 105 | size_flags_vertical = 3 106 | script = ExtResource("4_mdfto") 107 | 108 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Sine Panel"] 109 | layout_mode = 1 110 | anchors_preset = 5 111 | anchor_left = 0.5 112 | anchor_right = 0.5 113 | offset_left = -20.0 114 | offset_right = 20.0 115 | offset_bottom = 23.0 116 | grow_horizontal = 2 117 | theme_override_font_sizes/font_size = 32 118 | text = "Sine" 119 | horizontal_alignment = 1 120 | 121 | [node name="Sine Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Sine Panel"] 122 | unique_name_in_owner = true 123 | texture_filter = 1 124 | position = Vector2(174, 76) 125 | scale = Vector2(2, 2) 126 | texture = ExtResource("4_v1bm3") 127 | offset = Vector2(0, -12) 128 | 129 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Sine Panel/Sine Sprite"] 130 | collision_mask = 2 131 | 132 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Sine Panel/Sine Sprite/Area2D"] 133 | position = Vector2(0, -17.5) 134 | shape = SubResource("RectangleShape2D_ewjtk") 135 | 136 | [node name="Skeleton" type="Sprite2D" parent="VBoxContainer/GridContainer/Sine Panel"] 137 | texture_filter = 1 138 | position = Vector2(400, 59) 139 | scale = Vector2(3, 3) 140 | texture = ExtResource("5_yrnmm") 141 | flip_h = true 142 | script = ExtResource("6_7j733") 143 | 144 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Sine Panel/Skeleton"] 145 | collision_layer = 2 146 | 147 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Sine Panel/Skeleton/Area2D"] 148 | shape = SubResource("CapsuleShape2D_0km2n") 149 | 150 | [node name="Quad Panel" type="Panel" parent="VBoxContainer/GridContainer"] 151 | layout_mode = 2 152 | size_flags_horizontal = 3 153 | size_flags_vertical = 3 154 | script = ExtResource("4_mdfto") 155 | 156 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quad Panel"] 157 | layout_mode = 1 158 | anchors_preset = 5 159 | anchor_left = 0.5 160 | anchor_right = 0.5 161 | offset_left = -20.0 162 | offset_right = 20.0 163 | offset_bottom = 23.0 164 | grow_horizontal = 2 165 | theme_override_font_sizes/font_size = 32 166 | text = "Quadratic" 167 | horizontal_alignment = 1 168 | 169 | [node name="Quad Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Quad Panel"] 170 | unique_name_in_owner = true 171 | texture_filter = 1 172 | position = Vector2(174, 76) 173 | scale = Vector2(2, 2) 174 | texture = ExtResource("4_v1bm3") 175 | offset = Vector2(0, -12) 176 | 177 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Quad Panel/Quad Sprite"] 178 | collision_mask = 2 179 | 180 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Quad Panel/Quad Sprite/Area2D"] 181 | position = Vector2(0, -17.5) 182 | shape = SubResource("RectangleShape2D_ewjtk") 183 | 184 | [node name="Skeleton" type="Sprite2D" parent="VBoxContainer/GridContainer/Quad Panel"] 185 | texture_filter = 1 186 | position = Vector2(400, 59) 187 | scale = Vector2(3, 3) 188 | texture = ExtResource("5_yrnmm") 189 | flip_h = true 190 | script = ExtResource("6_7j733") 191 | 192 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Quad Panel/Skeleton"] 193 | collision_layer = 2 194 | 195 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Quad Panel/Skeleton/Area2D"] 196 | shape = SubResource("CapsuleShape2D_0km2n") 197 | 198 | [node name="Circ Panel" type="Panel" parent="VBoxContainer/GridContainer"] 199 | layout_mode = 2 200 | size_flags_horizontal = 3 201 | size_flags_vertical = 3 202 | script = ExtResource("4_mdfto") 203 | 204 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Circ Panel"] 205 | layout_mode = 1 206 | anchors_preset = 5 207 | anchor_left = 0.5 208 | anchor_right = 0.5 209 | offset_left = -20.0 210 | offset_right = 20.0 211 | offset_bottom = 23.0 212 | grow_horizontal = 2 213 | theme_override_font_sizes/font_size = 32 214 | text = "Circular" 215 | horizontal_alignment = 1 216 | 217 | [node name="Circ Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Circ Panel"] 218 | unique_name_in_owner = true 219 | texture_filter = 1 220 | position = Vector2(174, 76) 221 | scale = Vector2(2, 2) 222 | texture = ExtResource("4_v1bm3") 223 | offset = Vector2(0, -12) 224 | 225 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Circ Panel/Circ Sprite"] 226 | collision_layer = 4 227 | collision_mask = 4 228 | 229 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Circ Panel/Circ Sprite/Area2D"] 230 | position = Vector2(0, -17.5) 231 | shape = SubResource("RectangleShape2D_ewjtk") 232 | 233 | [node name="Skeleton" type="Sprite2D" parent="VBoxContainer/GridContainer/Circ Panel"] 234 | texture_filter = 1 235 | position = Vector2(400, 59) 236 | scale = Vector2(3, 3) 237 | texture = ExtResource("5_yrnmm") 238 | flip_h = true 239 | script = ExtResource("6_7j733") 240 | 241 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Circ Panel/Skeleton"] 242 | collision_layer = 4 243 | collision_mask = 4 244 | 245 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Circ Panel/Skeleton/Area2D"] 246 | shape = SubResource("CapsuleShape2D_0km2n") 247 | 248 | [node name="Cubic Panel" type="Panel" parent="VBoxContainer/GridContainer"] 249 | layout_mode = 2 250 | size_flags_horizontal = 3 251 | size_flags_vertical = 3 252 | script = ExtResource("4_mdfto") 253 | 254 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Cubic Panel"] 255 | layout_mode = 1 256 | anchors_preset = 5 257 | anchor_left = 0.5 258 | anchor_right = 0.5 259 | offset_left = -20.0 260 | offset_right = 20.0 261 | offset_bottom = 23.0 262 | grow_horizontal = 2 263 | theme_override_font_sizes/font_size = 32 264 | text = "Cubic" 265 | horizontal_alignment = 1 266 | 267 | [node name="Cubic Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Cubic Panel"] 268 | unique_name_in_owner = true 269 | texture_filter = 1 270 | position = Vector2(174, 76) 271 | scale = Vector2(2, 2) 272 | texture = ExtResource("4_v1bm3") 273 | offset = Vector2(0, -12) 274 | 275 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Cubic Panel/Cubic Sprite"] 276 | collision_mask = 2 277 | 278 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Cubic Panel/Cubic Sprite/Area2D"] 279 | position = Vector2(0, -17.5) 280 | shape = SubResource("RectangleShape2D_ewjtk") 281 | 282 | [node name="Skeleton" type="Sprite2D" parent="VBoxContainer/GridContainer/Cubic Panel"] 283 | texture_filter = 1 284 | position = Vector2(400, 59) 285 | scale = Vector2(3, 3) 286 | texture = ExtResource("5_yrnmm") 287 | flip_h = true 288 | script = ExtResource("6_7j733") 289 | 290 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Cubic Panel/Skeleton"] 291 | collision_layer = 2 292 | 293 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Cubic Panel/Skeleton/Area2D"] 294 | shape = SubResource("CapsuleShape2D_0km2n") 295 | 296 | [node name="Elastic Panel" type="Panel" parent="VBoxContainer/GridContainer"] 297 | layout_mode = 2 298 | size_flags_horizontal = 3 299 | size_flags_vertical = 3 300 | script = ExtResource("4_mdfto") 301 | 302 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Elastic Panel"] 303 | layout_mode = 1 304 | anchors_preset = 5 305 | anchor_left = 0.5 306 | anchor_right = 0.5 307 | offset_left = -20.0 308 | offset_right = 20.0 309 | offset_bottom = 23.0 310 | grow_horizontal = 2 311 | theme_override_font_sizes/font_size = 32 312 | text = "Elastic" 313 | horizontal_alignment = 1 314 | 315 | [node name="Elastic Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Elastic Panel"] 316 | unique_name_in_owner = true 317 | texture_filter = 1 318 | position = Vector2(174, 76) 319 | scale = Vector2(2, 2) 320 | texture = ExtResource("4_v1bm3") 321 | offset = Vector2(0, -12) 322 | 323 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Elastic Panel/Elastic Sprite"] 324 | collision_mask = 2 325 | 326 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Elastic Panel/Elastic Sprite/Area2D"] 327 | position = Vector2(0, -17.5) 328 | shape = SubResource("RectangleShape2D_ewjtk") 329 | 330 | [node name="Skeleton" type="Sprite2D" parent="VBoxContainer/GridContainer/Elastic Panel"] 331 | texture_filter = 1 332 | position = Vector2(400, 59) 333 | scale = Vector2(3, 3) 334 | texture = ExtResource("5_yrnmm") 335 | flip_h = true 336 | script = ExtResource("6_7j733") 337 | 338 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Elastic Panel/Skeleton"] 339 | collision_layer = 2 340 | 341 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Elastic Panel/Skeleton/Area2D"] 342 | shape = SubResource("CapsuleShape2D_0km2n") 343 | 344 | [node name="Quart Panel" type="Panel" parent="VBoxContainer/GridContainer"] 345 | layout_mode = 2 346 | size_flags_horizontal = 3 347 | size_flags_vertical = 3 348 | script = ExtResource("4_mdfto") 349 | 350 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quart Panel"] 351 | layout_mode = 1 352 | anchors_preset = 5 353 | anchor_left = 0.5 354 | anchor_right = 0.5 355 | offset_left = -20.0 356 | offset_right = 20.0 357 | offset_bottom = 23.0 358 | grow_horizontal = 2 359 | theme_override_font_sizes/font_size = 32 360 | text = "Quartic" 361 | horizontal_alignment = 1 362 | 363 | [node name="Quart Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Quart Panel"] 364 | unique_name_in_owner = true 365 | texture_filter = 1 366 | position = Vector2(174, 76) 367 | scale = Vector2(2, 2) 368 | texture = ExtResource("4_v1bm3") 369 | offset = Vector2(0, -12) 370 | 371 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Quart Panel/Quart Sprite"] 372 | collision_mask = 2 373 | 374 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Quart Panel/Quart Sprite/Area2D"] 375 | position = Vector2(0, -17.5) 376 | shape = SubResource("RectangleShape2D_ewjtk") 377 | 378 | [node name="Skeleton" type="Sprite2D" parent="VBoxContainer/GridContainer/Quart Panel"] 379 | texture_filter = 1 380 | position = Vector2(400, 59) 381 | scale = Vector2(3, 3) 382 | texture = ExtResource("5_yrnmm") 383 | flip_h = true 384 | script = ExtResource("6_7j733") 385 | 386 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Quart Panel/Skeleton"] 387 | collision_layer = 2 388 | 389 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Quart Panel/Skeleton/Area2D"] 390 | shape = SubResource("CapsuleShape2D_0km2n") 391 | 392 | [node name="Back Panel" type="Panel" parent="VBoxContainer/GridContainer"] 393 | layout_mode = 2 394 | size_flags_horizontal = 3 395 | size_flags_vertical = 3 396 | script = ExtResource("4_mdfto") 397 | 398 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Back Panel"] 399 | layout_mode = 1 400 | anchors_preset = 5 401 | anchor_left = 0.5 402 | anchor_right = 0.5 403 | offset_left = -20.0 404 | offset_right = 20.0 405 | offset_bottom = 23.0 406 | grow_horizontal = 2 407 | theme_override_font_sizes/font_size = 32 408 | text = "Back" 409 | horizontal_alignment = 1 410 | 411 | [node name="Back Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Back Panel"] 412 | unique_name_in_owner = true 413 | texture_filter = 1 414 | position = Vector2(174, 76) 415 | scale = Vector2(2, 2) 416 | texture = ExtResource("4_v1bm3") 417 | offset = Vector2(0, -12) 418 | 419 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Back Panel/Back Sprite"] 420 | collision_mask = 2 421 | 422 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Back Panel/Back Sprite/Area2D"] 423 | position = Vector2(0, -17.5) 424 | shape = SubResource("RectangleShape2D_ewjtk") 425 | 426 | [node name="Skeleton" type="Sprite2D" parent="VBoxContainer/GridContainer/Back Panel"] 427 | texture_filter = 1 428 | position = Vector2(400, 59) 429 | scale = Vector2(3, 3) 430 | texture = ExtResource("5_yrnmm") 431 | flip_h = true 432 | script = ExtResource("6_7j733") 433 | 434 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Back Panel/Skeleton"] 435 | collision_layer = 2 436 | 437 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Back Panel/Skeleton/Area2D"] 438 | shape = SubResource("CapsuleShape2D_0km2n") 439 | 440 | [node name="Quint Panel" type="Panel" parent="VBoxContainer/GridContainer"] 441 | layout_mode = 2 442 | size_flags_horizontal = 3 443 | size_flags_vertical = 3 444 | script = ExtResource("4_mdfto") 445 | 446 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quint Panel"] 447 | layout_mode = 1 448 | anchors_preset = 5 449 | anchor_left = 0.5 450 | anchor_right = 0.5 451 | offset_left = -20.0 452 | offset_right = 20.0 453 | offset_bottom = 23.0 454 | grow_horizontal = 2 455 | theme_override_font_sizes/font_size = 32 456 | text = "Quintic" 457 | horizontal_alignment = 1 458 | 459 | [node name="Quint Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Quint Panel"] 460 | unique_name_in_owner = true 461 | texture_filter = 1 462 | position = Vector2(174, 76) 463 | scale = Vector2(2, 2) 464 | texture = ExtResource("4_v1bm3") 465 | offset = Vector2(0, -12) 466 | 467 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Quint Panel/Quint Sprite"] 468 | collision_mask = 2 469 | 470 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Quint Panel/Quint Sprite/Area2D"] 471 | position = Vector2(0, -17.5) 472 | shape = SubResource("RectangleShape2D_ewjtk") 473 | 474 | [node name="Skeleton" type="Sprite2D" parent="VBoxContainer/GridContainer/Quint Panel"] 475 | texture_filter = 1 476 | position = Vector2(400, 59) 477 | scale = Vector2(3, 3) 478 | texture = ExtResource("5_yrnmm") 479 | flip_h = true 480 | script = ExtResource("6_7j733") 481 | 482 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Quint Panel/Skeleton"] 483 | collision_layer = 2 484 | 485 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Quint Panel/Skeleton/Area2D"] 486 | shape = SubResource("CapsuleShape2D_0km2n") 487 | 488 | [node name="Spring Panel" type="Panel" parent="VBoxContainer/GridContainer"] 489 | layout_mode = 2 490 | size_flags_horizontal = 3 491 | size_flags_vertical = 3 492 | script = ExtResource("4_mdfto") 493 | 494 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Spring Panel"] 495 | layout_mode = 1 496 | anchors_preset = 5 497 | anchor_left = 0.5 498 | anchor_right = 0.5 499 | offset_left = -20.0 500 | offset_right = 20.0 501 | offset_bottom = 23.0 502 | grow_horizontal = 2 503 | theme_override_font_sizes/font_size = 32 504 | text = "Spring" 505 | horizontal_alignment = 1 506 | 507 | [node name="Spring Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Spring Panel"] 508 | unique_name_in_owner = true 509 | texture_filter = 1 510 | position = Vector2(174, 76) 511 | scale = Vector2(2, 2) 512 | texture = ExtResource("4_v1bm3") 513 | offset = Vector2(0, -12) 514 | 515 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Spring Panel/Spring Sprite"] 516 | collision_mask = 2 517 | 518 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Spring Panel/Spring Sprite/Area2D"] 519 | position = Vector2(0, -17.5) 520 | shape = SubResource("RectangleShape2D_ewjtk") 521 | 522 | [node name="Skeleton" type="Sprite2D" parent="VBoxContainer/GridContainer/Spring Panel"] 523 | texture_filter = 1 524 | position = Vector2(400, 59) 525 | scale = Vector2(3, 3) 526 | texture = ExtResource("5_yrnmm") 527 | flip_h = true 528 | script = ExtResource("6_7j733") 529 | 530 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Spring Panel/Skeleton"] 531 | collision_layer = 2 532 | 533 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Spring Panel/Skeleton/Area2D"] 534 | shape = SubResource("CapsuleShape2D_0km2n") 535 | 536 | [node name="Expo Panel" type="Panel" parent="VBoxContainer/GridContainer"] 537 | layout_mode = 2 538 | size_flags_horizontal = 3 539 | size_flags_vertical = 3 540 | script = ExtResource("4_mdfto") 541 | 542 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Expo Panel"] 543 | layout_mode = 1 544 | anchors_preset = 5 545 | anchor_left = 0.5 546 | anchor_right = 0.5 547 | offset_left = -20.0 548 | offset_right = 20.0 549 | offset_bottom = 23.0 550 | grow_horizontal = 2 551 | theme_override_font_sizes/font_size = 32 552 | text = "Exponential" 553 | horizontal_alignment = 1 554 | 555 | [node name="Expo Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Expo Panel"] 556 | unique_name_in_owner = true 557 | texture_filter = 1 558 | position = Vector2(174, 76) 559 | scale = Vector2(2, 2) 560 | texture = ExtResource("4_v1bm3") 561 | offset = Vector2(0, -12) 562 | 563 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Expo Panel/Expo Sprite"] 564 | collision_mask = 2 565 | 566 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Expo Panel/Expo Sprite/Area2D"] 567 | position = Vector2(0, -17.5) 568 | shape = SubResource("RectangleShape2D_ewjtk") 569 | 570 | [node name="Skeleton" type="Sprite2D" parent="VBoxContainer/GridContainer/Expo Panel"] 571 | texture_filter = 1 572 | position = Vector2(400, 59) 573 | scale = Vector2(3, 3) 574 | texture = ExtResource("5_yrnmm") 575 | flip_h = true 576 | script = ExtResource("6_7j733") 577 | 578 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Expo Panel/Skeleton"] 579 | collision_layer = 2 580 | 581 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Expo Panel/Skeleton/Area2D"] 582 | shape = SubResource("CapsuleShape2D_0km2n") 583 | 584 | [node name="Bounce Panel" type="Panel" parent="VBoxContainer/GridContainer"] 585 | layout_mode = 2 586 | size_flags_horizontal = 3 587 | size_flags_vertical = 3 588 | script = ExtResource("4_mdfto") 589 | 590 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Bounce Panel"] 591 | layout_mode = 1 592 | anchors_preset = 5 593 | anchor_left = 0.5 594 | anchor_right = 0.5 595 | offset_left = -20.0 596 | offset_right = 20.0 597 | offset_bottom = 23.0 598 | grow_horizontal = 2 599 | theme_override_font_sizes/font_size = 32 600 | text = "Bounce" 601 | horizontal_alignment = 1 602 | 603 | [node name="Bounce Sprite" type="Sprite2D" parent="VBoxContainer/GridContainer/Bounce Panel"] 604 | unique_name_in_owner = true 605 | texture_filter = 1 606 | position = Vector2(174, 76) 607 | scale = Vector2(2, 2) 608 | texture = ExtResource("4_v1bm3") 609 | offset = Vector2(0, -12) 610 | 611 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Bounce Panel/Bounce Sprite"] 612 | collision_mask = 2 613 | 614 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Bounce Panel/Bounce Sprite/Area2D"] 615 | position = Vector2(0, -17.5) 616 | shape = SubResource("RectangleShape2D_ewjtk") 617 | 618 | [node name="Skeleton" type="Sprite2D" parent="VBoxContainer/GridContainer/Bounce Panel"] 619 | texture_filter = 1 620 | position = Vector2(400, 59) 621 | scale = Vector2(3, 3) 622 | texture = ExtResource("5_yrnmm") 623 | flip_h = true 624 | script = ExtResource("6_7j733") 625 | 626 | [node name="Area2D" type="Area2D" parent="VBoxContainer/GridContainer/Bounce Panel/Skeleton"] 627 | collision_layer = 2 628 | 629 | [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/GridContainer/Bounce Panel/Skeleton/Area2D"] 630 | shape = SubResource("CapsuleShape2D_0km2n") 631 | 632 | [node name="Settings Panel" type="Panel" parent="VBoxContainer"] 633 | custom_minimum_size = Vector2(0, 40) 634 | layout_mode = 2 635 | 636 | [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/Settings Panel"] 637 | layout_mode = 1 638 | anchors_preset = 15 639 | anchor_right = 1.0 640 | anchor_bottom = 1.0 641 | grow_horizontal = 2 642 | grow_vertical = 2 643 | 644 | [node name="Scene Name" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer"] 645 | custom_minimum_size = Vector2(200, 0) 646 | layout_mode = 2 647 | text = "Sword Animation" 648 | horizontal_alignment = 1 649 | vertical_alignment = 1 650 | 651 | [node name="Time Settings" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 652 | layout_mode = 2 653 | 654 | [node name="Time Label" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 655 | layout_mode = 2 656 | text = "Time" 657 | horizontal_alignment = 1 658 | vertical_alignment = 1 659 | 660 | [node name="Time Spinbox" type="SpinBox" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 661 | unique_name_in_owner = true 662 | layout_mode = 2 663 | min_value = 0.1 664 | step = 0.1 665 | value = 1.0 666 | alignment = 1 667 | update_on_text_changed = true 668 | select_all_on_focus = true 669 | 670 | [node name="Time Slider" type="HSlider" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 671 | unique_name_in_owner = true 672 | custom_minimum_size = Vector2(150, 0) 673 | layout_mode = 2 674 | size_flags_vertical = 4 675 | min_value = 0.1 676 | max_value = 10.0 677 | step = 0.1 678 | value = 1.0 679 | 680 | [node name="Cooldown Settings" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 681 | layout_mode = 2 682 | 683 | [node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 684 | custom_minimum_size = Vector2(30, 0) 685 | layout_mode = 2 686 | 687 | [node name="Cooldown Label" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 688 | layout_mode = 2 689 | text = "Cooldown" 690 | horizontal_alignment = 1 691 | vertical_alignment = 1 692 | 693 | [node name="Cooldown Spinbox" type="SpinBox" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 694 | unique_name_in_owner = true 695 | layout_mode = 2 696 | step = 0.1 697 | value = 0.5 698 | alignment = 1 699 | update_on_text_changed = true 700 | select_all_on_focus = true 701 | 702 | [node name="Cooldown Slider" type="HSlider" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 703 | unique_name_in_owner = true 704 | custom_minimum_size = Vector2(150, 0) 705 | layout_mode = 2 706 | size_flags_vertical = 4 707 | max_value = 5.0 708 | step = 0.1 709 | value = 0.5 710 | 711 | [node name="EaseType Option" type="OptionButton" parent="VBoxContainer/Settings Panel/HBoxContainer"] 712 | unique_name_in_owner = true 713 | layout_mode = 2 714 | item_count = 4 715 | selected = 2 716 | popup/item_0/text = "Ease In" 717 | popup/item_0/id = 0 718 | popup/item_1/text = "Ease Out" 719 | popup/item_1/id = 1 720 | popup/item_2/text = "Ease In Out" 721 | popup/item_2/id = 2 722 | popup/item_3/text = "Ease Out In" 723 | popup/item_3/id = 3 724 | 725 | [node name="Scene Arrows" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 726 | layout_mode = 2 727 | size_flags_horizontal = 10 728 | script = ExtResource("5_5khbj") 729 | prev_scene = "5_HPBar" 730 | next_scene = "7_Fading" 731 | 732 | [node name="PrevScene Button" type="Button" parent="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows"] 733 | custom_minimum_size = Vector2(50, 0) 734 | layout_mode = 2 735 | text = "<" 736 | 737 | [node name="NextScene Button" type="Button" parent="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows"] 738 | custom_minimum_size = Vector2(50, 0) 739 | layout_mode = 2 740 | text = ">" 741 | 742 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Time Settings/Time Spinbox" to="." method="_on_time_changed"] 743 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Time Settings/Time Slider" to="." method="_on_time_changed"] 744 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings/Cooldown Spinbox" to="." method="_on_cooldown_changed"] 745 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings/Cooldown Slider" to="." method="_on_cooldown_changed"] 746 | [connection signal="item_selected" from="VBoxContainer/Settings Panel/HBoxContainer/EaseType Option" to="." method="_on_ease_type_option_item_selected"] 747 | [connection signal="pressed" from="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows/PrevScene Button" to="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows" method="_on_prev_scene_button_pressed"] 748 | [connection signal="pressed" from="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows/NextScene Button" to="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows" method="_on_next_scene_button_pressed"] 749 | -------------------------------------------------------------------------------- /Project/Scenes/7_Fading.tscn: -------------------------------------------------------------------------------- 1 | [gd_scene load_steps=10 format=3 uid="uid://drpbrqspvgmxs"] 2 | 3 | [ext_resource type="Theme" uid="uid://dt4b5okf4yefr" path="res://Themes/DefaultTheme.tres" id="1_vy7i1"] 4 | [ext_resource type="Script" path="res://Scripts/SceneController.gd" id="2_iwwcx"] 5 | [ext_resource type="Script" path="res://Scripts/TweenResource.gd" id="3_8lgdh"] 6 | [ext_resource type="Script" path="res://Scripts/PanelDisabler.gd" id="4_ekpul"] 7 | [ext_resource type="Texture2D" uid="uid://d2427qhw4k0m6" path="res://Art/icon.svg" id="5_ns5am"] 8 | [ext_resource type="Script" path="res://Scripts/SceneChanger.gd" id="6_idbot"] 9 | 10 | [sub_resource type="Resource" id="Resource_rbltn"] 11 | script = ExtResource("3_8lgdh") 12 | tweened_property = "modulate:a" 13 | tween_from = 1.0 14 | tween_to = 0.0 15 | 16 | [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_y4ucf"] 17 | bg_color = Color(0, 0, 0, 1) 18 | 19 | [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bip68"] 20 | bg_color = Color(0.00392157, 0.501961, 0.992157, 1) 21 | 22 | [node name="Control" type="Control"] 23 | layout_mode = 3 24 | anchors_preset = 15 25 | anchor_right = 1.0 26 | anchor_bottom = 1.0 27 | grow_horizontal = 2 28 | grow_vertical = 2 29 | theme = ExtResource("1_vy7i1") 30 | script = ExtResource("2_iwwcx") 31 | tween_resources = Array[ExtResource("3_8lgdh")]([SubResource("Resource_rbltn")]) 32 | 33 | [node name="VBoxContainer" type="VBoxContainer" parent="."] 34 | layout_mode = 1 35 | anchors_preset = 15 36 | anchor_right = 1.0 37 | anchor_bottom = 1.0 38 | grow_horizontal = 2 39 | grow_vertical = 2 40 | 41 | [node name="GridContainer" type="GridContainer" parent="VBoxContainer"] 42 | layout_mode = 2 43 | size_flags_vertical = 3 44 | columns = 2 45 | 46 | [node name="Linear Panel" type="Panel" parent="VBoxContainer/GridContainer"] 47 | layout_mode = 2 48 | size_flags_horizontal = 3 49 | size_flags_vertical = 3 50 | theme_override_styles/panel = SubResource("StyleBoxFlat_y4ucf") 51 | script = ExtResource("4_ekpul") 52 | 53 | [node name="Linear Sprite" type="Panel" parent="VBoxContainer/GridContainer/Linear Panel"] 54 | unique_name_in_owner = true 55 | layout_mode = 1 56 | anchors_preset = 15 57 | anchor_right = 1.0 58 | anchor_bottom = 1.0 59 | grow_horizontal = 2 60 | grow_vertical = 2 61 | mouse_filter = 1 62 | theme_override_styles/panel = SubResource("StyleBoxFlat_bip68") 63 | 64 | [node name="Sprite2D" type="Sprite2D" parent="VBoxContainer/GridContainer/Linear Panel/Linear Sprite"] 65 | position = Vector2(287, 80) 66 | scale = Vector2(0.5, 0.5) 67 | texture = ExtResource("5_ns5am") 68 | 69 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Linear Panel"] 70 | layout_mode = 1 71 | anchors_preset = 5 72 | anchor_left = 0.5 73 | anchor_right = 0.5 74 | offset_left = -48.5 75 | offset_right = 48.5 76 | offset_bottom = 48.0 77 | grow_horizontal = 2 78 | theme_override_font_sizes/font_size = 32 79 | text = "Linear" 80 | horizontal_alignment = 1 81 | 82 | [node name="Sine Panel" type="Panel" parent="VBoxContainer/GridContainer"] 83 | layout_mode = 2 84 | size_flags_horizontal = 3 85 | size_flags_vertical = 3 86 | theme_override_styles/panel = SubResource("StyleBoxFlat_y4ucf") 87 | script = ExtResource("4_ekpul") 88 | 89 | [node name="Sine Sprite" type="Panel" parent="VBoxContainer/GridContainer/Sine Panel"] 90 | unique_name_in_owner = true 91 | layout_mode = 1 92 | anchors_preset = 15 93 | anchor_right = 1.0 94 | anchor_bottom = 1.0 95 | grow_horizontal = 2 96 | grow_vertical = 2 97 | mouse_filter = 1 98 | theme_override_styles/panel = SubResource("StyleBoxFlat_bip68") 99 | 100 | [node name="Sprite2D" type="Sprite2D" parent="VBoxContainer/GridContainer/Sine Panel/Sine Sprite"] 101 | position = Vector2(287, 80) 102 | scale = Vector2(0.5, 0.5) 103 | texture = ExtResource("5_ns5am") 104 | 105 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Sine Panel"] 106 | layout_mode = 1 107 | anchors_preset = 5 108 | anchor_left = 0.5 109 | anchor_right = 0.5 110 | offset_left = -32.5 111 | offset_right = 32.5 112 | offset_bottom = 48.0 113 | grow_horizontal = 2 114 | theme_override_font_sizes/font_size = 32 115 | text = "Sine" 116 | horizontal_alignment = 1 117 | 118 | [node name="Quad Panel" type="Panel" parent="VBoxContainer/GridContainer"] 119 | layout_mode = 2 120 | size_flags_horizontal = 3 121 | size_flags_vertical = 3 122 | theme_override_styles/panel = SubResource("StyleBoxFlat_y4ucf") 123 | script = ExtResource("4_ekpul") 124 | 125 | [node name="Quad Sprite" type="Panel" parent="VBoxContainer/GridContainer/Quad Panel"] 126 | unique_name_in_owner = true 127 | layout_mode = 1 128 | anchors_preset = 15 129 | anchor_right = 1.0 130 | anchor_bottom = 1.0 131 | grow_horizontal = 2 132 | grow_vertical = 2 133 | mouse_filter = 1 134 | theme_override_styles/panel = SubResource("StyleBoxFlat_bip68") 135 | 136 | [node name="Sprite2D" type="Sprite2D" parent="VBoxContainer/GridContainer/Quad Panel/Quad Sprite"] 137 | position = Vector2(287, 80) 138 | scale = Vector2(0.5, 0.5) 139 | texture = ExtResource("5_ns5am") 140 | 141 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quad Panel"] 142 | layout_mode = 1 143 | anchors_preset = 5 144 | anchor_left = 0.5 145 | anchor_right = 0.5 146 | offset_left = -287.0 147 | offset_right = 287.0 148 | offset_bottom = 48.0 149 | grow_horizontal = 2 150 | theme_override_font_sizes/font_size = 32 151 | text = "Quadratic" 152 | horizontal_alignment = 1 153 | 154 | [node name="Circ Panel" type="Panel" parent="VBoxContainer/GridContainer"] 155 | layout_mode = 2 156 | size_flags_horizontal = 3 157 | size_flags_vertical = 3 158 | theme_override_styles/panel = SubResource("StyleBoxFlat_y4ucf") 159 | script = ExtResource("4_ekpul") 160 | 161 | [node name="Circ Sprite" type="Panel" parent="VBoxContainer/GridContainer/Circ Panel"] 162 | unique_name_in_owner = true 163 | layout_mode = 1 164 | anchors_preset = 15 165 | anchor_right = 1.0 166 | anchor_bottom = 1.0 167 | grow_horizontal = 2 168 | grow_vertical = 2 169 | mouse_filter = 1 170 | theme_override_styles/panel = SubResource("StyleBoxFlat_bip68") 171 | 172 | [node name="Sprite2D" type="Sprite2D" parent="VBoxContainer/GridContainer/Circ Panel/Circ Sprite"] 173 | position = Vector2(287, 80) 174 | scale = Vector2(0.5, 0.5) 175 | texture = ExtResource("5_ns5am") 176 | 177 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Circ Panel"] 178 | layout_mode = 1 179 | anchors_preset = 5 180 | anchor_left = 0.5 181 | anchor_right = 0.5 182 | offset_left = -48.5 183 | offset_right = 48.5 184 | offset_bottom = 48.0 185 | grow_horizontal = 2 186 | theme_override_font_sizes/font_size = 32 187 | text = "Circular" 188 | horizontal_alignment = 1 189 | 190 | [node name="Cubic Panel" type="Panel" parent="VBoxContainer/GridContainer"] 191 | layout_mode = 2 192 | size_flags_horizontal = 3 193 | size_flags_vertical = 3 194 | theme_override_styles/panel = SubResource("StyleBoxFlat_y4ucf") 195 | script = ExtResource("4_ekpul") 196 | 197 | [node name="Cubic Sprite" type="Panel" parent="VBoxContainer/GridContainer/Cubic Panel"] 198 | unique_name_in_owner = true 199 | layout_mode = 1 200 | anchors_preset = 15 201 | anchor_right = 1.0 202 | anchor_bottom = 1.0 203 | grow_horizontal = 2 204 | grow_vertical = 2 205 | mouse_filter = 1 206 | theme_override_styles/panel = SubResource("StyleBoxFlat_bip68") 207 | 208 | [node name="Sprite2D" type="Sprite2D" parent="VBoxContainer/GridContainer/Cubic Panel/Cubic Sprite"] 209 | position = Vector2(287, 80) 210 | scale = Vector2(0.5, 0.5) 211 | texture = ExtResource("5_ns5am") 212 | 213 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Cubic Panel"] 214 | layout_mode = 1 215 | anchors_preset = 5 216 | anchor_left = 0.5 217 | anchor_right = 0.5 218 | offset_left = -42.5 219 | offset_right = 42.5 220 | offset_bottom = 48.0 221 | grow_horizontal = 2 222 | theme_override_font_sizes/font_size = 32 223 | text = "Cubic" 224 | horizontal_alignment = 1 225 | 226 | [node name="Elastic Panel" type="Panel" parent="VBoxContainer/GridContainer"] 227 | layout_mode = 2 228 | size_flags_horizontal = 3 229 | size_flags_vertical = 3 230 | theme_override_styles/panel = SubResource("StyleBoxFlat_y4ucf") 231 | script = ExtResource("4_ekpul") 232 | 233 | [node name="Elastic Sprite" type="Panel" parent="VBoxContainer/GridContainer/Elastic Panel"] 234 | unique_name_in_owner = true 235 | layout_mode = 1 236 | anchors_preset = 15 237 | anchor_right = 1.0 238 | anchor_bottom = 1.0 239 | grow_horizontal = 2 240 | grow_vertical = 2 241 | mouse_filter = 1 242 | theme_override_styles/panel = SubResource("StyleBoxFlat_bip68") 243 | 244 | [node name="Sprite2D" type="Sprite2D" parent="VBoxContainer/GridContainer/Elastic Panel/Elastic Sprite"] 245 | position = Vector2(287, 80) 246 | scale = Vector2(0.5, 0.5) 247 | texture = ExtResource("5_ns5am") 248 | 249 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Elastic Panel"] 250 | layout_mode = 1 251 | anchors_preset = 5 252 | anchor_left = 0.5 253 | anchor_right = 0.5 254 | offset_left = -50.0 255 | offset_right = 50.0 256 | offset_bottom = 48.0 257 | grow_horizontal = 2 258 | theme_override_font_sizes/font_size = 32 259 | text = "Elastic" 260 | horizontal_alignment = 1 261 | 262 | [node name="Quart Panel" type="Panel" parent="VBoxContainer/GridContainer"] 263 | layout_mode = 2 264 | size_flags_horizontal = 3 265 | size_flags_vertical = 3 266 | theme_override_styles/panel = SubResource("StyleBoxFlat_y4ucf") 267 | script = ExtResource("4_ekpul") 268 | 269 | [node name="Quart Sprite" type="Panel" parent="VBoxContainer/GridContainer/Quart Panel"] 270 | unique_name_in_owner = true 271 | layout_mode = 1 272 | anchors_preset = 15 273 | anchor_right = 1.0 274 | anchor_bottom = 1.0 275 | grow_horizontal = 2 276 | grow_vertical = 2 277 | mouse_filter = 1 278 | theme_override_styles/panel = SubResource("StyleBoxFlat_bip68") 279 | 280 | [node name="Sprite2D" type="Sprite2D" parent="VBoxContainer/GridContainer/Quart Panel/Quart Sprite"] 281 | position = Vector2(287, 80) 282 | scale = Vector2(0.5, 0.5) 283 | texture = ExtResource("5_ns5am") 284 | 285 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quart Panel"] 286 | layout_mode = 1 287 | anchors_preset = 5 288 | anchor_left = 0.5 289 | anchor_right = 0.5 290 | offset_left = -58.0 291 | offset_right = 58.0 292 | offset_bottom = 48.0 293 | grow_horizontal = 2 294 | theme_override_font_sizes/font_size = 32 295 | text = "Quartic" 296 | horizontal_alignment = 1 297 | 298 | [node name="Back Panel" type="Panel" parent="VBoxContainer/GridContainer"] 299 | layout_mode = 2 300 | size_flags_horizontal = 3 301 | size_flags_vertical = 3 302 | theme_override_styles/panel = SubResource("StyleBoxFlat_y4ucf") 303 | script = ExtResource("4_ekpul") 304 | 305 | [node name="Back Sprite" type="Panel" parent="VBoxContainer/GridContainer/Back Panel"] 306 | unique_name_in_owner = true 307 | layout_mode = 1 308 | anchors_preset = 15 309 | anchor_right = 1.0 310 | anchor_bottom = 1.0 311 | grow_horizontal = 2 312 | grow_vertical = 2 313 | mouse_filter = 1 314 | theme_override_styles/panel = SubResource("StyleBoxFlat_bip68") 315 | 316 | [node name="Sprite2D" type="Sprite2D" parent="VBoxContainer/GridContainer/Back Panel/Back Sprite"] 317 | position = Vector2(287, 80) 318 | scale = Vector2(0.5, 0.5) 319 | texture = ExtResource("5_ns5am") 320 | 321 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Back Panel"] 322 | layout_mode = 1 323 | anchors_preset = 5 324 | anchor_left = 0.5 325 | anchor_right = 0.5 326 | offset_left = -37.0 327 | offset_right = 37.0 328 | offset_bottom = 48.0 329 | grow_horizontal = 2 330 | theme_override_font_sizes/font_size = 32 331 | text = "Back" 332 | horizontal_alignment = 1 333 | 334 | [node name="Quint Panel" type="Panel" parent="VBoxContainer/GridContainer"] 335 | layout_mode = 2 336 | size_flags_horizontal = 3 337 | size_flags_vertical = 3 338 | theme_override_styles/panel = SubResource("StyleBoxFlat_y4ucf") 339 | script = ExtResource("4_ekpul") 340 | 341 | [node name="Quint Sprite" type="Panel" parent="VBoxContainer/GridContainer/Quint Panel"] 342 | unique_name_in_owner = true 343 | layout_mode = 1 344 | anchors_preset = 15 345 | anchor_right = 1.0 346 | anchor_bottom = 1.0 347 | grow_horizontal = 2 348 | grow_vertical = 2 349 | mouse_filter = 1 350 | theme_override_styles/panel = SubResource("StyleBoxFlat_bip68") 351 | 352 | [node name="Sprite2D" type="Sprite2D" parent="VBoxContainer/GridContainer/Quint Panel/Quint Sprite"] 353 | position = Vector2(287, 80) 354 | scale = Vector2(0.5, 0.5) 355 | texture = ExtResource("5_ns5am") 356 | 357 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quint Panel"] 358 | layout_mode = 1 359 | anchors_preset = 5 360 | anchor_left = 0.5 361 | anchor_right = 0.5 362 | offset_left = -56.0 363 | offset_right = 56.0 364 | offset_bottom = 48.0 365 | grow_horizontal = 2 366 | theme_override_font_sizes/font_size = 32 367 | text = "Quintic" 368 | horizontal_alignment = 1 369 | 370 | [node name="Spring Panel" type="Panel" parent="VBoxContainer/GridContainer"] 371 | layout_mode = 2 372 | size_flags_horizontal = 3 373 | size_flags_vertical = 3 374 | theme_override_styles/panel = SubResource("StyleBoxFlat_y4ucf") 375 | script = ExtResource("4_ekpul") 376 | 377 | [node name="Spring Sprite" type="Panel" parent="VBoxContainer/GridContainer/Spring Panel"] 378 | unique_name_in_owner = true 379 | layout_mode = 1 380 | anchors_preset = 15 381 | anchor_right = 1.0 382 | anchor_bottom = 1.0 383 | grow_horizontal = 2 384 | grow_vertical = 2 385 | mouse_filter = 1 386 | theme_override_styles/panel = SubResource("StyleBoxFlat_bip68") 387 | 388 | [node name="Sprite2D" type="Sprite2D" parent="VBoxContainer/GridContainer/Spring Panel/Spring Sprite"] 389 | position = Vector2(287, 80) 390 | scale = Vector2(0.5, 0.5) 391 | texture = ExtResource("5_ns5am") 392 | 393 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Spring Panel"] 394 | layout_mode = 1 395 | anchors_preset = 5 396 | anchor_left = 0.5 397 | anchor_right = 0.5 398 | offset_left = -56.0 399 | offset_right = 56.0 400 | offset_bottom = 48.0 401 | grow_horizontal = 2 402 | theme_override_font_sizes/font_size = 32 403 | text = "Spring" 404 | horizontal_alignment = 1 405 | 406 | [node name="Expo Panel" type="Panel" parent="VBoxContainer/GridContainer"] 407 | layout_mode = 2 408 | size_flags_horizontal = 3 409 | size_flags_vertical = 3 410 | theme_override_styles/panel = SubResource("StyleBoxFlat_y4ucf") 411 | script = ExtResource("4_ekpul") 412 | 413 | [node name="Expo Sprite" type="Panel" parent="VBoxContainer/GridContainer/Expo Panel"] 414 | unique_name_in_owner = true 415 | layout_mode = 1 416 | anchors_preset = 15 417 | anchor_right = 1.0 418 | anchor_bottom = 1.0 419 | grow_horizontal = 2 420 | grow_vertical = 2 421 | mouse_filter = 1 422 | theme_override_styles/panel = SubResource("StyleBoxFlat_bip68") 423 | 424 | [node name="Sprite2D" type="Sprite2D" parent="VBoxContainer/GridContainer/Expo Panel/Expo Sprite"] 425 | position = Vector2(287, 80) 426 | scale = Vector2(0.5, 0.5) 427 | texture = ExtResource("5_ns5am") 428 | 429 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Expo Panel"] 430 | layout_mode = 1 431 | anchors_preset = 5 432 | anchor_left = 0.5 433 | anchor_right = 0.5 434 | offset_left = -92.0 435 | offset_right = 92.0 436 | offset_bottom = 48.0 437 | grow_horizontal = 2 438 | theme_override_font_sizes/font_size = 32 439 | text = "Exponential" 440 | horizontal_alignment = 1 441 | 442 | [node name="Bounce Panel" type="Panel" parent="VBoxContainer/GridContainer"] 443 | layout_mode = 2 444 | size_flags_horizontal = 3 445 | size_flags_vertical = 3 446 | theme_override_styles/panel = SubResource("StyleBoxFlat_y4ucf") 447 | script = ExtResource("4_ekpul") 448 | 449 | [node name="Bounce Sprite" type="Panel" parent="VBoxContainer/GridContainer/Bounce Panel"] 450 | unique_name_in_owner = true 451 | layout_mode = 1 452 | anchors_preset = 15 453 | anchor_right = 1.0 454 | anchor_bottom = 1.0 455 | grow_horizontal = 2 456 | grow_vertical = 2 457 | mouse_filter = 1 458 | theme_override_styles/panel = SubResource("StyleBoxFlat_bip68") 459 | 460 | [node name="Sprite2D" type="Sprite2D" parent="VBoxContainer/GridContainer/Bounce Panel/Bounce Sprite"] 461 | position = Vector2(287, 80) 462 | scale = Vector2(0.5, 0.5) 463 | texture = ExtResource("5_ns5am") 464 | 465 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Bounce Panel"] 466 | layout_mode = 1 467 | anchors_preset = 5 468 | anchor_left = 0.5 469 | anchor_right = 0.5 470 | offset_left = -57.5 471 | offset_right = 57.5 472 | offset_bottom = 48.0 473 | grow_horizontal = 2 474 | theme_override_font_sizes/font_size = 32 475 | text = "Bounce" 476 | horizontal_alignment = 1 477 | 478 | [node name="Settings Panel" type="Panel" parent="VBoxContainer"] 479 | custom_minimum_size = Vector2(0, 40) 480 | layout_mode = 2 481 | 482 | [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/Settings Panel"] 483 | layout_mode = 1 484 | anchors_preset = 15 485 | anchor_right = 1.0 486 | anchor_bottom = 1.0 487 | grow_horizontal = 2 488 | grow_vertical = 2 489 | 490 | [node name="Scene Name" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer"] 491 | custom_minimum_size = Vector2(200, 0) 492 | layout_mode = 2 493 | text = "Screen Fading" 494 | horizontal_alignment = 1 495 | vertical_alignment = 1 496 | 497 | [node name="Time Settings" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 498 | layout_mode = 2 499 | 500 | [node name="Time Label" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 501 | layout_mode = 2 502 | text = "Time" 503 | horizontal_alignment = 1 504 | vertical_alignment = 1 505 | 506 | [node name="Time Spinbox" type="SpinBox" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 507 | unique_name_in_owner = true 508 | layout_mode = 2 509 | min_value = 0.1 510 | step = 0.1 511 | value = 1.0 512 | alignment = 1 513 | update_on_text_changed = true 514 | select_all_on_focus = true 515 | 516 | [node name="Time Slider" type="HSlider" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 517 | unique_name_in_owner = true 518 | custom_minimum_size = Vector2(150, 0) 519 | layout_mode = 2 520 | size_flags_vertical = 4 521 | min_value = 0.1 522 | max_value = 10.0 523 | step = 0.1 524 | value = 1.0 525 | 526 | [node name="Cooldown Settings" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 527 | layout_mode = 2 528 | 529 | [node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 530 | custom_minimum_size = Vector2(30, 0) 531 | layout_mode = 2 532 | 533 | [node name="Cooldown Label" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 534 | layout_mode = 2 535 | text = "Cooldown" 536 | horizontal_alignment = 1 537 | vertical_alignment = 1 538 | 539 | [node name="Cooldown Spinbox" type="SpinBox" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 540 | unique_name_in_owner = true 541 | layout_mode = 2 542 | step = 0.1 543 | value = 0.5 544 | alignment = 1 545 | update_on_text_changed = true 546 | select_all_on_focus = true 547 | 548 | [node name="Cooldown Slider" type="HSlider" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 549 | unique_name_in_owner = true 550 | custom_minimum_size = Vector2(150, 0) 551 | layout_mode = 2 552 | size_flags_vertical = 4 553 | max_value = 5.0 554 | step = 0.1 555 | value = 0.5 556 | 557 | [node name="EaseType Option" type="OptionButton" parent="VBoxContainer/Settings Panel/HBoxContainer"] 558 | unique_name_in_owner = true 559 | layout_mode = 2 560 | item_count = 4 561 | selected = 2 562 | popup/item_0/text = "Ease In" 563 | popup/item_0/id = 0 564 | popup/item_1/text = "Ease Out" 565 | popup/item_1/id = 1 566 | popup/item_2/text = "Ease In Out" 567 | popup/item_2/id = 2 568 | popup/item_3/text = "Ease Out In" 569 | popup/item_3/id = 3 570 | 571 | [node name="Scene Arrows" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 572 | layout_mode = 2 573 | size_flags_horizontal = 10 574 | script = ExtResource("6_idbot") 575 | prev_scene = "6_Sword" 576 | next_scene = "8_Camera" 577 | 578 | [node name="PrevScene Button" type="Button" parent="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows"] 579 | custom_minimum_size = Vector2(50, 0) 580 | layout_mode = 2 581 | text = "<" 582 | 583 | [node name="NextScene Button" type="Button" parent="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows"] 584 | custom_minimum_size = Vector2(50, 0) 585 | layout_mode = 2 586 | text = ">" 587 | 588 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Time Settings/Time Spinbox" to="." method="_on_time_changed"] 589 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Time Settings/Time Slider" to="." method="_on_time_changed"] 590 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings/Cooldown Spinbox" to="." method="_on_cooldown_changed"] 591 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings/Cooldown Slider" to="." method="_on_cooldown_changed"] 592 | [connection signal="item_selected" from="VBoxContainer/Settings Panel/HBoxContainer/EaseType Option" to="." method="_on_ease_type_option_item_selected"] 593 | [connection signal="pressed" from="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows/PrevScene Button" to="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows" method="_on_prev_scene_button_pressed"] 594 | [connection signal="pressed" from="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows/NextScene Button" to="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows" method="_on_next_scene_button_pressed"] 595 | -------------------------------------------------------------------------------- /Project/Scenes/8_Camera.tscn: -------------------------------------------------------------------------------- 1 | [gd_scene load_steps=9 format=3 uid="uid://drusup5tiyvxq"] 2 | 3 | [ext_resource type="Theme" uid="uid://dt4b5okf4yefr" path="res://Themes/DefaultTheme.tres" id="1_v808r"] 4 | [ext_resource type="Script" path="res://Scripts/SceneController.gd" id="2_bc5c0"] 5 | [ext_resource type="Script" path="res://Scripts/TweenResource.gd" id="3_qeoam"] 6 | [ext_resource type="Script" path="res://Scripts/PanelDisabler.gd" id="4_435pt"] 7 | [ext_resource type="PackedScene" uid="uid://dhmlcq7r2u0bi" path="res://Nodes/camera_world.tscn" id="5_x18tl"] 8 | [ext_resource type="Script" path="res://Scripts/SceneChanger.gd" id="6_g8lxn"] 9 | 10 | [sub_resource type="Resource" id="Resource_rbltn"] 11 | script = ExtResource("3_qeoam") 12 | tweened_property = "position:x" 13 | tween_from = 0.0 14 | tween_to = 414.0 15 | 16 | [sub_resource type="Resource" id="Resource_erelp"] 17 | script = ExtResource("3_qeoam") 18 | tweened_property = "position:y" 19 | tween_from = 0.0 20 | tween_to = -72.0 21 | 22 | [node name="Control" type="Control"] 23 | layout_mode = 3 24 | anchors_preset = 15 25 | anchor_right = 1.0 26 | anchor_bottom = 1.0 27 | grow_horizontal = 2 28 | grow_vertical = 2 29 | theme = ExtResource("1_v808r") 30 | script = ExtResource("2_bc5c0") 31 | tween_resources = Array[ExtResource("3_qeoam")]([SubResource("Resource_rbltn"), SubResource("Resource_erelp")]) 32 | 33 | [node name="VBoxContainer" type="VBoxContainer" parent="."] 34 | layout_mode = 1 35 | anchors_preset = 15 36 | anchor_right = 1.0 37 | anchor_bottom = 1.0 38 | grow_horizontal = 2 39 | grow_vertical = 2 40 | 41 | [node name="GridContainer" type="GridContainer" parent="VBoxContainer"] 42 | layout_mode = 2 43 | size_flags_vertical = 3 44 | columns = 2 45 | 46 | [node name="Linear Panel" type="Panel" parent="VBoxContainer/GridContainer"] 47 | layout_mode = 2 48 | size_flags_horizontal = 3 49 | size_flags_vertical = 3 50 | script = ExtResource("4_435pt") 51 | 52 | [node name="SubViewportContainer" type="SubViewportContainer" parent="VBoxContainer/GridContainer/Linear Panel"] 53 | layout_mode = 1 54 | anchors_preset = 15 55 | anchor_right = 1.0 56 | anchor_bottom = 1.0 57 | grow_horizontal = 2 58 | grow_vertical = 2 59 | stretch = true 60 | 61 | [node name="SubViewport" type="SubViewport" parent="VBoxContainer/GridContainer/Linear Panel/SubViewportContainer"] 62 | handle_input_locally = false 63 | size = Vector2i(574, 122) 64 | render_target_update_mode = 4 65 | 66 | [node name="Camera_World" parent="VBoxContainer/GridContainer/Linear Panel/SubViewportContainer/SubViewport" instance=ExtResource("5_x18tl")] 67 | position = Vector2(0, 0) 68 | 69 | [node name="Linear Sprite" type="Camera2D" parent="VBoxContainer/GridContainer/Linear Panel/SubViewportContainer/SubViewport"] 70 | unique_name_in_owner = true 71 | 72 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Linear Panel"] 73 | layout_mode = 1 74 | anchors_preset = 5 75 | anchor_left = 0.5 76 | anchor_right = 0.5 77 | offset_left = -20.0 78 | offset_right = 20.0 79 | offset_bottom = 23.0 80 | grow_horizontal = 2 81 | theme_override_font_sizes/font_size = 32 82 | text = "Linear" 83 | horizontal_alignment = 1 84 | 85 | [node name="Sine Panel" type="Panel" parent="VBoxContainer/GridContainer"] 86 | layout_mode = 2 87 | size_flags_horizontal = 3 88 | size_flags_vertical = 3 89 | script = ExtResource("4_435pt") 90 | 91 | [node name="SubViewportContainer" type="SubViewportContainer" parent="VBoxContainer/GridContainer/Sine Panel"] 92 | layout_mode = 1 93 | anchors_preset = 15 94 | anchor_right = 1.0 95 | anchor_bottom = 1.0 96 | grow_horizontal = 2 97 | grow_vertical = 2 98 | stretch = true 99 | 100 | [node name="SubViewport" type="SubViewport" parent="VBoxContainer/GridContainer/Sine Panel/SubViewportContainer"] 101 | handle_input_locally = false 102 | size = Vector2i(574, 122) 103 | render_target_update_mode = 4 104 | 105 | [node name="Camera_World" parent="VBoxContainer/GridContainer/Sine Panel/SubViewportContainer/SubViewport" instance=ExtResource("5_x18tl")] 106 | position = Vector2(0, 0) 107 | 108 | [node name="Sine Sprite" type="Camera2D" parent="VBoxContainer/GridContainer/Sine Panel/SubViewportContainer/SubViewport"] 109 | unique_name_in_owner = true 110 | 111 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Sine Panel"] 112 | layout_mode = 1 113 | anchors_preset = 5 114 | anchor_left = 0.5 115 | anchor_right = 0.5 116 | offset_left = -20.0 117 | offset_right = 20.0 118 | offset_bottom = 23.0 119 | grow_horizontal = 2 120 | theme_override_font_sizes/font_size = 32 121 | text = "Sine" 122 | horizontal_alignment = 1 123 | 124 | [node name="Quad Panel" type="Panel" parent="VBoxContainer/GridContainer"] 125 | layout_mode = 2 126 | size_flags_horizontal = 3 127 | size_flags_vertical = 3 128 | script = ExtResource("4_435pt") 129 | 130 | [node name="SubViewportContainer" type="SubViewportContainer" parent="VBoxContainer/GridContainer/Quad Panel"] 131 | layout_mode = 1 132 | anchors_preset = 15 133 | anchor_right = 1.0 134 | anchor_bottom = 1.0 135 | grow_horizontal = 2 136 | grow_vertical = 2 137 | stretch = true 138 | 139 | [node name="SubViewport" type="SubViewport" parent="VBoxContainer/GridContainer/Quad Panel/SubViewportContainer"] 140 | handle_input_locally = false 141 | size = Vector2i(574, 122) 142 | render_target_update_mode = 4 143 | 144 | [node name="Camera_World" parent="VBoxContainer/GridContainer/Quad Panel/SubViewportContainer/SubViewport" instance=ExtResource("5_x18tl")] 145 | position = Vector2(0, 0) 146 | 147 | [node name="Quad Sprite" type="Camera2D" parent="VBoxContainer/GridContainer/Quad Panel/SubViewportContainer/SubViewport"] 148 | unique_name_in_owner = true 149 | 150 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quad Panel"] 151 | layout_mode = 1 152 | anchors_preset = 5 153 | anchor_left = 0.5 154 | anchor_right = 0.5 155 | offset_left = -20.0 156 | offset_right = 20.0 157 | offset_bottom = 23.0 158 | grow_horizontal = 2 159 | theme_override_font_sizes/font_size = 32 160 | text = "Quadratic" 161 | horizontal_alignment = 1 162 | 163 | [node name="Circ Panel" type="Panel" parent="VBoxContainer/GridContainer"] 164 | editor_description = "There was no space for the 11th transition type, so it's in a separate expandable panel that's hidden by default." 165 | layout_mode = 2 166 | size_flags_horizontal = 3 167 | size_flags_vertical = 3 168 | script = ExtResource("4_435pt") 169 | 170 | [node name="SubViewportContainer" type="SubViewportContainer" parent="VBoxContainer/GridContainer/Circ Panel"] 171 | layout_mode = 1 172 | anchors_preset = 15 173 | anchor_right = 1.0 174 | anchor_bottom = 1.0 175 | grow_horizontal = 2 176 | grow_vertical = 2 177 | stretch = true 178 | 179 | [node name="SubViewport" type="SubViewport" parent="VBoxContainer/GridContainer/Circ Panel/SubViewportContainer"] 180 | handle_input_locally = false 181 | size = Vector2i(574, 122) 182 | render_target_update_mode = 4 183 | 184 | [node name="Camera_World" parent="VBoxContainer/GridContainer/Circ Panel/SubViewportContainer/SubViewport" instance=ExtResource("5_x18tl")] 185 | position = Vector2(0, 0) 186 | 187 | [node name="Circ Sprite" type="Camera2D" parent="VBoxContainer/GridContainer/Circ Panel/SubViewportContainer/SubViewport"] 188 | unique_name_in_owner = true 189 | 190 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Circ Panel"] 191 | layout_mode = 1 192 | anchors_preset = 5 193 | anchor_left = 0.5 194 | anchor_right = 0.5 195 | offset_left = -20.0 196 | offset_right = 20.0 197 | offset_bottom = 23.0 198 | grow_horizontal = 2 199 | theme_override_font_sizes/font_size = 32 200 | text = "Circular" 201 | horizontal_alignment = 1 202 | 203 | [node name="Cubic Panel" type="Panel" parent="VBoxContainer/GridContainer"] 204 | layout_mode = 2 205 | size_flags_horizontal = 3 206 | size_flags_vertical = 3 207 | script = ExtResource("4_435pt") 208 | 209 | [node name="SubViewportContainer" type="SubViewportContainer" parent="VBoxContainer/GridContainer/Cubic Panel"] 210 | layout_mode = 1 211 | anchors_preset = 15 212 | anchor_right = 1.0 213 | anchor_bottom = 1.0 214 | grow_horizontal = 2 215 | grow_vertical = 2 216 | stretch = true 217 | 218 | [node name="SubViewport" type="SubViewport" parent="VBoxContainer/GridContainer/Cubic Panel/SubViewportContainer"] 219 | handle_input_locally = false 220 | size = Vector2i(574, 121) 221 | render_target_update_mode = 4 222 | 223 | [node name="Camera_World" parent="VBoxContainer/GridContainer/Cubic Panel/SubViewportContainer/SubViewport" instance=ExtResource("5_x18tl")] 224 | position = Vector2(0, 0) 225 | 226 | [node name="Cubic Sprite" type="Camera2D" parent="VBoxContainer/GridContainer/Cubic Panel/SubViewportContainer/SubViewport"] 227 | unique_name_in_owner = true 228 | 229 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Cubic Panel"] 230 | layout_mode = 1 231 | anchors_preset = 5 232 | anchor_left = 0.5 233 | anchor_right = 0.5 234 | offset_left = -20.0 235 | offset_right = 20.0 236 | offset_bottom = 23.0 237 | grow_horizontal = 2 238 | theme_override_font_sizes/font_size = 32 239 | text = "Cubic" 240 | horizontal_alignment = 1 241 | 242 | [node name="Elastic Panel" type="Panel" parent="VBoxContainer/GridContainer"] 243 | layout_mode = 2 244 | size_flags_horizontal = 3 245 | size_flags_vertical = 3 246 | script = ExtResource("4_435pt") 247 | 248 | [node name="SubViewportContainer" type="SubViewportContainer" parent="VBoxContainer/GridContainer/Elastic Panel"] 249 | layout_mode = 1 250 | anchors_preset = 15 251 | anchor_right = 1.0 252 | anchor_bottom = 1.0 253 | grow_horizontal = 2 254 | grow_vertical = 2 255 | stretch = true 256 | 257 | [node name="SubViewport" type="SubViewport" parent="VBoxContainer/GridContainer/Elastic Panel/SubViewportContainer"] 258 | handle_input_locally = false 259 | size = Vector2i(574, 121) 260 | render_target_update_mode = 4 261 | 262 | [node name="Camera_World" parent="VBoxContainer/GridContainer/Elastic Panel/SubViewportContainer/SubViewport" instance=ExtResource("5_x18tl")] 263 | position = Vector2(0, 0) 264 | 265 | [node name="Elastic Sprite" type="Camera2D" parent="VBoxContainer/GridContainer/Elastic Panel/SubViewportContainer/SubViewport"] 266 | unique_name_in_owner = true 267 | 268 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Elastic Panel"] 269 | layout_mode = 1 270 | anchors_preset = 5 271 | anchor_left = 0.5 272 | anchor_right = 0.5 273 | offset_left = -20.0 274 | offset_right = 20.0 275 | offset_bottom = 23.0 276 | grow_horizontal = 2 277 | theme_override_font_sizes/font_size = 32 278 | text = "Elastic" 279 | horizontal_alignment = 1 280 | 281 | [node name="Quart Panel" type="Panel" parent="VBoxContainer/GridContainer"] 282 | layout_mode = 2 283 | size_flags_horizontal = 3 284 | size_flags_vertical = 3 285 | script = ExtResource("4_435pt") 286 | 287 | [node name="SubViewportContainer" type="SubViewportContainer" parent="VBoxContainer/GridContainer/Quart Panel"] 288 | layout_mode = 1 289 | anchors_preset = 15 290 | anchor_right = 1.0 291 | anchor_bottom = 1.0 292 | grow_horizontal = 2 293 | grow_vertical = 2 294 | stretch = true 295 | 296 | [node name="SubViewport" type="SubViewport" parent="VBoxContainer/GridContainer/Quart Panel/SubViewportContainer"] 297 | handle_input_locally = false 298 | size = Vector2i(574, 121) 299 | render_target_update_mode = 4 300 | 301 | [node name="Camera_World" parent="VBoxContainer/GridContainer/Quart Panel/SubViewportContainer/SubViewport" instance=ExtResource("5_x18tl")] 302 | position = Vector2(0, 0) 303 | 304 | [node name="Quart Sprite" type="Camera2D" parent="VBoxContainer/GridContainer/Quart Panel/SubViewportContainer/SubViewport"] 305 | unique_name_in_owner = true 306 | 307 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quart Panel"] 308 | layout_mode = 1 309 | anchors_preset = 5 310 | anchor_left = 0.5 311 | anchor_right = 0.5 312 | offset_left = -20.0 313 | offset_right = 20.0 314 | offset_bottom = 23.0 315 | grow_horizontal = 2 316 | theme_override_font_sizes/font_size = 32 317 | text = "Quartic" 318 | horizontal_alignment = 1 319 | 320 | [node name="Back Panel" type="Panel" parent="VBoxContainer/GridContainer"] 321 | layout_mode = 2 322 | size_flags_horizontal = 3 323 | size_flags_vertical = 3 324 | script = ExtResource("4_435pt") 325 | 326 | [node name="SubViewportContainer" type="SubViewportContainer" parent="VBoxContainer/GridContainer/Back Panel"] 327 | layout_mode = 1 328 | anchors_preset = 15 329 | anchor_right = 1.0 330 | anchor_bottom = 1.0 331 | grow_horizontal = 2 332 | grow_vertical = 2 333 | stretch = true 334 | 335 | [node name="SubViewport" type="SubViewport" parent="VBoxContainer/GridContainer/Back Panel/SubViewportContainer"] 336 | handle_input_locally = false 337 | size = Vector2i(574, 121) 338 | render_target_update_mode = 4 339 | 340 | [node name="Camera_World" parent="VBoxContainer/GridContainer/Back Panel/SubViewportContainer/SubViewport" instance=ExtResource("5_x18tl")] 341 | position = Vector2(0, 0) 342 | 343 | [node name="Back Sprite" type="Camera2D" parent="VBoxContainer/GridContainer/Back Panel/SubViewportContainer/SubViewport"] 344 | unique_name_in_owner = true 345 | 346 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Back Panel"] 347 | layout_mode = 1 348 | anchors_preset = 5 349 | anchor_left = 0.5 350 | anchor_right = 0.5 351 | offset_left = -20.0 352 | offset_right = 20.0 353 | offset_bottom = 23.0 354 | grow_horizontal = 2 355 | theme_override_font_sizes/font_size = 32 356 | text = "Back" 357 | horizontal_alignment = 1 358 | 359 | [node name="Quint Panel" type="Panel" parent="VBoxContainer/GridContainer"] 360 | layout_mode = 2 361 | size_flags_horizontal = 3 362 | size_flags_vertical = 3 363 | script = ExtResource("4_435pt") 364 | 365 | [node name="SubViewportContainer" type="SubViewportContainer" parent="VBoxContainer/GridContainer/Quint Panel"] 366 | layout_mode = 1 367 | anchors_preset = 15 368 | anchor_right = 1.0 369 | anchor_bottom = 1.0 370 | grow_horizontal = 2 371 | grow_vertical = 2 372 | stretch = true 373 | 374 | [node name="SubViewport" type="SubViewport" parent="VBoxContainer/GridContainer/Quint Panel/SubViewportContainer"] 375 | handle_input_locally = false 376 | size = Vector2i(574, 121) 377 | render_target_update_mode = 4 378 | 379 | [node name="Camera_World" parent="VBoxContainer/GridContainer/Quint Panel/SubViewportContainer/SubViewport" instance=ExtResource("5_x18tl")] 380 | position = Vector2(0, 0) 381 | 382 | [node name="Quint Sprite" type="Camera2D" parent="VBoxContainer/GridContainer/Quint Panel/SubViewportContainer/SubViewport"] 383 | unique_name_in_owner = true 384 | 385 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Quint Panel"] 386 | layout_mode = 1 387 | anchors_preset = 5 388 | anchor_left = 0.5 389 | anchor_right = 0.5 390 | offset_left = -20.0 391 | offset_right = 20.0 392 | offset_bottom = 23.0 393 | grow_horizontal = 2 394 | theme_override_font_sizes/font_size = 32 395 | text = "Quintic" 396 | horizontal_alignment = 1 397 | 398 | [node name="Spring Panel" type="Panel" parent="VBoxContainer/GridContainer"] 399 | layout_mode = 2 400 | size_flags_horizontal = 3 401 | size_flags_vertical = 3 402 | script = ExtResource("4_435pt") 403 | 404 | [node name="SubViewportContainer" type="SubViewportContainer" parent="VBoxContainer/GridContainer/Spring Panel"] 405 | layout_mode = 1 406 | anchors_preset = 15 407 | anchor_right = 1.0 408 | anchor_bottom = 1.0 409 | grow_horizontal = 2 410 | grow_vertical = 2 411 | stretch = true 412 | 413 | [node name="SubViewport" type="SubViewport" parent="VBoxContainer/GridContainer/Spring Panel/SubViewportContainer"] 414 | handle_input_locally = false 415 | size = Vector2i(574, 121) 416 | render_target_update_mode = 4 417 | 418 | [node name="Camera_World" parent="VBoxContainer/GridContainer/Spring Panel/SubViewportContainer/SubViewport" instance=ExtResource("5_x18tl")] 419 | position = Vector2(0, 0) 420 | 421 | [node name="Spring Sprite" type="Camera2D" parent="VBoxContainer/GridContainer/Spring Panel/SubViewportContainer/SubViewport"] 422 | unique_name_in_owner = true 423 | 424 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Spring Panel"] 425 | layout_mode = 1 426 | anchors_preset = 5 427 | anchor_left = 0.5 428 | anchor_right = 0.5 429 | offset_left = -20.0 430 | offset_right = 20.0 431 | offset_bottom = 23.0 432 | grow_horizontal = 2 433 | theme_override_font_sizes/font_size = 32 434 | text = "Spring" 435 | horizontal_alignment = 1 436 | 437 | [node name="Expo Panel" type="Panel" parent="VBoxContainer/GridContainer"] 438 | layout_mode = 2 439 | size_flags_horizontal = 3 440 | size_flags_vertical = 3 441 | script = ExtResource("4_435pt") 442 | 443 | [node name="SubViewportContainer" type="SubViewportContainer" parent="VBoxContainer/GridContainer/Expo Panel"] 444 | layout_mode = 1 445 | anchors_preset = 15 446 | anchor_right = 1.0 447 | anchor_bottom = 1.0 448 | grow_horizontal = 2 449 | grow_vertical = 2 450 | stretch = true 451 | 452 | [node name="SubViewport" type="SubViewport" parent="VBoxContainer/GridContainer/Expo Panel/SubViewportContainer"] 453 | handle_input_locally = false 454 | size = Vector2i(574, 121) 455 | render_target_update_mode = 4 456 | 457 | [node name="Camera_World" parent="VBoxContainer/GridContainer/Expo Panel/SubViewportContainer/SubViewport" instance=ExtResource("5_x18tl")] 458 | position = Vector2(0, 0) 459 | 460 | [node name="Expo Sprite" type="Camera2D" parent="VBoxContainer/GridContainer/Expo Panel/SubViewportContainer/SubViewport"] 461 | unique_name_in_owner = true 462 | 463 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Expo Panel"] 464 | layout_mode = 1 465 | anchors_preset = 5 466 | anchor_left = 0.5 467 | anchor_right = 0.5 468 | offset_left = -20.0 469 | offset_right = 20.0 470 | offset_bottom = 23.0 471 | grow_horizontal = 2 472 | theme_override_font_sizes/font_size = 32 473 | text = "Exponential" 474 | horizontal_alignment = 1 475 | 476 | [node name="Bounce Panel" type="Panel" parent="VBoxContainer/GridContainer"] 477 | layout_mode = 2 478 | size_flags_horizontal = 3 479 | size_flags_vertical = 3 480 | script = ExtResource("4_435pt") 481 | 482 | [node name="SubViewportContainer" type="SubViewportContainer" parent="VBoxContainer/GridContainer/Bounce Panel"] 483 | layout_mode = 1 484 | anchors_preset = 15 485 | anchor_right = 1.0 486 | anchor_bottom = 1.0 487 | grow_horizontal = 2 488 | grow_vertical = 2 489 | stretch = true 490 | 491 | [node name="SubViewport" type="SubViewport" parent="VBoxContainer/GridContainer/Bounce Panel/SubViewportContainer"] 492 | handle_input_locally = false 493 | size = Vector2i(574, 121) 494 | render_target_update_mode = 4 495 | 496 | [node name="Camera_World" parent="VBoxContainer/GridContainer/Bounce Panel/SubViewportContainer/SubViewport" instance=ExtResource("5_x18tl")] 497 | position = Vector2(0, 0) 498 | 499 | [node name="Bounce Sprite" type="Camera2D" parent="VBoxContainer/GridContainer/Bounce Panel/SubViewportContainer/SubViewport"] 500 | unique_name_in_owner = true 501 | 502 | [node name="Transition Name" type="Label" parent="VBoxContainer/GridContainer/Bounce Panel"] 503 | layout_mode = 1 504 | anchors_preset = 5 505 | anchor_left = 0.5 506 | anchor_right = 0.5 507 | offset_left = -20.0 508 | offset_right = 20.0 509 | offset_bottom = 23.0 510 | grow_horizontal = 2 511 | theme_override_font_sizes/font_size = 32 512 | text = "Bounce" 513 | horizontal_alignment = 1 514 | 515 | [node name="Settings Panel" type="Panel" parent="VBoxContainer"] 516 | custom_minimum_size = Vector2(0, 40) 517 | layout_mode = 2 518 | 519 | [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/Settings Panel"] 520 | layout_mode = 1 521 | anchors_preset = 15 522 | anchor_right = 1.0 523 | anchor_bottom = 1.0 524 | grow_horizontal = 2 525 | grow_vertical = 2 526 | 527 | [node name="Scene Name" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer"] 528 | custom_minimum_size = Vector2(200, 0) 529 | layout_mode = 2 530 | text = "Camera Movement" 531 | horizontal_alignment = 1 532 | vertical_alignment = 1 533 | 534 | [node name="Time Settings" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 535 | layout_mode = 2 536 | 537 | [node name="Time Label" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 538 | layout_mode = 2 539 | text = "Time" 540 | horizontal_alignment = 1 541 | vertical_alignment = 1 542 | 543 | [node name="Time Spinbox" type="SpinBox" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 544 | unique_name_in_owner = true 545 | layout_mode = 2 546 | min_value = 0.1 547 | step = 0.1 548 | value = 1.0 549 | alignment = 1 550 | update_on_text_changed = true 551 | select_all_on_focus = true 552 | 553 | [node name="Time Slider" type="HSlider" parent="VBoxContainer/Settings Panel/HBoxContainer/Time Settings"] 554 | unique_name_in_owner = true 555 | custom_minimum_size = Vector2(150, 0) 556 | layout_mode = 2 557 | size_flags_vertical = 4 558 | min_value = 0.1 559 | max_value = 10.0 560 | step = 0.1 561 | value = 1.0 562 | 563 | [node name="Cooldown Settings" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 564 | layout_mode = 2 565 | 566 | [node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 567 | custom_minimum_size = Vector2(30, 0) 568 | layout_mode = 2 569 | 570 | [node name="Cooldown Label" type="Label" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 571 | layout_mode = 2 572 | text = "Cooldown" 573 | horizontal_alignment = 1 574 | vertical_alignment = 1 575 | 576 | [node name="Cooldown Spinbox" type="SpinBox" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 577 | unique_name_in_owner = true 578 | layout_mode = 2 579 | step = 0.1 580 | value = 0.5 581 | alignment = 1 582 | update_on_text_changed = true 583 | select_all_on_focus = true 584 | 585 | [node name="Cooldown Slider" type="HSlider" parent="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings"] 586 | unique_name_in_owner = true 587 | custom_minimum_size = Vector2(150, 0) 588 | layout_mode = 2 589 | size_flags_vertical = 4 590 | max_value = 5.0 591 | step = 0.1 592 | value = 0.5 593 | 594 | [node name="EaseType Option" type="OptionButton" parent="VBoxContainer/Settings Panel/HBoxContainer"] 595 | unique_name_in_owner = true 596 | layout_mode = 2 597 | item_count = 4 598 | selected = 2 599 | popup/item_0/text = "Ease In" 600 | popup/item_0/id = 0 601 | popup/item_1/text = "Ease Out" 602 | popup/item_1/id = 1 603 | popup/item_2/text = "Ease In Out" 604 | popup/item_2/id = 2 605 | popup/item_3/text = "Ease Out In" 606 | popup/item_3/id = 3 607 | 608 | [node name="Scene Arrows" type="HBoxContainer" parent="VBoxContainer/Settings Panel/HBoxContainer"] 609 | layout_mode = 2 610 | size_flags_horizontal = 10 611 | script = ExtResource("6_g8lxn") 612 | prev_scene = "7_Fading" 613 | 614 | [node name="PrevScene Button" type="Button" parent="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows"] 615 | custom_minimum_size = Vector2(50, 0) 616 | layout_mode = 2 617 | text = "<" 618 | 619 | [node name="NextScene Button" type="Button" parent="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows"] 620 | custom_minimum_size = Vector2(50, 0) 621 | layout_mode = 2 622 | text = ">" 623 | 624 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Time Settings/Time Spinbox" to="." method="_on_time_changed"] 625 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Time Settings/Time Slider" to="." method="_on_time_changed"] 626 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings/Cooldown Spinbox" to="." method="_on_cooldown_changed"] 627 | [connection signal="value_changed" from="VBoxContainer/Settings Panel/HBoxContainer/Cooldown Settings/Cooldown Slider" to="." method="_on_cooldown_changed"] 628 | [connection signal="item_selected" from="VBoxContainer/Settings Panel/HBoxContainer/EaseType Option" to="." method="_on_ease_type_option_item_selected"] 629 | [connection signal="pressed" from="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows/PrevScene Button" to="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows" method="_on_prev_scene_button_pressed"] 630 | [connection signal="pressed" from="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows/NextScene Button" to="VBoxContainer/Settings Panel/HBoxContainer/Scene Arrows" method="_on_next_scene_button_pressed"] 631 | -------------------------------------------------------------------------------- /Project/Scripts/FlashOnTouch.gd: -------------------------------------------------------------------------------- 1 | extends Sprite2D 2 | 3 | ## Used in skeletons in the sword animation scene 4 | 5 | @onready var area2d = $"Area2D" 6 | 7 | func _ready(): 8 | area2d.connect("area_entered", _on_area_entered) 9 | area2d.connect("area_exited", _on_area_exit) 10 | 11 | func _on_area_entered(_area: Area2D): 12 | modulate = Color8(255, 128, 128, modulate.a8) 13 | 14 | func _on_area_exit(_area: Area2D): 15 | modulate = Color8(255, 255, 255, modulate.a8) 16 | -------------------------------------------------------------------------------- /Project/Scripts/PanelDisabler.gd: -------------------------------------------------------------------------------- 1 | extends Panel 2 | 3 | ## This script handles the disabling of panels on left click 4 | 5 | var disabled: bool = false 6 | var disabled_label: PackedScene = preload("res://Nodes/disabled_label.tscn") 7 | 8 | var panel_index: int = -1 9 | 10 | func _ready(): 11 | # This is definitely not optimized but it's only 12 panels so who cares lol 12 | for i in range(11): 13 | if get_parent().get_child(i) == self: 14 | panel_index = i 15 | break 16 | 17 | if tween_controller.get_tween_disabled(panel_index): 18 | toggle_disabled() 19 | 20 | gui_input.connect(_on_gui_input) 21 | mouse_entered.connect(_on_mouse_entered) 22 | mouse_exited.connect(_on_mouse_exited) 23 | 24 | func _unhandled_input(event): 25 | if event is InputEventKey and event.is_pressed() and event.keycode == KEY_UP: 26 | enable_panel() 27 | modulate = Color8(255, 255, 255) 28 | disabled = false 29 | tween_controller.set_tween_disabled(false, panel_index) 30 | elif event is InputEventKey and event.is_pressed() and event.keycode == KEY_DOWN: 31 | disable_panel() 32 | disabled = true 33 | tween_controller.set_tween_disabled(true, panel_index) 34 | 35 | func _on_gui_input(event: InputEvent): 36 | if event is InputEventMouseButton and event.is_pressed() and event.button_index == 1: 37 | toggle_disabled() 38 | 39 | func _on_mouse_entered(): 40 | if !disabled: 41 | modulate = Color8(300, 300, 300) 42 | 43 | func _on_mouse_exited(): 44 | if !disabled: 45 | modulate = Color8(255, 255, 255) 46 | 47 | func toggle_disabled(): 48 | if !disabled: 49 | disable_panel() 50 | else: 51 | enable_panel() 52 | modulate = Color8(300, 300, 300) # Since mouse is still over the panel 53 | 54 | disabled = !disabled 55 | tween_controller.set_tween_disabled(disabled, panel_index) 56 | 57 | func disable_panel(): 58 | modulate = Color8(200, 200, 200) 59 | if (not has_node("Disabled Label")): 60 | var label: Label = disabled_label.instantiate() 61 | add_child(label) 62 | for child in get_children(): 63 | if not (child is Label or child is Button): 64 | child.visibility_layer = 0 65 | 66 | func enable_panel(): 67 | if (has_node("Disabled Label")): 68 | $"Disabled Label".queue_free() 69 | for child in get_children(): 70 | if not child is Label: 71 | child.visibility_layer = 1 72 | -------------------------------------------------------------------------------- /Project/Scripts/SceneChanger.gd: -------------------------------------------------------------------------------- 1 | extends HBoxContainer 2 | 3 | ## This script handles changing to different scenes 4 | 5 | @export var prev_scene: String 6 | @export var next_scene: String 7 | 8 | func _ready(): 9 | if prev_scene.is_empty(): 10 | $"PrevScene Button".disabled = true 11 | if next_scene.is_empty(): 12 | $"NextScene Button".disabled = true 13 | 14 | func _process(_delta): 15 | if Input.is_action_just_pressed("ui_left") and not prev_scene.is_empty(): 16 | _on_prev_scene_button_pressed() 17 | elif Input.is_action_just_pressed("ui_right") and not next_scene.is_empty(): 18 | _on_next_scene_button_pressed() 19 | 20 | func _on_prev_scene_button_pressed(): 21 | get_tree().change_scene_to_file("res://Scenes/" + prev_scene + ".tscn") 22 | 23 | func _on_next_scene_button_pressed(): 24 | get_tree().change_scene_to_file("res://Scenes/" + next_scene + ".tscn") 25 | -------------------------------------------------------------------------------- /Project/Scripts/SceneController.gd: -------------------------------------------------------------------------------- 1 | extends Control 2 | 3 | ## This script is in the root control node of every scene. 4 | ## It handles all the tweening and setting buttons. 5 | 6 | @onready var linear_sprite = %"Linear Sprite" 7 | @onready var sine_sprite = %"Sine Sprite" 8 | @onready var quad_sprite = %"Quad Sprite" 9 | @onready var cubic_sprite = %"Cubic Sprite" 10 | @onready var quart_sprite = %"Quart Sprite" 11 | @onready var quint_sprite = %"Quint Sprite" 12 | @onready var expo_sprite = %"Expo Sprite" 13 | @onready var elastic_sprite = %"Elastic Sprite" 14 | @onready var bounce_sprite = %"Bounce Sprite" 15 | @onready var back_sprite = %"Back Sprite" 16 | @onready var circ_sprite = %"Circ Sprite" 17 | @onready var spring_sprite = %"Spring Sprite" 18 | 19 | @onready var time_spinbox: SpinBox = %"Time Spinbox" 20 | @onready var time_slider: Slider = %"Time Slider" 21 | @onready var cooldown_spinbox: SpinBox = %"Cooldown Spinbox" 22 | @onready var cooldown_slider: Slider = %"Cooldown Slider" 23 | @onready var easetype_option: OptionButton = %"EaseType Option" 24 | 25 | # An array of the custom resource that makes it easier to tween properties 26 | @export var tween_resources: Array[TweenResource] 27 | 28 | var cycle = true 29 | 30 | func _ready(): 31 | tween_controller.begin_tween.connect(activate_tweens) 32 | tween_controller.reset() 33 | 34 | # update settings 35 | time_spinbox.value = tween_controller.get_time() 36 | time_slider.value = tween_controller.get_time() 37 | cooldown_spinbox.value = tween_controller.get_cooldown() 38 | cooldown_slider.value = tween_controller.get_cooldown() 39 | 40 | var current_ease: Tween.EaseType = tween_controller.get_ease() 41 | match current_ease: 42 | Tween.EASE_IN: easetype_option.select(0) 43 | Tween.EASE_OUT: easetype_option.select(1) 44 | Tween.EASE_IN_OUT: easetype_option.select(2) 45 | Tween.EASE_OUT_IN: easetype_option.select(3) 46 | 47 | func _process(_delta): 48 | if Input.is_action_just_pressed("increase_cooldown"): 49 | _on_cooldown_changed(tween_controller.get_cooldown() + 0.1) 50 | elif Input.is_action_just_pressed("reduce_cooldown"): 51 | _on_cooldown_changed(tween_controller.get_cooldown() - 0.1) 52 | elif Input.is_action_just_pressed("increase_time"): 53 | _on_time_changed(tween_controller.get_time() + 0.2) 54 | elif Input.is_action_just_pressed("reduce_time"): 55 | _on_time_changed(tween_controller.get_time() - 0.2) 56 | elif Input.is_action_just_pressed("next_ease"): 57 | match tween_controller.get_ease(): 58 | Tween.EASE_IN: _on_ease_type_option_item_selected(1) 59 | Tween.EASE_OUT: _on_ease_type_option_item_selected(2) 60 | Tween.EASE_IN_OUT: _on_ease_type_option_item_selected(3) 61 | Tween.EASE_OUT_IN: _on_ease_type_option_item_selected(0) 62 | 63 | func activate_tweens(time: float, ease_type: Tween.EaseType): 64 | var tween: Tween = get_tree().create_tween() 65 | tween.set_parallel(true) 66 | tween.set_ease(ease_type) 67 | 68 | for tween_info in tween_resources: 69 | if cycle: 70 | tween.tween_property(linear_sprite, tween_info.tweened_property, tween_info.tween_to, time).set_trans(Tween.TRANS_LINEAR) 71 | tween.tween_property(sine_sprite, tween_info.tweened_property, tween_info.tween_to, time).set_trans(Tween.TRANS_SINE) 72 | tween.tween_property(quad_sprite, tween_info.tweened_property, tween_info.tween_to, time).set_trans(Tween.TRANS_QUAD) 73 | tween.tween_property(cubic_sprite, tween_info.tweened_property, tween_info.tween_to, time).set_trans(Tween.TRANS_CUBIC) 74 | tween.tween_property(quart_sprite, tween_info.tweened_property, tween_info.tween_to, time).set_trans(Tween.TRANS_QUART) 75 | tween.tween_property(quint_sprite, tween_info.tweened_property, tween_info.tween_to, time).set_trans(Tween.TRANS_QUINT) 76 | tween.tween_property(expo_sprite, tween_info.tweened_property, tween_info.tween_to, time).set_trans(Tween.TRANS_EXPO) 77 | tween.tween_property(elastic_sprite, tween_info.tweened_property, tween_info.tween_to, time).set_trans(Tween.TRANS_ELASTIC) 78 | tween.tween_property(bounce_sprite, tween_info.tweened_property, tween_info.tween_to, time).set_trans(Tween.TRANS_BOUNCE) 79 | tween.tween_property(back_sprite, tween_info.tweened_property, tween_info.tween_to, time).set_trans(Tween.TRANS_BACK) 80 | tween.tween_property(circ_sprite, tween_info.tweened_property, tween_info.tween_to, time).set_trans(Tween.TRANS_CIRC) 81 | tween.tween_property(spring_sprite, tween_info.tweened_property, tween_info.tween_to, time).set_trans(Tween.TRANS_SPRING) 82 | else: 83 | tween.tween_property(linear_sprite, tween_info.tweened_property, tween_info.tween_from, time).set_trans(Tween.TRANS_LINEAR) 84 | tween.tween_property(sine_sprite, tween_info.tweened_property, tween_info.tween_from, time).set_trans(Tween.TRANS_SINE) 85 | tween.tween_property(quad_sprite, tween_info.tweened_property, tween_info.tween_from, time).set_trans(Tween.TRANS_QUAD) 86 | tween.tween_property(cubic_sprite, tween_info.tweened_property, tween_info.tween_from, time).set_trans(Tween.TRANS_CUBIC) 87 | tween.tween_property(quart_sprite, tween_info.tweened_property, tween_info.tween_from, time).set_trans(Tween.TRANS_QUART) 88 | tween.tween_property(quint_sprite, tween_info.tweened_property, tween_info.tween_from, time).set_trans(Tween.TRANS_QUINT) 89 | tween.tween_property(expo_sprite, tween_info.tweened_property, tween_info.tween_from, time).set_trans(Tween.TRANS_EXPO) 90 | tween.tween_property(elastic_sprite, tween_info.tweened_property, tween_info.tween_from, time).set_trans(Tween.TRANS_ELASTIC) 91 | tween.tween_property(bounce_sprite, tween_info.tweened_property, tween_info.tween_from, time).set_trans(Tween.TRANS_BOUNCE) 92 | tween.tween_property(back_sprite, tween_info.tweened_property, tween_info.tween_from, time).set_trans(Tween.TRANS_BACK) 93 | tween.tween_property(circ_sprite, tween_info.tweened_property, tween_info.tween_from, time).set_trans(Tween.TRANS_CIRC) 94 | tween.tween_property(spring_sprite, tween_info.tweened_property, tween_info.tween_from, time).set_trans(Tween.TRANS_SPRING) 95 | cycle = !cycle 96 | 97 | func _on_time_changed(value: float): 98 | tween_controller.set_time(value) 99 | time_slider.value = value 100 | time_spinbox.value = value 101 | 102 | func _on_cooldown_changed(value: float): 103 | tween_controller.set_cooldown(value) 104 | cooldown_slider.value = value 105 | cooldown_spinbox.value = value 106 | 107 | func _on_ease_type_option_item_selected(index: int): 108 | easetype_option.select(index) 109 | match index: 110 | 0: tween_controller.set_ease(Tween.EASE_IN) 111 | 1: tween_controller.set_ease(Tween.EASE_OUT) 112 | 2: tween_controller.set_ease(Tween.EASE_IN_OUT) 113 | 3: tween_controller.set_ease(Tween.EASE_OUT_IN) 114 | -------------------------------------------------------------------------------- /Project/Scripts/TweenController.gd: -------------------------------------------------------------------------------- 1 | extends Node 2 | 3 | ## This is the script for the autoload tween_controller 4 | ## It handles timers to sending the signals to start all tweens 5 | ## and holds global variables 6 | 7 | signal begin_tween(time: float, ease: Tween.EaseType) 8 | 9 | @export var cooldown: float = 0.5 10 | @onready var timer: Timer = $Timer 11 | @onready var reset_timer: Timer = $"Reset Timer" 12 | var ease_type: Tween.EaseType = Tween.EASE_IN_OUT 13 | var disabled_tweens: Array[bool] 14 | var circ_panel_open: bool = false 15 | 16 | func _ready(): 17 | timer.start() 18 | disabled_tweens.resize(12) 19 | disabled_tweens.fill(false) 20 | 21 | func _on_timer_timeout(): 22 | begin_tween.emit(timer.wait_time, ease_type) 23 | await get_tree().create_timer(cooldown).timeout 24 | timer.start() 25 | 26 | func set_time(value: float): 27 | timer.wait_time = value 28 | 29 | func get_time(): 30 | return timer.wait_time 31 | 32 | func set_cooldown(value: float): 33 | cooldown = value 34 | 35 | func get_cooldown(): 36 | return cooldown 37 | 38 | func set_ease(value: Tween.EaseType): 39 | ease_type = value 40 | 41 | func get_ease(): 42 | return ease_type 43 | 44 | func reset(): 45 | timer.stop() 46 | reset_timer.start() 47 | 48 | func set_tween_disabled(disabled: bool, index: int): 49 | disabled_tweens[index] = disabled 50 | 51 | func get_tween_disabled(index: int): 52 | return disabled_tweens[index] 53 | -------------------------------------------------------------------------------- /Project/Scripts/TweenResource.gd: -------------------------------------------------------------------------------- 1 | extends Resource 2 | class_name TweenResource 3 | 4 | ## A simple custom resource to make creating Tweens easier for me. 5 | ## It's used in the root control node. 6 | 7 | @export var tweened_property: String 8 | @export var tween_from: float 9 | @export var tween_to: float 10 | -------------------------------------------------------------------------------- /Project/Scripts/UpdateLabel.gd: -------------------------------------------------------------------------------- 1 | extends Label 2 | 3 | ## Used to update text in HP bar labels 4 | func _on_value_changed(value: float): 5 | text = str(value) 6 | -------------------------------------------------------------------------------- /Project/Singletons/tween_controller.tscn: -------------------------------------------------------------------------------- 1 | [gd_scene load_steps=2 format=3 uid="uid://dpxrbcuujsvmg"] 2 | 3 | [ext_resource type="Script" path="res://Scripts/TweenController.gd" id="1_xbff7"] 4 | 5 | [node name="TweenController" type="Node"] 6 | script = ExtResource("1_xbff7") 7 | 8 | [node name="Timer" type="Timer" parent="."] 9 | one_shot = true 10 | 11 | [node name="Reset Timer" type="Timer" parent="."] 12 | wait_time = 0.5 13 | one_shot = true 14 | 15 | [connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"] 16 | [connection signal="timeout" from="Reset Timer" to="." method="_on_timer_timeout"] 17 | -------------------------------------------------------------------------------- /Project/Themes/DefaultTheme.tres: -------------------------------------------------------------------------------- 1 | [gd_resource type="Theme" load_steps=14 format=3 uid="uid://dt4b5okf4yefr"] 2 | 3 | [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_112p1"] 4 | bg_color = Color(0, 0, 0, 0.235294) 5 | corner_radius_top_left = 5 6 | corner_radius_top_right = 5 7 | corner_radius_bottom_right = 5 8 | corner_radius_bottom_left = 5 9 | 10 | [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tg4x6"] 11 | bg_color = Color(0.6, 0.6, 0.6, 0) 12 | border_width_left = 2 13 | border_width_top = 2 14 | border_width_right = 2 15 | border_width_bottom = 2 16 | border_color = Color(0.54902, 1, 0.831373, 1) 17 | corner_radius_top_left = 5 18 | corner_radius_top_right = 5 19 | corner_radius_bottom_right = 5 20 | corner_radius_bottom_left = 5 21 | 22 | [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_s3ina"] 23 | content_margin_left = 5.0 24 | content_margin_right = 5.0 25 | bg_color = Color(0.0470588, 0.607843, 0.458824, 1) 26 | corner_radius_top_left = 5 27 | corner_radius_top_right = 5 28 | corner_radius_bottom_right = 5 29 | corner_radius_bottom_left = 5 30 | 31 | [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_x7p4m"] 32 | content_margin_left = 5.0 33 | content_margin_right = 5.0 34 | bg_color = Color(0.027451, 0.431373, 0.321569, 1) 35 | border_color = Color(0.0588235, 0.713726, 0.541176, 1) 36 | corner_radius_top_left = 5 37 | corner_radius_top_right = 5 38 | corner_radius_bottom_right = 5 39 | corner_radius_bottom_left = 5 40 | corner_detail = 5 41 | 42 | [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_j46xl"] 43 | bg_color = Color(0.0588235, 0.713726, 0.541176, 1) 44 | border_color = Color(0.0666667, 0.839216, 0.639216, 1) 45 | corner_radius_top_left = 5 46 | corner_radius_top_right = 5 47 | corner_radius_bottom_right = 5 48 | corner_radius_bottom_left = 5 49 | 50 | [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_70nfa"] 51 | bg_color = Color(0.0588235, 0.713726, 0.541176, 1) 52 | corner_radius_top_left = 5 53 | corner_radius_top_right = 5 54 | corner_radius_bottom_right = 5 55 | corner_radius_bottom_left = 5 56 | 57 | [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_xcguw"] 58 | bg_color = Color(0.54902, 1, 0.831373, 1) 59 | corner_radius_top_left = 5 60 | corner_radius_top_right = 5 61 | corner_radius_bottom_right = 5 62 | corner_radius_bottom_left = 5 63 | 64 | [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_nvxfo"] 65 | content_margin_top = 5.0 66 | content_margin_bottom = 5.0 67 | bg_color = Color(0, 0.207843, 0.14902, 1) 68 | corner_radius_top_left = 5 69 | corner_radius_top_right = 5 70 | corner_radius_bottom_right = 5 71 | corner_radius_bottom_left = 5 72 | 73 | [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_oi2k1"] 74 | bg_color = Color(0.6, 0.6, 0.6, 0) 75 | border_width_left = 2 76 | border_width_top = 2 77 | border_width_right = 2 78 | border_width_bottom = 2 79 | border_color = Color(0.54902, 1, 0.831373, 1) 80 | corner_radius_top_left = 5 81 | corner_radius_top_right = 5 82 | corner_radius_bottom_right = 5 83 | corner_radius_bottom_left = 5 84 | 85 | [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_u0dks"] 86 | bg_color = Color(0, 0.152941, 0.129412, 1) 87 | corner_radius_top_left = 5 88 | corner_radius_top_right = 5 89 | corner_radius_bottom_right = 5 90 | corner_radius_bottom_left = 5 91 | 92 | [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rac15"] 93 | bg_color = Color(0.0509804, 0.0980392, 0.168627, 1) 94 | 95 | [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wl7ed"] 96 | bg_color = Color(0.027451, 0.431373, 0.321569, 1) 97 | corner_radius_top_left = 5 98 | corner_radius_top_right = 5 99 | corner_radius_bottom_right = 5 100 | corner_radius_bottom_left = 5 101 | 102 | [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_m1o3f"] 103 | bg_color = Color(0, 0.207843, 0.14902, 1) 104 | border_color = Color(0.54902, 1, 0.831373, 1) 105 | corner_radius_top_left = 5 106 | corner_radius_top_right = 5 107 | corner_radius_bottom_right = 5 108 | corner_radius_bottom_left = 5 109 | 110 | [resource] 111 | default_font_size = 18 112 | Button/styles/disabled = SubResource("StyleBoxFlat_112p1") 113 | Button/styles/focus = SubResource("StyleBoxFlat_tg4x6") 114 | Button/styles/hover = SubResource("StyleBoxFlat_s3ina") 115 | Button/styles/normal = SubResource("StyleBoxFlat_x7p4m") 116 | Button/styles/pressed = SubResource("StyleBoxFlat_j46xl") 117 | HSlider/styles/grabber_area = SubResource("StyleBoxFlat_70nfa") 118 | HSlider/styles/grabber_area_highlight = SubResource("StyleBoxFlat_xcguw") 119 | HSlider/styles/slider = SubResource("StyleBoxFlat_nvxfo") 120 | LineEdit/styles/focus = SubResource("StyleBoxFlat_oi2k1") 121 | LineEdit/styles/normal = SubResource("StyleBoxFlat_u0dks") 122 | Panel/styles/panel = SubResource("StyleBoxFlat_rac15") 123 | PopupMenu/styles/hover = SubResource("StyleBoxFlat_wl7ed") 124 | PopupMenu/styles/panel = SubResource("StyleBoxFlat_m1o3f") 125 | -------------------------------------------------------------------------------- /Project/Themes/ShowPanelButton.tres: -------------------------------------------------------------------------------- 1 | [gd_resource type="Theme" load_steps=6 format=3 uid="uid://37njnhj3hb8o"] 2 | 3 | [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_112p1"] 4 | bg_color = Color(0, 0, 0, 0.235294) 5 | corner_radius_top_left = 5 6 | corner_radius_top_right = 5 7 | corner_radius_bottom_right = 5 8 | corner_radius_bottom_left = 5 9 | 10 | [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tg4x6"] 11 | bg_color = Color(0.6, 0.6, 0.6, 0) 12 | 13 | [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_s3ina"] 14 | content_margin_left = 5.0 15 | content_margin_right = 5.0 16 | bg_color = Color(0.0470588, 0.607843, 0.458824, 1) 17 | corner_radius_top_right = 10 18 | corner_radius_bottom_right = 10 19 | 20 | [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_x7p4m"] 21 | content_margin_left = 5.0 22 | content_margin_right = 5.0 23 | bg_color = Color(0.027451, 0.431373, 0.321569, 1) 24 | border_color = Color(0.0588235, 0.713726, 0.541176, 1) 25 | corner_radius_top_right = 10 26 | corner_radius_bottom_right = 10 27 | corner_detail = 5 28 | 29 | [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_j46xl"] 30 | bg_color = Color(0.0588235, 0.713726, 0.541176, 1) 31 | border_color = Color(0.0666667, 0.839216, 0.639216, 1) 32 | corner_radius_top_right = 10 33 | corner_radius_bottom_right = 10 34 | 35 | [resource] 36 | default_font_size = 18 37 | Button/styles/disabled = SubResource("StyleBoxFlat_112p1") 38 | Button/styles/focus = SubResource("StyleBoxFlat_tg4x6") 39 | Button/styles/hover = SubResource("StyleBoxFlat_s3ina") 40 | Button/styles/normal = SubResource("StyleBoxFlat_x7p4m") 41 | Button/styles/pressed = SubResource("StyleBoxFlat_j46xl") 42 | -------------------------------------------------------------------------------- /Project/export_presets.cfg: -------------------------------------------------------------------------------- 1 | [preset.0] 2 | 3 | name="Web" 4 | platform="Web" 5 | runnable=true 6 | dedicated_server=false 7 | custom_features="" 8 | export_filter="all_resources" 9 | include_filter="" 10 | exclude_filter="" 11 | export_path="../../../Godot Builds/Tween Comparison v1.2/Tween Comparison.html" 12 | encryption_include_filters="" 13 | encryption_exclude_filters="" 14 | encrypt_pck=false 15 | encrypt_directory=false 16 | script_encryption_key="" 17 | 18 | [preset.0.options] 19 | 20 | custom_template/debug="" 21 | custom_template/release="" 22 | variant/extensions_support=false 23 | vram_texture_compression/for_desktop=true 24 | vram_texture_compression/for_mobile=false 25 | html/export_icon=false 26 | html/custom_html_shell="" 27 | html/head_include="" 28 | html/canvas_resize_policy=2 29 | html/focus_canvas_on_start=true 30 | html/experimental_virtual_keyboard=false 31 | progressive_web_app/enabled=false 32 | progressive_web_app/offline_page="" 33 | progressive_web_app/display=1 34 | progressive_web_app/orientation=0 35 | progressive_web_app/icon_144x144="" 36 | progressive_web_app/icon_180x180="" 37 | progressive_web_app/icon_512x512="" 38 | progressive_web_app/background_color=Color(0, 0, 0, 1) 39 | -------------------------------------------------------------------------------- /Project/project.godot: -------------------------------------------------------------------------------- 1 | ; Engine configuration file. 2 | ; It's best edited using the editor UI and not directly, 3 | ; since the parameters that go here are not all obvious. 4 | ; 5 | ; Format: 6 | ; [section] ; section goes between [] 7 | ; param=value ; assign values to parameters 8 | 9 | config_version=5 10 | 11 | [application] 12 | 13 | config/name="Tweens Comparison" 14 | run/main_scene="res://Scenes/1_Movement.tscn" 15 | config/features=PackedStringArray("4.1", "GL Compatibility") 16 | boot_splash/bg_color=Color(0.141176, 0.141176, 0.141176, 1) 17 | config/icon="res://Art/icon.svg" 18 | 19 | [autoload] 20 | 21 | tween_controller="*res://Singletons/tween_controller.tscn" 22 | 23 | [display] 24 | 25 | window/size/viewport_height=792 26 | window/stretch/mode="canvas_items" 27 | 28 | [filesystem] 29 | 30 | import/blender/enabled=false 31 | 32 | [input] 33 | 34 | increase_time={ 35 | "deadzone": 0.5, 36 | "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":87,"key_label":0,"unicode":119,"echo":false,"script":null) 37 | ] 38 | } 39 | reduce_time={ 40 | "deadzone": 0.5, 41 | "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":81,"key_label":0,"unicode":113,"echo":false,"script":null) 42 | ] 43 | } 44 | increase_cooldown={ 45 | "deadzone": 0.5, 46 | "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":83,"key_label":0,"unicode":115,"echo":false,"script":null) 47 | ] 48 | } 49 | reduce_cooldown={ 50 | "deadzone": 0.5, 51 | "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":65,"key_label":0,"unicode":97,"echo":false,"script":null) 52 | ] 53 | } 54 | next_ease={ 55 | "deadzone": 0.5, 56 | "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":32,"key_label":0,"unicode":32,"echo":false,"script":null) 57 | ] 58 | } 59 | 60 | [rendering] 61 | 62 | renderer/rendering_method="gl_compatibility" 63 | renderer/rendering_method.mobile="gl_compatibility" 64 | environment/defaults/default_clear_color=Color(0.0980392, 0.164706, 0.262745, 1) 65 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Godot Tween Comparisons | [Try it on the web!](https://popcar2.itch.io/tweens-comparison) 2 | ![A gif showcasing the project. It shows different comparisons of various Tween types](Images/Tween_Comparison_Project.gif) 3 | 4 | This project is a collection of simple scenes to compare different tween types! You can change the speed, ease type, and cooldown 5 | on the fly using the settings tab at the bottom of the screen. 6 | 7 | It's made in Godot 4, and you can easily just download and import the project to play around with it! 8 | 9 | ### How Do I Edit the Values of the Tweens/Make My Own Tweens? 10 | 11 | Open the scene you'd like to edit, click on Control (the root node in the heirarchy), and expand the array of TweenResource in the inspector. 12 | This is a custom resource I made to make things easier to change. 13 | 14 | There, you'll be able to change the values of the Tween or add more elements to Tween more things. 15 | Feel free to duplicate the starting scene and test whatever tween you'd like to see! 16 | 17 | Loved the project? [Consider buying me a cup of ko-fi!](https://ko-fi.com/popcar2) 18 | 19 | ## Credits 20 | 21 | Sprites by [Kenney Assets](https://kenney.nl/) and [Anokolisa](https://anokolisa.itch.io/dungeon-crawler-pixel-art-asset-pack). 22 | 23 | Everything else is by me (popcar2). 24 | --------------------------------------------------------------------------------