Handle multiple resolutions in most demos

This makes demos render correctly on hiDPI displays,
while also demonstrating how to handle multiple resolutions.

The 3D in 2D demo now uses "3D No-Effects" for the 3D viewport,
which is faster to render. Thanks to this, 4× MSAA is now enabled
for a better result.

The background loading demo now uses mipmaps for better-looking images.

The material testers demo now samples mouse input in a
resolution-independent manner when panning.

Default clear colors were also changed in some projects for visual
consistency with the project's theme.
This commit is contained in:
Hugo Locurcio
2019-07-20 12:36:37 +02:00
parent eb814782c6
commit a45b84a5ad
249 changed files with 1488 additions and 562 deletions

View File

@@ -1,20 +1,25 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://player/Player.tscn" type="PackedScene" id=1]
[ext_resource path="res://debug/StatesStackDiplayer.tscn" type="PackedScene" id=2]
[ext_resource path="res://debug/ControlsPanel.tscn" type="PackedScene" id=3]
[ext_resource path="res://debug/Explanations.tscn" type="PackedScene" id=4]
[ext_resource path="res://debug/ControlsPanel.tscn" type="PackedScene" id=1]
[ext_resource path="res://debug/Explanations.tscn" type="PackedScene" id=2]
[ext_resource path="res://debug/StatesStackDiplayer.tscn" type="PackedScene" id=3]
[ext_resource path="res://player/Player.tscn" type="PackedScene" id=4]
[node name="Demo" type="Node"]
[node name="Player" parent="." instance=ExtResource( 1 )]
editor/display_folded = true
[node name="Player" parent="." instance=ExtResource( 4 )]
[node name="StatesStackDiplayer" parent="." instance=ExtResource( 2 )]
[node name="Explanations" parent="." instance=ExtResource( 2 )]
[node name="ControlsPanel" parent="." instance=ExtResource( 3 )]
[node name="Control" type="Control" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Explanations" parent="." instance=ExtResource( 4 )]
[node name="StatesStackDiplayer" parent="Control" instance=ExtResource( 3 )]
[node name="ControlsPanel" parent="Control" instance=ExtResource( 1 )]
[editable path="Player"]

View File

@@ -1,6 +1,5 @@
[gd_scene load_steps=3 format=2]
[gd_scene load_steps=2 format=2]
[ext_resource path="res://debug/top_level_ui.gd" type="Script" id=1]
[ext_resource path="res://fonts/source_code_pro_explanations.tres" type="DynamicFont" id=2]
[node name="ControlsPanel" type="Panel"]
@@ -8,7 +7,9 @@ anchor_left = 1.0
anchor_right = 1.0
margin_left = -220.0
margin_bottom = 170.0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Keys" type="Label" parent="."]
anchor_right = 1.0
@@ -38,4 +39,3 @@ X
Space
Shift"
align = 2

View File

@@ -1,8 +1,7 @@
[gd_scene load_steps=4 format=2]
[gd_scene load_steps=3 format=2]
[ext_resource path="res://fonts/source_code_pro_explanations_bold.tres" type="DynamicFont" id=1]
[ext_resource path="res://fonts/source_code_pro_explanations.tres" type="DynamicFont" id=2]
[ext_resource path="res://debug/top_level_ui.gd" type="Script" id=3]
[node name="Explanations" type="RichTextLabel"]
anchor_right = 1.0
@@ -35,8 +34,6 @@ States are common in games. You can use the pattern to:
3. Improve your code's structure. Look at the scene tree and FileSystem tab: without looking at the code, you'll know what the Player can or cannot do.
You can read more about States in the excellent Game Programming Patterns ebook."
script = ExtResource( 3 )
__meta__ = {
"_edit_lock_": true
}

View File

@@ -46,4 +46,3 @@ margin_bottom = 170.0
custom_fonts/font = SubResource( 1 )
text = "1.
2."

View File

@@ -1,9 +1,6 @@
extends Panel
onready var fsm_node = get_node("../Player/StateMachine")
func _ready():
set_as_toplevel(true)
onready var fsm_node = get_node("../../Player/StateMachine")
func _process(delta):
var states_names = ''

View File

@@ -1,5 +0,0 @@
tool
extends Control
func _ready():
set_as_toplevel(true)

View File

@@ -11,4 +11,3 @@ ground_curve = 0.01
[resource]
background_mode = 2
background_sky = SubResource( 1 )

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
metadata={
"vram_texture": false
}
[deps]
@@ -14,6 +17,7 @@ dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -23,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/body.png-313f6363670a5852a7b7126ab476d8b1.stex"
metadata={
"vram_texture": false
}
[deps]
@@ -14,6 +17,7 @@ dest_files=[ "res://.import/body.png-313f6363670a5852a7b7126ab476d8b1.stex" ]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -23,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/shadow.png-493c4635eca1ce8bdece629560617dc7.stex"
metadata={
"vram_texture": false
}
[deps]
@@ -14,6 +17,7 @@ dest_files=[ "res://.import/shadow.png-493c4635eca1ce8bdece629560617dc7.stex" ]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -23,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -1,6 +1,6 @@
"""
The stagger state end with the stagger animation from the AnimationPlayer
The animation only affects the Body Sprite"s modulate property so
The animation only affects the Body Sprite's modulate property so
it could stack with other animations if we had two AnimationPlayer nodes
"""
extends "res://state_machine/state.gd"
@@ -11,5 +11,5 @@ func enter():
owner.get_node("AnimationPlayer").play("stagger")
func _on_animation_finished(anim_name):
assert anim_name == "stagger"
assert(anim_name == "stagger")
emit_signal("finished", "previous")

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/sword.png-fc7f0084cdf333c826eda2b33f2ec3cc.stex"
metadata={
"vram_texture": false
}
[deps]
@@ -14,6 +17,7 @@ dest_files=[ "res://.import/sword.png-fc7f0084cdf333c826eda2b33f2ec3cc.stex" ]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -23,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -23,10 +23,8 @@ config/icon="res://icon.png"
window/size/width=1280
window/size/height=720
window/size/test_width=1280
window/size/test_height=720
window/stretch/mode="2d"
window/stretch/aspect="keep"
window/stretch/aspect="expand"
[gdnative]

File diff suppressed because one or more lines are too long

View File

@@ -11,4 +11,3 @@ ground_curve = 0.01
[resource]
background_mode = 2
background_sky = SubResource( 1 )

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/character.png-98ed16816c5b464731c4fa68fe5b8613.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/character_grey.png-a95d64c2e947e85f04dd1c6474e46965.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/star.png-4f164f82cf41ace82182660f1be8e68d.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -23,6 +23,8 @@ config/icon="res://icon.png"
window/size/width=1280
window/size/height=720
window/stretch/mode="2d"
window/stretch/aspect="expand"
[rendering]

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/actor.png-6a88af8a7bcb079732153877dfb0db8b.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/object.png-3e89ebfb3424e8759914732b2b0130c1.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/obstacle.png-9f01dd1d06d7b99515918b65b46bd6c1.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/grid_lines.png-beef853b47aa830c8383e5f6cc4d03ce.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -27,6 +27,8 @@ modulate = Color( 2, 2, 2, 1 )
self_modulate = Color( 2, 2, 2, 1 )
texture = ExtResource( 2 )
centered = false
region_enabled = true
region_rect = Rect2( 0, 0, 3840, 720 )
[node name="cave" type="Sprite" parent="."]
self_modulate = Color( 0.233166, 0.221219, 0.23582, 1 )
@@ -37,11 +39,18 @@ centered = false
[node name="environment" type="WorldEnvironment" parent="."]
environment = SubResource( 1 )
[node name="Camera2D" type="Camera2D" parent="."]
offset = Vector2( 540, 360 )
current = true
[node name="Label" type="Label" parent="."]
margin_right = 40.0
margin_bottom = 13.0
margin_left = 10.0
margin_top = 10.0
margin_right = 135.0
margin_bottom = 24.0
size_flags_horizontal = 2
size_flags_vertical = 0
custom_colors/font_color = Color( 0.213955, 0.205626, 0.20313, 1 )
text = "Drag Left and Right"
text = "Drag Left and Right"
__meta__ = {
"_edit_use_anchors_": false
}

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/ocean_beach.png-b571ab5468cc775a520aaa47efbed607.stex"
metadata={
"vram_texture": false
}
[deps]
@@ -16,7 +19,7 @@ compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/repeat=2
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/ocean_cave.png-2a86f381e3092b4cb698b627d778e19b.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -24,6 +24,8 @@ run/name=""
window/size/width=1080
window/size/height=720
window/stretch/mode="2d"
window/stretch/aspect="expand"
[gdnative]
@@ -32,3 +34,7 @@ singletons=[ ]
[rasterizer]
blur_buffer_size=128
[rendering]
environment/default_clear_color=Color( 0.05, 0.0453, 0.0265, 1 )

View File

@@ -20,6 +20,11 @@ run/main_scene="res://map.tscn"
config/icon="res://icon.png"
run/name=""
[display]
window/stretch/mode="2d"
window/stretch/aspect="expand"
[gdnative]
singletons=[ ]
@@ -46,3 +51,7 @@ move_up={
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"unicode":0,"echo":false,"script":null)
]
}
[rendering]
environment/default_clear_color=Color( 0.172549, 0.219608, 0.129412, 1 )

View File

@@ -18,4 +18,3 @@ shape = SubResource( 1 )
[node name="Camera2D" type="Camera2D" parent="."]
current = true

View File

@@ -24,4 +24,3 @@ tile_data = PoolIntArray( -917493, 2, -1200553578, -917492, 2, -1200553578, -917
[node name="troll" parent="walls" instance=ExtResource( 2 )]
position = Vector2( 368.142, 347.007 )

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://icon.png"
source_md5="c79c9ad7eaca57f9b61f2e8b06d7a2ea"
dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
dest_md5="557cc789bada50b97252b4b076d9396d"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/isotiles.png-502434fe0d6c3fd8ce67cea5a960c208.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://isotiles.png"
source_md5="497da3b55d87ebab4df56dba2a0804ed"
dest_files=[ "res://.import/isotiles.png-502434fe0d6c3fd8ce67cea5a960c208.stex" ]
dest_md5="e81f39117efaa23b86988b64a3523f31"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -19,6 +19,11 @@ config/name="Isometric Game"
run/main_scene="res://dungeon.tscn"
config/icon="res://icon.png"
[display]
window/stretch/mode="2d"
window/stretch/aspect="expand"
[gdnative]
singletons=[ ]
@@ -54,3 +59,7 @@ move_up={
[rasterizer]
use_pixel_snap=true
[rendering]
environment/default_clear_color=Color( 0.0784314, 0.105882, 0.145098, 1 )

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/troll.png-78efc50bfccaa17f54d40cfea3eef5f5.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://troll.png"
source_md5="76a37c47b1f09115f714d6635ab50fb4"
dest_files=[ "res://.import/troll.png-78efc50bfccaa17f54d40cfea3eef5f5.stex" ]
dest_md5="aded3a6d7973cb880144e84f0b3ec505"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/circle.png-10953cad44a8947fbdd4128a631e9e52.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://circle.png"
source_md5="c01cd5674a625756c3df259f76d5295a"
dest_files=[ "res://.import/circle.png-10953cad44a8947fbdd4128a631e9e52.stex" ]
dest_md5="e4ec5acd02941f2f2150d836824a5d51"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

File diff suppressed because one or more lines are too long

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://icon.png"
source_md5="a2c4d258e30d0a978df50141f46c78fc"
dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
dest_md5="144813cb6d9a20bff16078a45fa2d990"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/long_obstacle.png-1b33440a15b4db156b2a9ec7e9a2a80e.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://long_obstacle.png"
source_md5="3c79b1a7d3ef80a28347634c36f0b2e1"
dest_files=[ "res://.import/long_obstacle.png-1b33440a15b4db156b2a9ec7e9a2a80e.stex" ]
dest_md5="4956558400a4bac181bc00346aaaacdf"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/obstacle.png-dfb3e99d3af573251007cdf5e1c252b9.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://obstacle.png"
source_md5="5963aa5f0000565f5472e152003bfaf3"
dest_files=[ "res://.import/obstacle.png-dfb3e99d3af573251007cdf5e1c252b9.stex" ]
dest_md5="e4a785f1d55f2585bce48ea5d56b3124"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/player.png-2dd0af52de4b213777cd8c9df94c0978.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://player.png"
source_md5="540f7f0d3b239b1d8c349f4be4d2d253"
dest_files=[ "res://.import/player.png-2dd0af52de4b213777cd8c9df94c0978.stex" ]
dest_md5="4112e6a5c36d38d07edebbfbd416c9fa"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -15,4 +15,3 @@ texture = ExtResource( 2 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( -0.315559, 0.157784 )
shape = SubResource( 1 )

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/princess.png-9b4caf2cfe324ae3734249d5b559d39d.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://princess.png"
source_md5="0cc2f9e0359e84dd37950556613a1778"
dest_files=[ "res://.import/princess.png-9b4caf2cfe324ae3734249d5b559d39d.stex" ]
dest_md5="856066b52354a42ff12d3b5608755e56"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -23,6 +23,8 @@ config/icon="res://icon.png"
window/size/width=530
window/size/height=495
window/stretch/mode="2d"
window/stretch/aspect="expand"
stretch/aspect="keep"
stretch/mode="2d"
@@ -61,3 +63,7 @@ move_up={
[memory]
multithread/thread_rid_pool_prealloc=60
[rendering]
environment/default_clear_color=Color( 0.156, 0.1325, 0.25, 1 )

File diff suppressed because one or more lines are too long

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/obstacle.png-dfb3e99d3af573251007cdf5e1c252b9.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/player.png-2dd0af52de4b213777cd8c9df94c0978.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -19,6 +19,11 @@ config/name="Kinematic Collision"
run/main_scene="res://colworld.tscn"
config/icon="res://icon.png"
[display]
window/stretch/mode="2d"
window/stretch/aspect="expand"
[gdnative]
singletons=[ ]
@@ -45,3 +50,7 @@ move_up={
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"unicode":0,"echo":false,"script":null)
]
}
[rendering]
environment/default_clear_color=Color( 0.219608, 0.145098, 0.145098, 1 )

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/burano.png-893cff79ccbe972d7b1ad3e1845f81bf.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -51,6 +51,9 @@ anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 2
size_flags_vertical = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="burano" type="TextureRect" parent="."]
material = SubResource( 1 )
@@ -79,3 +82,6 @@ mode = 2
autoplay = "maskmotion"
anims/maskmotion = SubResource( 2 )
[node name="Camera2D" type="Camera2D" parent="."]
offset = Vector2( 512, 300 )
current = true

View File

@@ -19,6 +19,11 @@ config/name="Using Lights as Mask"
run/main_scene="res://lightmask.tscn"
config/icon="res://icon.png"
[display]
window/stretch/mode="2d"
window/stretch/aspect="expand"
[gdnative]
singletons=[ ]

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/splat.png-a41a35966004eec2e8a20d517d1ec4bb.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/bg.png-24bff804693ee063127ad100e04c5185.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://bg.png"
source_md5="767fe4b38b7f307c268da6beb72ca732"
dest_files=[ "res://.import/bg.png-24bff804693ee063127ad100e04c5185.stex" ]
dest_md5="c5f047c8b98d363519d5da3be2119651"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/caster.png-67727cb056b9e0209664a84f1653a25a.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://caster.png"
source_md5="461a6647dafae1304d7a21178246bb9d"
dest_files=[ "res://.import/caster.png-67727cb056b9e0209664a84f1653a25a.stex" ]
dest_md5="102ac34dffa3ad96f81d7c422c9ff96d"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://icon.png"
source_md5="b522cb048c2d4713c630a1fd00254467"
dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
dest_md5="fca2fbe38bffc4d500dcbb63e1985d25"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/light.png-06e94102f0cce323cff7daad56cf3030.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://light.png"
source_md5="d36597a1d2ddc06b8d0d22650a176149"
dest_files=[ "res://.import/light.png-06e94102f0cce323cff7daad56cf3030.stex" ]
dest_md5="4358f9620206dfaf70c1c9c703c7cbc0"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -72,7 +72,7 @@ color = Color( 0.27451, 0.27451, 0.27451, 1 )
[node name="bg" type="Sprite" parent="."]
position = Vector2( 401.251, 301.906 )
scale = Vector2( 6.39454, 4.82665 )
scale = Vector2( 128, 128 )
texture = ExtResource( 1 )
[node name="casters" type="Node2D" parent="."]
@@ -237,3 +237,6 @@ anims/motion = SubResource( 3 )
anims/motion2 = SubResource( 4 )
anims/motion3 = SubResource( 7 )
[node name="Camera2D" type="Camera2D" parent="."]
offset = Vector2( 400, 300 )
current = true

View File

@@ -22,6 +22,8 @@ config/icon="res://icon.png"
[display]
window/size/width=800
window/stretch/mode="2d"
window/stretch/aspect="expand"
stretch/aspect="keep"
stretch/mode="2d"

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/spot.png-36b4dfbff4efeea17ec3137d266ffc4a.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://spot.png"
source_md5="8d1a5fb652c178423018bac9e0f5acf0"
dest_files=[ "res://.import/spot.png-36b4dfbff4efeea17ec3137d266ffc4a.stex" ]
dest_md5="39755819eccb4f1e0c301b93be79590a"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/character.png-7a996d3b758d22c506b76a7c15391284.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -24,3 +24,7 @@ position = Vector2( 228.464, 132.594 )
scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 3 )
offset = Vector2( 0, -26 )
[node name="Camera2D" type="Camera2D" parent="."]
offset = Vector2( 400, 300 )
current = true

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/map.png-9eea34967fae34f4388f4a32a16da936.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -22,6 +22,8 @@ config/icon="res://icon.png"
[display]
window/size/width=800
window/stretch/mode="2d"
window/stretch/aspect="expand"
stretch/aspect="keep"
stretch/mode="2d"
@@ -36,3 +38,7 @@ click={
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null)
]
}
[rendering]
environment/default_clear_color=Color( 0.160784, 0.172549, 0.278431, 1 )

View File

@@ -14,9 +14,13 @@ tile_data = PoolIntArray( 65537, 0, 0, 65541, 0, 0, 65545, 0, 0, 65550, 0, 0, 19
script = ExtResource( 2 )
[node name="Character" type="Position2D" parent="."]
position = Vector2( 32, 32 )
script = ExtResource( 3 )
[node name="Sprite" type="Sprite" parent="Character"]
position = Vector2( 7, 0 )
texture = ExtResource( 4 )
[node name="Camera2D" type="Camera2D" parent="."]
offset = Vector2( 512, 300 )
current = true

View File

@@ -11,4 +11,3 @@ ground_curve = 0.01
[resource]
background_mode = 2
background_sky = SubResource( 1 )

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -19,6 +19,11 @@ config/name="Grid-based pathfinding with Astar"
run/main_scene="res://Game.tscn"
config/icon="res://icon.png"
[display]
window/stretch/mode="2d"
window/stretch/aspect="expand"
[input]
click={

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/character.png-eb70ac48a5acf508c4b7740ea4ac4fae.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/obstacle.png-0258c5f5ce65bfa0dd8610adeb784f54.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/path_end.png-02b79e25892cd8d863bd44c3c5a1720e.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/path_start.png-475bd0b469629aa8779d506c5134e5c2.stex"
metadata={
"vram_texture": false
}
[deps]

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/fire_particle.png-282b12927cd5b1f6d9c0bfb485d448ae.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://fire_particle.png"
source_md5="b0ff2970ad1b00d2ce4ed6f02e01d7c5"
dest_files=[ "res://.import/fire_particle.png-282b12927cd5b1f6d9c0bfb485d448ae.stex" ]
dest_md5="eea50c6eceabd139f99b8f771003811d"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://icon.png"
source_md5="79bb491eb2c0a0753f965ac0b3106349"
dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
dest_md5="cbc9a406040e47df12d4494a9431028f"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/mask.png-b945516e6475612c1c4c3b4f8dd0bdc6.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://mask.png"
source_md5="3214952ea3431758b892aabdbde38b08"
dest_files=[ "res://.import/mask.png-b945516e6475612c1c4c3b4f8dd0bdc6.stex" ]
dest_md5="6823b6e7db665ffc74987b968f7eaf3b"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false

View File

@@ -252,3 +252,6 @@ visibility_rect = Rect2( 26.0055, 90.0015, 199.176, 95.0445 )
process_material = SubResource( 28 )
texture = ExtResource( 3 )
[node name="Camera2D" type="Camera2D" parent="."]
offset = Vector2( 512, 300 )
current = true

View File

@@ -19,6 +19,15 @@ config/name="Particle Systems"
run/main_scene="res://particles.tscn"
config/icon="res://icon.png"
[display]
window/stretch/mode="2d"
window/stretch/aspect="expand"
[gdnative]
singletons=[ ]
[rendering]
environment/default_clear_color=Color( 0, 0, 0, 1 )

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/smoke_particle.png-2af9cbaa4a935c239d404ea2402bff45.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://smoke_particle.png"
source_md5="1b1db1ed68bccbfb6cc968edd82d3590"
dest_files=[ "res://.import/smoke_particle.png-2af9cbaa4a935c239d404ea2402bff45.stex" ]
dest_md5="b15a735d1026591cfe0adf0961cd978d"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/spark_particle2.png-c01711346d42a0d9675f292248ead315.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://spark_particle2.png"
source_md5="907b52c0c7e2668357863bd01721e813"
dest_files=[ "res://.import/spark_particle2.png-c01711346d42a0d9675f292248ead315.stex" ]
dest_md5="a13abc4e2d2feac9c7fe76af899b5ff4"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -3,29 +3,31 @@
importer="texture"
type="StreamTexture"
path="res://.import/ball.png-9a4ca347acb7532f6ae347744a6b04f7.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://ball.png"
source_md5="4219e9084f5485c8d1812297700f317d"
dest_files=[ "res://.import/ball.png-9a4ca347acb7532f6ae347744a6b04f7.stex" ]
dest_md5="c23684a1fd10063a69ecc18f7ccca4c3"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://icon.png"
source_md5="9be177e863d37787c0836d64924b3503"
dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
dest_md5="6339016da0f704252e68ba6dd6477388"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -3,29 +3,31 @@
importer="texture"
type="StreamTexture"
path="res://.import/left_pallete.png-bc33611074a0f886142e37c77bd2545a.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://left_pallete.png"
source_md5="df76627349499ad47ebf48a7ca947cca"
dest_files=[ "res://.import/left_pallete.png-bc33611074a0f886142e37c77bd2545a.stex" ]
dest_md5="f286e993cb5a7b7513004045afcc4313"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -23,6 +23,14 @@ extents = Vector2( 320, 10 )
[node name="game" type="Node2D"]
[node name="ColorRect" type="ColorRect" parent="."]
margin_right = 640.0
margin_bottom = 400.0
color = Color( 0.141176, 0.152941, 0.164706, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="left" type="Area2D" parent="."]
position = Vector2( 67.6285, 192.594 )
script = ExtResource( 1 )
@@ -87,6 +95,9 @@ y_direction = -1
[node name="collision" type="CollisionShape2D" parent="floor"]
shape = SubResource( 4 )
[node name="Camera2D" type="Camera2D" parent="."]
offset = Vector2( 320, 200 )
current = true
[connection signal="area_entered" from="left" to="left" method="_on_area_entered"]
[connection signal="area_entered" from="right" to="right" method="_on_area_entered"]
[connection signal="area_entered" from="left_wall" to="left_wall" method="_on_wall_area_entered"]

View File

@@ -23,6 +23,8 @@ config/icon="res://icon.png"
window/size/width=640
window/size/height=400
window/stretch/mode="2d"
window/stretch/aspect="expand"
stretch_2d=true
[gdnative]
@@ -54,4 +56,5 @@ right_move_up={
[rendering]
quality/2d/use_pixel_snap=true
viewport/default_clear_color=Color( 0, 0, 0, 1 )

View File

@@ -3,29 +3,31 @@
importer="texture"
type="StreamTexture"
path="res://.import/right_pallete.png-fc6e4a6a7c8197834656482b94708e47.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://right_pallete.png"
source_md5="d46f647d3f045dbee4d786089c309868"
dest_files=[ "res://.import/right_pallete.png-fc6e4a6a7c8197834656482b94708e47.stex" ]
dest_md5="5f8755f214bc8d4caf7c467291452637"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -3,29 +3,31 @@
importer="texture"
type="StreamTexture"
path="res://.import/separator.png-f981c8489b9148e2e1dc63398273da74.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://separator.png"
source_md5="b6234b89455156532bbe1256249fcfd4"
dest_files=[ "res://.import/separator.png-f981c8489b9148e2e1dc63398273da74.stex" ]
dest_md5="6e27251839594842494c6cd51e3b86cb"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -1,8 +1,8 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Game.gd" type="Script" id=1]
[ext_resource path="res://screens/combat/Combat.tscn" type="PackedScene" id=2]
[ext_resource path="res://screens/exploration/Exploration.tscn" type="PackedScene" id=3]
[ext_resource path="res://screens/exploration/Exploration.tscn" type="PackedScene" id=2]
[ext_resource path="res://screens/combat/Combat.tscn" type="PackedScene" id=3]
[sub_resource type="Animation" id=1]
length = 0.5
@@ -30,13 +30,19 @@ anims/fade = SubResource( 1 )
[node name="Transition" type="CanvasLayer" parent="."]
[node name="ColorRect" type="ColorRect" parent="Transition"]
margin_right = 1280.0
margin_bottom = 720.0
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 1
color = Color( 0.0703125, 0.0703125, 0.0703125, 0 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Combat" parent="." instance=ExtResource( 2 )]
[node name="Combat" parent="." instance=ExtResource( 3 )]
visible = false
[node name="Exploration" parent="." instance=ExtResource( 3 )]
[node name="Exploration" parent="." instance=ExtResource( 2 )]
[node name="Camera2D" type="Camera2D" parent="."]
offset = Vector2( 640, 360 )
current = true

View File

@@ -12,4 +12,3 @@ sun_energy = 16.0
[resource]
background_mode = 2
background_sky = SubResource( 1 )

View File

@@ -23,6 +23,8 @@ config/icon="res://icon.png"
window/size/width=1280
window/size/height=720
window/stretch/mode="2d"
window/stretch/aspect="expand"
[rendering]

View File

@@ -75,7 +75,6 @@ margin_bottom = 246.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Flee"
[connection signal="button_up" from="UI/Buttons/GridContainer/Attack" to="UI" method="_on_Attack_button_up"]
[connection signal="button_up" from="UI/Buttons/GridContainer/Defend" to="UI" method="_on_Defend_button_up"]
[connection signal="button_up" from="UI/Buttons/GridContainer/Flee" to="UI" method="_on_Flee_button_up"]

File diff suppressed because one or more lines are too long

View File

@@ -81,4 +81,3 @@ ProgressBar/colors/font_color_shadow = Color( 0, 0, 0, 1 )
ProgressBar/fonts/font = ExtResource( 4 )
ProgressBar/styles/bg = SubResource( 6 )
ProgressBar/styles/fg = ExtResource( 7 )

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/burano.jpg-bbae3c5a81f8b6300cd944219dbbbc05.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://art/burano.jpg"
source_md5="a7a43f4048c157e4180fadc2fb85500a"
dest_files=[ "res://.import/burano.jpg-bbae3c5a81f8b6300cd944219dbbbc05.stex" ]
dest_md5="7eac829bfd32310547f1ec1f64a2b6e1"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -4,20 +4,22 @@ importer="texture"
type="StreamTexture"
path.s3tc="res://.import/filmgrain.png-8b1c9d8b22a2ffa8f94b1e004d5eddc9.s3tc.stex"
path.etc2="res://.import/filmgrain.png-8b1c9d8b22a2ffa8f94b1e004d5eddc9.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://art/filmgrain.png"
source_md5="6e935b013571b36377b4f225746be5df"
dest_files=[ "res://.import/filmgrain.png-8b1c9d8b22a2ffa8f94b1e004d5eddc9.s3tc.stex", "res://.import/filmgrain.png-8b1c9d8b22a2ffa8f94b1e004d5eddc9.etc2.stex" ]
dest_md5="c0ae0627c5a3e2f284d0d36ceac850a9"
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
@@ -27,6 +29,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/forest.jpg-f2ce28f12b0871a15d1e9ebfcd24b47f.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://art/forest.jpg"
source_md5="a19424db1a6064ebc09c600ab2b0a0e8"
dest_files=[ "res://.import/forest.jpg-f2ce28f12b0871a15d1e9ebfcd24b47f.stex" ]
dest_md5="406ea3b480446997fd81be4e4b1e4589"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/mountains.jpg-fd51eb0e2a35878963804e860ef9d187.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://art/mountains.jpg"
source_md5="d2d89058d725456ef75987637c06a7c0"
dest_files=[ "res://.import/mountains.jpg-fd51eb0e2a35878963804e860ef9d187.stex" ]
dest_md5="0b74851a8390532635e9dcd70cf58e8c"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View File

@@ -3,20 +3,21 @@
importer="texture"
type="StreamTexture"
path="res://.import/platformer.jpg-ce18350247a11c58497c7e0d8e3be273.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://art/platformer.jpg"
source_md5="8ff2fb3bb2fe75e79d0812c4cc7f4380"
dest_files=[ "res://.import/platformer.jpg-ce18350247a11c58497c7e0d8e3be273.stex" ]
dest_md5="ed068c0fed8f318e84ce5371746bf6b3"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@@ -26,6 +27,7 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

Some files were not shown because too many files have changed in this diff Show More