Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ecf265637 | ||
|
|
157b432c80 |
@@ -12,10 +12,10 @@ config_version=5
|
|||||||
|
|
||||||
config/name="Bullet Shower"
|
config/name="Bullet Shower"
|
||||||
config/description="Demonstrates how to manage large amounts of objects efficiently using low-level Servers."
|
config/description="Demonstrates how to manage large amounts of objects efficiently using low-level Servers."
|
||||||
config/tags=PackedStringArray("2d", "demo", "official", "performance")
|
|
||||||
run/main_scene="res://shower.tscn"
|
run/main_scene="res://shower.tscn"
|
||||||
config/features=PackedStringArray("4.2")
|
config/features=PackedStringArray("4.0")
|
||||||
config/icon="res://icon.webp"
|
config/icon="res://icon.webp"
|
||||||
|
config/tags=PackedStringArray("2d", "demo", "official", "performance")
|
||||||
|
|
||||||
[display]
|
[display]
|
||||||
|
|
||||||
|
|||||||
@@ -33,16 +33,14 @@ func _process(delta):
|
|||||||
if velocity.x != 0:
|
if velocity.x != 0:
|
||||||
$AnimatedSprite2D.animation = &"right"
|
$AnimatedSprite2D.animation = &"right"
|
||||||
$AnimatedSprite2D.flip_v = false
|
$AnimatedSprite2D.flip_v = false
|
||||||
$Trail.rotation = 0
|
|
||||||
$AnimatedSprite2D.flip_h = velocity.x < 0
|
$AnimatedSprite2D.flip_h = velocity.x < 0
|
||||||
elif velocity.y != 0:
|
elif velocity.y != 0:
|
||||||
$AnimatedSprite2D.animation = &"up"
|
$AnimatedSprite2D.animation = &"up"
|
||||||
rotation = PI if velocity.y > 0 else 0
|
$AnimatedSprite2D.flip_v = velocity.y > 0
|
||||||
|
|
||||||
|
|
||||||
func start(pos):
|
func start(pos):
|
||||||
position = pos
|
position = pos
|
||||||
rotation = 0
|
|
||||||
show()
|
show()
|
||||||
$CollisionShape2D.disabled = false
|
$CollisionShape2D.disabled = false
|
||||||
|
|
||||||
|
|||||||
@@ -8,24 +8,12 @@
|
|||||||
|
|
||||||
[sub_resource type="SpriteFrames" id="1"]
|
[sub_resource type="SpriteFrames" id="1"]
|
||||||
animations = [{
|
animations = [{
|
||||||
"frames": [{
|
"frames": [ExtResource( "2" ), ExtResource( "3" )],
|
||||||
"duration": 1.0,
|
|
||||||
"texture": ExtResource("2")
|
|
||||||
}, {
|
|
||||||
"duration": 1.0,
|
|
||||||
"texture": ExtResource("3")
|
|
||||||
}],
|
|
||||||
"loop": true,
|
"loop": true,
|
||||||
"name": &"right",
|
"name": &"right",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}, {
|
}, {
|
||||||
"frames": [{
|
"frames": [ExtResource( "4" ), ExtResource( "5" )],
|
||||||
"duration": 1.0,
|
|
||||||
"texture": ExtResource("4")
|
|
||||||
}, {
|
|
||||||
"duration": 1.0,
|
|
||||||
"texture": ExtResource("5")
|
|
||||||
}],
|
|
||||||
"loop": true,
|
"loop": true,
|
||||||
"name": &"up",
|
"name": &"up",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
@@ -39,37 +27,37 @@ height = 68.0
|
|||||||
colors = PackedColorArray(1, 1, 1, 0.501961, 1, 1, 1, 0)
|
colors = PackedColorArray(1, 1, 1, 0.501961, 1, 1, 1, 0)
|
||||||
|
|
||||||
[sub_resource type="GradientTexture1D" id="4"]
|
[sub_resource type="GradientTexture1D" id="4"]
|
||||||
gradient = SubResource("3")
|
gradient = SubResource( "3" )
|
||||||
|
|
||||||
[sub_resource type="Curve" id="5"]
|
[sub_resource type="Curve" id="5"]
|
||||||
_data = [Vector2(0.00501098, 0.5), 0.0, 0.0, 0, 0, Vector2(0.994989, 0.324), 0.0, 0.0, 0, 0]
|
_data = [Vector2(0.00501098, 0.5), 0.0, 0.0, 0, 0, Vector2(0.994989, 0.324), 0.0, 0.0, 0, 0]
|
||||||
point_count = 2
|
|
||||||
|
|
||||||
[sub_resource type="CurveTexture" id="6"]
|
[sub_resource type="CurveTexture" id="6"]
|
||||||
curve = SubResource("5")
|
curve = SubResource( "5" )
|
||||||
|
|
||||||
[sub_resource type="ParticleProcessMaterial" id="7"]
|
[sub_resource type="ParticlesMaterial" id="7"]
|
||||||
gravity = Vector3(0, 0, 0)
|
gravity = Vector3(0, 0, 0)
|
||||||
scale_curve = SubResource("6")
|
scale_curve = SubResource( "6" )
|
||||||
color_ramp = SubResource("4")
|
color_ramp = SubResource( "4" )
|
||||||
|
|
||||||
[node name="Player" type="Area2D"]
|
[node name="Player" type="Area2D"]
|
||||||
z_index = 10
|
z_index = 10
|
||||||
script = ExtResource("1")
|
script = ExtResource( "1" )
|
||||||
|
|
||||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||||
scale = Vector2(0.5, 0.5)
|
scale = Vector2(0.5, 0.5)
|
||||||
sprite_frames = SubResource("1")
|
frames = SubResource( "1" )
|
||||||
animation = &"right"
|
animation = &"right"
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
shape = SubResource("2")
|
shape = SubResource( "2" )
|
||||||
|
|
||||||
[node name="Trail" type="GPUParticles2D" parent="."]
|
[node name="Trail" type="GPUParticles2D" parent="."]
|
||||||
z_index = -1
|
z_index = -1
|
||||||
amount = 10
|
amount = 10
|
||||||
process_material = SubResource("7")
|
|
||||||
texture = ExtResource("2")
|
|
||||||
speed_scale = 2.0
|
speed_scale = 2.0
|
||||||
|
local_coords = false
|
||||||
|
process_material = SubResource( "7" )
|
||||||
|
texture = ExtResource( "2" )
|
||||||
|
|
||||||
[connection signal="body_entered" from="." to="." method="_on_Player_body_entered"]
|
[connection signal="body_entered" from="." to="." method="_on_Player_body_entered"]
|
||||||
|
|||||||
@@ -17,10 +17,10 @@ and avoid the enemies for as long as possible.
|
|||||||
This is a finished version of the game featured in the 'Your first 2D game'
|
This is a finished version of the game featured in the 'Your first 2D game'
|
||||||
tutorial in the documentation. For more details, consider
|
tutorial in the documentation. For more details, consider
|
||||||
following the tutorial in the documentation."
|
following the tutorial in the documentation."
|
||||||
config/tags=PackedStringArray("2d", "demo", "official")
|
|
||||||
run/main_scene="res://Main.tscn"
|
run/main_scene="res://Main.tscn"
|
||||||
config/features=PackedStringArray("4.2")
|
config/features=PackedStringArray("4.0")
|
||||||
config/icon="res://icon.webp"
|
config/icon="res://icon.webp"
|
||||||
|
config/tags=PackedStringArray("2d", "demo", "official")
|
||||||
|
|
||||||
[debug]
|
[debug]
|
||||||
|
|
||||||
|
|||||||
@@ -14,10 +14,10 @@ config/name="Hierarchical Finite State Machine"
|
|||||||
config/description="This example shows how to apply the State machine programming
|
config/description="This example shows how to apply the State machine programming
|
||||||
pattern in GDscript, including Hierarchical States, and a
|
pattern in GDscript, including Hierarchical States, and a
|
||||||
pushdown automaton."
|
pushdown automaton."
|
||||||
config/tags=PackedStringArray("2d", "ai", "demo", "official")
|
|
||||||
run/main_scene="res://Demo.tscn"
|
run/main_scene="res://Demo.tscn"
|
||||||
config/features=PackedStringArray("4.2")
|
config/features=PackedStringArray("4.0")
|
||||||
config/icon="res://icon.webp"
|
config/icon="res://icon.webp"
|
||||||
|
config/tags=PackedStringArray("2d", "ai", "demo", "official")
|
||||||
|
|
||||||
[display]
|
[display]
|
||||||
|
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/glow_map.webp-13400453956ba4dd65042386a2d4cf6
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/ocean_beach.png-b571ab5468cc775a520aaa47efbed
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/ocean_cave.png-2a86f381e3092b4cb698b627d778e1
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -14,11 +14,11 @@ config/name="Glow for 2D"
|
|||||||
config/description="This showcases how to use glow in a 2D game via the WorldEnvironment node.
|
config/description="This showcases how to use glow in a 2D game via the WorldEnvironment node.
|
||||||
|
|
||||||
Slide the cave image left and right to observe the glow effect at work."
|
Slide the cave image left and right to observe the glow effect at work."
|
||||||
config/tags=PackedStringArray("2d", "demo", "official", "rendering")
|
|
||||||
run/main_scene="res://beach_cave.tscn"
|
run/main_scene="res://beach_cave.tscn"
|
||||||
config/features=PackedStringArray("4.2")
|
config/features=PackedStringArray("4.0")
|
||||||
config/icon="res://icon.webp"
|
config/icon="res://icon.webp"
|
||||||
run/name=""
|
run/name=""
|
||||||
|
config/tags=PackedStringArray("2d", "demo", "official", "rendering")
|
||||||
|
|
||||||
[display]
|
[display]
|
||||||
|
|
||||||
@@ -31,7 +31,7 @@ window/stretch/aspect="expand"
|
|||||||
|
|
||||||
toggle_glow_map={
|
toggle_glow_map={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":71,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
|
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":71,"physical_keycode":0,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -12,10 +12,10 @@ config_version=5
|
|||||||
|
|
||||||
config/name="Hexagonal Game"
|
config/name="Hexagonal Game"
|
||||||
config/description="Very simple demo showing a hexagonal TileMap and TileSet."
|
config/description="Very simple demo showing a hexagonal TileMap and TileSet."
|
||||||
config/tags=PackedStringArray("2d", "demo", "official", "tilemap")
|
|
||||||
run/main_scene="res://map.tscn"
|
run/main_scene="res://map.tscn"
|
||||||
config/features=PackedStringArray("4.2")
|
config/features=PackedStringArray("4.0")
|
||||||
config/icon="res://icon.webp"
|
config/icon="res://icon.webp"
|
||||||
|
config/tags=PackedStringArray("2d", "demo", "official", "tilemap")
|
||||||
|
|
||||||
[display]
|
[display]
|
||||||
|
|
||||||
@@ -28,32 +28,32 @@ move_down={
|
|||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":13,"pressure":0.0,"pressed":false,"script":null)
|
"events": [Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":13,"pressure":0.0,"pressed":false,"script":null)
|
||||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":1.0,"script":null)
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":1.0,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":0,"echo":false,"script":null)
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194322,"key_label":0,"unicode":0,"echo":false,"script":null)
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194322,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
move_left={
|
move_left={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null)
|
"events": [Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null)
|
||||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null)
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":0,"echo":false,"script":null)
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"echo":false,"script":null)
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
move_right={
|
move_right={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":15,"pressure":0.0,"pressed":false,"script":null)
|
"events": [Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":15,"pressure":0.0,"pressed":false,"script":null)
|
||||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null)
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":0,"echo":false,"script":null)
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"echo":false,"script":null)
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
move_up={
|
move_up={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":12,"pressure":0.0,"pressed":false,"script":null)
|
"events": [Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":12,"pressure":0.0,"pressed":false,"script":null)
|
||||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null)
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":0,"echo":false,"script":null)
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"echo":false,"script":null)
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-01.png-a74af26d994adfc547572b5b9c0c4034.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-02.png-9a9ae8a623554db2531366e8a06b737a.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-03.png-111a68b27c5234ed5719f8591af32a0c.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-04.png-f26081179f39965c61294d932b10ab21.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-05.png-744e3aac04e57d14153c9ab15d0f478b.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-06.png-42fd05901daa928f55c39f581f1c698b.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-07.png-8e87a5146f132f36aecf29c26d16ff69.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-08.png-9ab3b0ed6304c6b282e0c1c2866f4c65.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-09.png-c899d1db7b10c4bc6e5c8ad44627c439.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-10.png-c7e17e1ca741da0752bae015501fa73f.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-11.png-109af6474e89a87a4598cb99f608a4f7.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-12.png-dfbf3da77ce636a3e88f9e62405a950b.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-13.png-cef8d6fe42386e917ad3aa9b9c54f031.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-14.png-b9075987807eba6a461b896e310a1b8a.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-15.png-00500699e949fc7109f5946f459a9877.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-16.png-fbcd640a627612e528382718aecef7c7.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-17.png-eb18073021ced526bfb8971a84830c46.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-18.png-82273bf41643f8f544a05cdc2226c3b8.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-19.png-5894de00e931e36aaec31583c3ddce5c.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-20.png-88080834968c597a14e2fa47d72452ca.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-21.png-390238468871139dc33ef039ad919c91.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-22.png-61b6f2ffc488560cd737af0df3a2aff4.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-23.png-67ddb05725964560ee768025fb1ace6c.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-24.png-f708ede817cd745747bd03a5050d20d7.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-25.png-8d42552ab8c27a7d4782e3da8de397f1.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/WWT-26.png-317f2102fb6abd09801389544f53c0e1.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/troll.png-78efc50bfccaa17f54d40cfea3eef5f5.ct
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/bowling_ball.png-0fe48f78a8537b41cee7fd03e5ee
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -13,10 +13,10 @@ config_version=5
|
|||||||
config/name="Scene Instancing Demo"
|
config/name="Scene Instancing Demo"
|
||||||
config/description="A demo showing how to use scene instancing to
|
config/description="A demo showing how to use scene instancing to
|
||||||
make many duplicates of the same object."
|
make many duplicates of the same object."
|
||||||
config/tags=PackedStringArray("2d", "demo", "official")
|
|
||||||
run/main_scene="res://scene_instancing.tscn"
|
run/main_scene="res://scene_instancing.tscn"
|
||||||
config/features=PackedStringArray("4.2")
|
config/features=PackedStringArray("4.0")
|
||||||
config/icon="res://icon.webp"
|
config/icon="res://icon.webp"
|
||||||
|
config/tags=PackedStringArray("2d", "demo", "official")
|
||||||
|
|
||||||
[display]
|
[display]
|
||||||
|
|
||||||
@@ -29,6 +29,6 @@ window/stretch/aspect="expand"
|
|||||||
|
|
||||||
[rendering]
|
[rendering]
|
||||||
|
|
||||||
renderer/rendering_method="mobile"
|
|
||||||
environment/defaults/default_clear_color=Color(0.239216, 0.0823529, 0.156863, 1)
|
environment/defaults/default_clear_color=Color(0.239216, 0.0823529, 0.156863, 1)
|
||||||
anti_aliasing/quality/msaa_2d=2
|
anti_aliasing/quality/msaa_2d=2
|
||||||
|
renderer/rendering_method="mobile"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ as well as be occluded when standing in front or behind them.
|
|||||||
|
|
||||||
Language: GDScript
|
Language: GDScript
|
||||||
|
|
||||||
Renderer: Compatibility
|
Renderer: GLES 2
|
||||||
|
|
||||||
Check out this demo on the asset library: https://godotengine.org/asset-library/asset/112
|
Check out this demo on the asset library: https://godotengine.org/asset-library/asset/112
|
||||||
|
|
||||||
@@ -21,10 +21,6 @@ and [`CollisionPolygon2D`](https://docs.godotengine.org/en/latest/classes/class_
|
|||||||
at their base. The player also has a collider at its base,
|
at their base. The player also has a collider at its base,
|
||||||
which makes the player collide with the level.
|
which makes the player collide with the level.
|
||||||
|
|
||||||
2D lighting effects are achieved using a mixture of PointLight2D nodes (which provide real-time shadows)
|
|
||||||
and pre-placed Polygon2Ds with sprites. To provide additional ambient shading, the goblin also has a blob
|
|
||||||
shadow below its feet (a Sprite2D with a texture).
|
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 4.5 KiB |
@@ -1,20 +0,0 @@
|
|||||||
[gd_scene load_steps=3 format=2]
|
|
||||||
|
|
||||||
[ext_resource path="res://decorations/bone_pile_1.png" type="Texture2D" id=1]
|
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape2D" id=1]
|
|
||||||
radius = 18.0
|
|
||||||
height = 28.0
|
|
||||||
|
|
||||||
[node name="bone_pile" type="Node2D"]
|
|
||||||
|
|
||||||
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
|
||||||
|
|
||||||
[node name="Sprite2D" type="Sprite2D" parent="StaticBody2D"]
|
|
||||||
position = Vector2( 0, -14 )
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
|
||||||
position = Vector2( 0, -15 )
|
|
||||||
rotation = 1.5708
|
|
||||||
shape = SubResource( 1 )
|
|
||||||
|
Before Width: | Height: | Size: 4.2 KiB |
@@ -1,20 +0,0 @@
|
|||||||
[gd_scene load_steps=3 format=2]
|
|
||||||
|
|
||||||
[ext_resource path="res://decorations/bone_pile_2.png" type="Texture2D" id=1]
|
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape2D" id=1]
|
|
||||||
radius = 13.0
|
|
||||||
height = 26.0001
|
|
||||||
|
|
||||||
[node name="bone_pile" type="Node2D"]
|
|
||||||
|
|
||||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
||||||
position = Vector2( 0, -13 )
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
|
|
||||||
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
|
||||||
position = Vector2( 0, -13 )
|
|
||||||
rotation = 1.5708
|
|
||||||
shape = SubResource( 1 )
|
|
||||||
|
Before Width: | Height: | Size: 3.9 KiB |
@@ -1,131 +0,0 @@
|
|||||||
[gd_scene load_steps=14 format=2]
|
|
||||||
|
|
||||||
[ext_resource path="res://decorations/sparkle.png" type="Texture2D" id=1]
|
|
||||||
[ext_resource path="res://decorations/candle.png" type="Texture2D" id=2]
|
|
||||||
[ext_resource path="res://decorations/fire.png" type="Texture2D" id=3]
|
|
||||||
[ext_resource path="res://decorations/glow.png" type="Texture2D" id=4]
|
|
||||||
|
|
||||||
[sub_resource type="CanvasItemMaterial" id=1]
|
|
||||||
particles_animation = true
|
|
||||||
particles_anim_h_frames = 11
|
|
||||||
particles_anim_v_frames = 1
|
|
||||||
particles_anim_loop = false
|
|
||||||
|
|
||||||
[sub_resource type="Gradient" id=2]
|
|
||||||
offsets = PackedFloat32Array( 0, 0.625698, 1 )
|
|
||||||
colors = PackedColorArray( 1, 0.584314, 0, 1, 1, 0.84063, 0.226563, 1, 1, 0.584314, 0, 1 )
|
|
||||||
|
|
||||||
[sub_resource type="CanvasItemMaterial" id=3]
|
|
||||||
blend_mode = 1
|
|
||||||
particles_animation = true
|
|
||||||
particles_anim_h_frames = 8
|
|
||||||
particles_anim_v_frames = 1
|
|
||||||
particles_anim_loop = false
|
|
||||||
|
|
||||||
[sub_resource type="Curve" id=4]
|
|
||||||
max_value = 0.3
|
|
||||||
_data = [ Vector2( 0, 0 ), 0.0, 1.36377, 0, 0, Vector2( 0.262376, 0.188182 ), 0.41974, 0.41974, 0, 0, Vector2( 1, 0.0295454 ), -1.06101, 0.0, 0, 0 ]
|
|
||||||
|
|
||||||
[sub_resource type="Gradient" id=5]
|
|
||||||
offsets = PackedFloat32Array( 0, 0.435754, 1 )
|
|
||||||
colors = PackedColorArray( 1, 0.351563, 0, 1, 0.895996, 0.745333, 0.230999, 1, 1, 0.426842, 0.0234375, 1 )
|
|
||||||
|
|
||||||
[sub_resource type="Gradient" id=12]
|
|
||||||
offsets = PackedFloat32Array( 0, 0.100559, 0.234637, 0.480447, 0.603352, 1 )
|
|
||||||
colors = PackedColorArray( 0.714844, 0.714844, 0.714844, 1, 0.382813, 0.382813, 0.382813, 1, 0.601563, 0.601563, 0.601563, 1, 0.229687, 0.229687, 0.229687, 1, 0.0197581, 0.0197581, 0.0197581, 1, 0, 0, 0, 1 )
|
|
||||||
|
|
||||||
[sub_resource type="GradientTexture2D" id=9]
|
|
||||||
gradient = SubResource( 12 )
|
|
||||||
width = 128
|
|
||||||
height = 128
|
|
||||||
fill = 1
|
|
||||||
fill_from = Vector2( 0.5, 0.5 )
|
|
||||||
fill_to = Vector2( 0, 0 )
|
|
||||||
|
|
||||||
[sub_resource type="Gradient" id=13]
|
|
||||||
offsets = PackedFloat32Array( 0.0111732, 0.843575 )
|
|
||||||
colors = PackedColorArray( 0.648926, 0.648926, 0.648926, 1, 0, 0, 0, 1 )
|
|
||||||
|
|
||||||
[sub_resource type="GradientTexture2D" id=10]
|
|
||||||
gradient = SubResource( 13 )
|
|
||||||
width = 800
|
|
||||||
height = 500
|
|
||||||
fill = 1
|
|
||||||
fill_from = Vector2( 0.5, 0.5 )
|
|
||||||
|
|
||||||
[node name="Node2D" type="Node2D"]
|
|
||||||
|
|
||||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
||||||
light_mask = 128
|
|
||||||
position = Vector2( 0, -11 )
|
|
||||||
texture = ExtResource( 2 )
|
|
||||||
|
|
||||||
[node name="glow" type="CPUParticles2D" parent="Sprite2D"]
|
|
||||||
modulate = Color( 1, 0.360784, 0.113725, 1 )
|
|
||||||
light_mask = 128
|
|
||||||
position = Vector2( -13, -33.244 )
|
|
||||||
scale = Vector2( 0.3, 0.5 )
|
|
||||||
amount = 1
|
|
||||||
lifetime = 0.8
|
|
||||||
texture = ExtResource( 4 )
|
|
||||||
gravity = Vector2( 0, 0 )
|
|
||||||
|
|
||||||
[node name="Fire" type="CPUParticles2D" parent="Sprite2D"]
|
|
||||||
light_mask = 128
|
|
||||||
material = SubResource( 1 )
|
|
||||||
position = Vector2( -13, -35 )
|
|
||||||
scale = Vector2( 0.6, 0.6 )
|
|
||||||
amount = 1
|
|
||||||
lifetime = 0.8
|
|
||||||
texture = ExtResource( 3 )
|
|
||||||
gravity = Vector2( 0, 0 )
|
|
||||||
color_ramp = SubResource( 2 )
|
|
||||||
anim_speed = 1.0
|
|
||||||
|
|
||||||
[node name="Sparkle" type="CPUParticles2D" parent="Sprite2D"]
|
|
||||||
light_mask = 128
|
|
||||||
material = SubResource( 3 )
|
|
||||||
position = Vector2( -13, -35 )
|
|
||||||
scale = Vector2( 0.6, 0.6 )
|
|
||||||
amount = 3
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
emission_shape = 1
|
|
||||||
emission_sphere_radius = 8.0
|
|
||||||
gravity = Vector2( 0, -80 )
|
|
||||||
angular_velocity = 1.0
|
|
||||||
tangential_accel = 49.54
|
|
||||||
scale_amount_curve = SubResource( 4 )
|
|
||||||
color_ramp = SubResource( 5 )
|
|
||||||
anim_speed = 1.0
|
|
||||||
|
|
||||||
[node name="flow front" type="CPUParticles2D" parent="Sprite2D"]
|
|
||||||
modulate = Color( 0.94902, 1, 0, 1 )
|
|
||||||
light_mask = 128
|
|
||||||
position = Vector2( -13, -28.689 )
|
|
||||||
scale = Vector2( 0.25, 0.25 )
|
|
||||||
amount = 1
|
|
||||||
lifetime = 0.8
|
|
||||||
texture = ExtResource( 4 )
|
|
||||||
gravity = Vector2( 0, 0 )
|
|
||||||
|
|
||||||
[node name="Light2D2" type="PointLight2D" parent="."]
|
|
||||||
light_mask = 2
|
|
||||||
position = Vector2( -15, -49 )
|
|
||||||
texture = SubResource( 9 )
|
|
||||||
color = Color( 1, 0.466667, 0.0352941, 1 )
|
|
||||||
energy = 2.0
|
|
||||||
range_height = 450.9
|
|
||||||
range_item_cull_mask = 145
|
|
||||||
shadow_buffer_size = 512
|
|
||||||
shadow_gradient_length = 30.0
|
|
||||||
shadow_item_cull_mask = 145
|
|
||||||
|
|
||||||
[node name="PointLight2D" type="PointLight2D" parent="."]
|
|
||||||
light_mask = 2
|
|
||||||
texture = SubResource( 10 )
|
|
||||||
color = Color( 0.709804, 0.388235, 0.313726, 1 )
|
|
||||||
range_height = 901.9
|
|
||||||
range_item_cull_mask = 17
|
|
||||||
shadow_enabled = true
|
|
||||||
shadow_gradient_length = 20.0
|
|
||||||
shadow_item_cull_mask = 17
|
|
||||||
|
Before Width: | Height: | Size: 5.0 KiB |
@@ -1,34 +0,0 @@
|
|||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="CompressedTexture2D"
|
|
||||||
uid="uid://b6sjbdj350qkj"
|
|
||||||
path="res://.godot/imported/coin_pile.png-e6c4ef8bf22301fe805244aafb152afe.ctex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://decorations/coin_pile.png"
|
|
||||||
dest_files=["res://.godot/imported/coin_pile.png-e6c4ef8bf22301fe805244aafb152afe.ctex"]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
compress/mode=0
|
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
|
||||||
compress/hdr_compression=1
|
|
||||||
compress/normal_map=0
|
|
||||||
compress/channel_pack=0
|
|
||||||
mipmaps/generate=false
|
|
||||||
mipmaps/limit=-1
|
|
||||||
roughness/mode=0
|
|
||||||
roughness/src_normal=""
|
|
||||||
process/fix_alpha_border=true
|
|
||||||
process/premult_alpha=false
|
|
||||||
process/normal_map_invert_y=false
|
|
||||||
process/hdr_as_srgb=false
|
|
||||||
process/hdr_clamp_exposure=false
|
|
||||||
process/size_limit=0
|
|
||||||
detect_3d/compress_to=1
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
[gd_scene load_steps=3 format=2]
|
|
||||||
|
|
||||||
[ext_resource path="res://decorations/coin_pile.png" type="Texture2D" id=1]
|
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape2D" id=1]
|
|
||||||
radius = 12.0
|
|
||||||
height = 38.0
|
|
||||||
|
|
||||||
[node name="coin_pile" type="Node2D"]
|
|
||||||
|
|
||||||
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
|
||||||
|
|
||||||
[node name="Sprite2D" type="Sprite2D" parent="StaticBody2D"]
|
|
||||||
position = Vector2( 0, -23 )
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
|
||||||
position = Vector2( 0, -13 )
|
|
||||||
rotation = 1.5708
|
|
||||||
shape = SubResource( 1 )
|
|
||||||
|
Before Width: | Height: | Size: 77 KiB |
@@ -1,34 +0,0 @@
|
|||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="CompressedTexture2D"
|
|
||||||
uid="uid://dami7imxtk2iq"
|
|
||||||
path="res://.godot/imported/crow_looking.png-21ce662085fe50bb572e6cecb19ea02a.ctex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://decorations/crow_looking.png"
|
|
||||||
dest_files=["res://.godot/imported/crow_looking.png-21ce662085fe50bb572e6cecb19ea02a.ctex"]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
compress/mode=0
|
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
|
||||||
compress/hdr_compression=1
|
|
||||||
compress/normal_map=0
|
|
||||||
compress/channel_pack=0
|
|
||||||
mipmaps/generate=false
|
|
||||||
mipmaps/limit=-1
|
|
||||||
roughness/mode=0
|
|
||||||
roughness/src_normal=""
|
|
||||||
process/fix_alpha_border=true
|
|
||||||
process/premult_alpha=false
|
|
||||||
process/normal_map_invert_y=false
|
|
||||||
process/hdr_as_srgb=false
|
|
||||||
process/hdr_clamp_exposure=false
|
|
||||||
process/size_limit=0
|
|
||||||
detect_3d/compress_to=1
|
|
||||||
|
Before Width: | Height: | Size: 51 KiB |
@@ -1,34 +0,0 @@
|
|||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="CompressedTexture2D"
|
|
||||||
uid="uid://d3j0qnogdctw4"
|
|
||||||
path="res://.godot/imported/crow_sleep.png-8118ad8761e95d588250a6deae9ca9c0.ctex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://decorations/crow_sleep.png"
|
|
||||||
dest_files=["res://.godot/imported/crow_sleep.png-8118ad8761e95d588250a6deae9ca9c0.ctex"]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
compress/mode=0
|
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
|
||||||
compress/hdr_compression=1
|
|
||||||
compress/normal_map=0
|
|
||||||
compress/channel_pack=0
|
|
||||||
mipmaps/generate=false
|
|
||||||
mipmaps/limit=-1
|
|
||||||
roughness/mode=0
|
|
||||||
roughness/src_normal=""
|
|
||||||
process/fix_alpha_border=true
|
|
||||||
process/premult_alpha=false
|
|
||||||
process/normal_map_invert_y=false
|
|
||||||
process/hdr_as_srgb=false
|
|
||||||
process/hdr_clamp_exposure=false
|
|
||||||
process/size_limit=0
|
|
||||||
detect_3d/compress_to=1
|
|
||||||
|
Before Width: | Height: | Size: 9.2 KiB |
|
Before Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
@@ -1,9 +0,0 @@
|
|||||||
[gd_scene load_steps=2 format=2]
|
|
||||||
|
|
||||||
[ext_resource path="res://decorations/shadow_gradient.png" type="Texture2D" id=1]
|
|
||||||
|
|
||||||
[node name="InternalShadow" type="Polygon2D"]
|
|
||||||
color = Color( 0.0705882, 0.0705882, 0.266667, 0.85098 )
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
polygon = PackedVector2Array( -92, -289, -94, 1, 128, -1, 121, -295 )
|
|
||||||
uv = PackedVector2Array( -2, -1, -2, 292, 264, 291, 261, -2 )
|
|
||||||
|
Before Width: | Height: | Size: 6.8 KiB |
@@ -1,34 +0,0 @@
|
|||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="CompressedTexture2D"
|
|
||||||
uid="uid://dmqbp4e43sm1t"
|
|
||||||
path="res://.godot/imported/paw_prints.png-f99788aaeccec00607d299cbda1deba3.ctex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://decorations/paw_prints.png"
|
|
||||||
dest_files=["res://.godot/imported/paw_prints.png-f99788aaeccec00607d299cbda1deba3.ctex"]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
compress/mode=0
|
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
|
||||||
compress/hdr_compression=1
|
|
||||||
compress/normal_map=0
|
|
||||||
compress/channel_pack=0
|
|
||||||
mipmaps/generate=false
|
|
||||||
mipmaps/limit=-1
|
|
||||||
roughness/mode=0
|
|
||||||
roughness/src_normal=""
|
|
||||||
process/fix_alpha_border=true
|
|
||||||
process/premult_alpha=false
|
|
||||||
process/normal_map_invert_y=false
|
|
||||||
process/hdr_as_srgb=false
|
|
||||||
process/hdr_clamp_exposure=false
|
|
||||||
process/size_limit=0
|
|
||||||
detect_3d/compress_to=1
|
|
||||||
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 5.1 KiB |
@@ -1,34 +0,0 @@
|
|||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="CompressedTexture2D"
|
|
||||||
uid="uid://cmxo4k7h2nl7h"
|
|
||||||
path="res://.godot/imported/shadow_gradient.png-ada77e271da2569a07ee8c308bf8f891.ctex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://decorations/shadow_gradient.png"
|
|
||||||
dest_files=["res://.godot/imported/shadow_gradient.png-ada77e271da2569a07ee8c308bf8f891.ctex"]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
compress/mode=0
|
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
|
||||||
compress/hdr_compression=1
|
|
||||||
compress/normal_map=0
|
|
||||||
compress/channel_pack=0
|
|
||||||
mipmaps/generate=false
|
|
||||||
mipmaps/limit=-1
|
|
||||||
roughness/mode=0
|
|
||||||
roughness/src_normal=""
|
|
||||||
process/fix_alpha_border=true
|
|
||||||
process/premult_alpha=false
|
|
||||||
process/normal_map_invert_y=false
|
|
||||||
process/hdr_as_srgb=false
|
|
||||||
process/hdr_clamp_exposure=false
|
|
||||||
process/size_limit=0
|
|
||||||
detect_3d/compress_to=1
|
|
||||||
|
Before Width: | Height: | Size: 6.6 KiB |
@@ -1,34 +0,0 @@
|
|||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="CompressedTexture2D"
|
|
||||||
uid="uid://bs6uc40vmpmhd"
|
|
||||||
path="res://.godot/imported/sparkle.png-19a635cf744f1090fe6b7df22aa07aa4.ctex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://decorations/sparkle.png"
|
|
||||||
dest_files=["res://.godot/imported/sparkle.png-19a635cf744f1090fe6b7df22aa07aa4.ctex"]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
compress/mode=0
|
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
|
||||||
compress/hdr_compression=1
|
|
||||||
compress/normal_map=0
|
|
||||||
compress/channel_pack=0
|
|
||||||
mipmaps/generate=false
|
|
||||||
mipmaps/limit=-1
|
|
||||||
roughness/mode=0
|
|
||||||
roughness/src_normal=""
|
|
||||||
process/fix_alpha_border=true
|
|
||||||
process/premult_alpha=false
|
|
||||||
process/normal_map_invert_y=false
|
|
||||||
process/hdr_as_srgb=false
|
|
||||||
process/hdr_clamp_exposure=false
|
|
||||||
process/size_limit=0
|
|
||||||
detect_3d/compress_to=1
|
|
||||||
|
Before Width: | Height: | Size: 6.1 KiB |
@@ -1,20 +0,0 @@
|
|||||||
[gd_scene load_steps=3 format=3 uid="uid://dxxtyefaa4rtn"]
|
|
||||||
|
|
||||||
[ext_resource type="Texture2D" uid="uid://qqvwu82wedp2" path="res://decorations/vase_1.png" id="1"]
|
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape2D" id="1"]
|
|
||||||
radius = 9.0
|
|
||||||
|
|
||||||
[node name="Vase1" type="Node2D"]
|
|
||||||
y_sort_enabled = true
|
|
||||||
|
|
||||||
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
|
||||||
|
|
||||||
[node name="Sprite2D" type="Sprite2D" parent="StaticBody2D"]
|
|
||||||
position = Vector2(0, -29)
|
|
||||||
texture = ExtResource("1")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
|
||||||
position = Vector2(0, -9)
|
|
||||||
rotation = 1.5708
|
|
||||||
shape = SubResource("1")
|
|
||||||
|
Before Width: | Height: | Size: 4.0 KiB |
@@ -1,34 +0,0 @@
|
|||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="CompressedTexture2D"
|
|
||||||
uid="uid://cfl2km5k5pbgd"
|
|
||||||
path="res://.godot/imported/vase_2.png-d6cca4a3647dd9b8a230cb201e6f4d32.ctex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://decorations/vase_2.png"
|
|
||||||
dest_files=["res://.godot/imported/vase_2.png-d6cca4a3647dd9b8a230cb201e6f4d32.ctex"]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
compress/mode=0
|
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
|
||||||
compress/hdr_compression=1
|
|
||||||
compress/normal_map=0
|
|
||||||
compress/channel_pack=0
|
|
||||||
mipmaps/generate=false
|
|
||||||
mipmaps/limit=-1
|
|
||||||
roughness/mode=0
|
|
||||||
roughness/src_normal=""
|
|
||||||
process/fix_alpha_border=true
|
|
||||||
process/premult_alpha=false
|
|
||||||
process/normal_map_invert_y=false
|
|
||||||
process/hdr_as_srgb=false
|
|
||||||
process/hdr_clamp_exposure=false
|
|
||||||
process/size_limit=0
|
|
||||||
detect_3d/compress_to=1
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
[gd_scene load_steps=3 format=3 uid="uid://ccxtgas16pmio"]
|
|
||||||
|
|
||||||
[ext_resource type="Texture2D" uid="uid://cfl2km5k5pbgd" path="res://decorations/vase_2.png" id="1"]
|
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape2D" id="1"]
|
|
||||||
radius = 9.0
|
|
||||||
height = 18.0
|
|
||||||
|
|
||||||
[node name="vase2" type="Node2D"]
|
|
||||||
y_sort_enabled = true
|
|
||||||
|
|
||||||
[node name="Area2D" type="StaticBody2D" parent="."]
|
|
||||||
|
|
||||||
[node name="Sprite2D" type="Sprite2D" parent="Area2D"]
|
|
||||||
position = Vector2(0, -20)
|
|
||||||
texture = ExtResource("1")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
||||||
position = Vector2(0, -8)
|
|
||||||
rotation = 1.5708
|
|
||||||
shape = SubResource("1")
|
|
||||||
|
Before Width: | Height: | Size: 14 KiB |
@@ -1,34 +0,0 @@
|
|||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="CompressedTexture2D"
|
|
||||||
uid="uid://cy8biel27i5i7"
|
|
||||||
path="res://.godot/imported/wall_skull.png-b65fc438ee51c09cef1ea57aa5c7d6b2.ctex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://decorations/wall_skull.png"
|
|
||||||
dest_files=["res://.godot/imported/wall_skull.png-b65fc438ee51c09cef1ea57aa5c7d6b2.ctex"]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
compress/mode=0
|
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
|
||||||
compress/hdr_compression=1
|
|
||||||
compress/normal_map=0
|
|
||||||
compress/channel_pack=0
|
|
||||||
mipmaps/generate=false
|
|
||||||
mipmaps/limit=-1
|
|
||||||
roughness/mode=0
|
|
||||||
roughness/src_normal=""
|
|
||||||
process/fix_alpha_border=true
|
|
||||||
process/premult_alpha=false
|
|
||||||
process/normal_map_invert_y=false
|
|
||||||
process/hdr_as_srgb=false
|
|
||||||
process/hdr_clamp_exposure=false
|
|
||||||
process/size_limit=0
|
|
||||||
detect_3d/compress_to=1
|
|
||||||
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 20 KiB |
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://dwrfxefhjkitp"
|
uid="uid://brwp8bimc75uu"
|
||||||
path="res://.godot/imported/icon.webp-e94f9a68b0f625a567a797079e4d325f.ctex"
|
path="res://.godot/imported/icon.webp-e94f9a68b0f625a567a797079e4d325f.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
|
|||||||
BIN
2d/isometric/isotiles.png
Normal file
|
After Width: | Height: | Size: 200 KiB |
@@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://ct0dfl4e14ahx"
|
uid="uid://kqinbs473dse"
|
||||||
path="res://.godot/imported/bush.png-badaceab15106b3b8b1876b38e37a5f0.ctex"
|
path="res://.godot/imported/isotiles.png-502434fe0d6c3fd8ce67cea5a960c208.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://decoration/bush.png"
|
source_file="res://isotiles.png"
|
||||||
dest_files=["res://.godot/imported/bush.png-badaceab15106b3b8b1876b38e37a5f0.ctex"]
|
dest_files=["res://.godot/imported/isotiles.png-502434fe0d6c3fd8ce67cea5a960c208.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
BIN
2d/isometric/merged_tiles.png
Normal file
|
After Width: | Height: | Size: 66 KiB |
@@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://dahfdmuvra5we"
|
uid="uid://cxppwax2lq3dh"
|
||||||
path="res://.godot/imported/drape_1.png-4cc207f7e61e16248cb4322ecca80e49.ctex"
|
path="res://.godot/imported/merged_tiles.png-1135f849610eac944493686e6b29a333.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://decorations/drape_1.png"
|
source_file="res://merged_tiles.png"
|
||||||
dest_files=["res://.godot/imported/drape_1.png-4cc207f7e61e16248cb4322ecca80e49.ctex"]
|
dest_files=["res://.godot/imported/merged_tiles.png-1135f849610eac944493686e6b29a333.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
@@ -1,56 +0,0 @@
|
|||||||
extends CharacterBody2D
|
|
||||||
|
|
||||||
const MOTION_SPEED = 160 # Pixels/second.
|
|
||||||
|
|
||||||
var last_direction = Vector2(1, 0)
|
|
||||||
|
|
||||||
var anim_directions = {
|
|
||||||
"idle": [ # list of [animation name, horizontal flip]
|
|
||||||
["side_right_idle", false],
|
|
||||||
["45front_right_idle", false],
|
|
||||||
["front_idle", false],
|
|
||||||
["45front_left_idle", false],
|
|
||||||
["side_left_idle", false],
|
|
||||||
["45back_left_idle", false],
|
|
||||||
["back_idle", false],
|
|
||||||
["45back_right_idle", false],
|
|
||||||
],
|
|
||||||
|
|
||||||
"walk": [
|
|
||||||
["side_right_walk", false],
|
|
||||||
["45front_right_walk", false],
|
|
||||||
["front_walk", false],
|
|
||||||
["45front_left_walk", false],
|
|
||||||
["side_left_walk", false],
|
|
||||||
["45back_left_walk", false],
|
|
||||||
["back_walk", false],
|
|
||||||
["45back_right_walk", false],
|
|
||||||
],
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
func _physics_process(_delta):
|
|
||||||
var motion = Vector2()
|
|
||||||
motion.x = Input.get_action_strength("move_right") - Input.get_action_strength("move_left")
|
|
||||||
motion.y = Input.get_action_strength("move_down") - Input.get_action_strength("move_up")
|
|
||||||
motion.y /= 2
|
|
||||||
motion = motion.normalized() * MOTION_SPEED
|
|
||||||
#warning-ignore:return_value_discarded
|
|
||||||
set_velocity(motion)
|
|
||||||
move_and_slide()
|
|
||||||
var dir = velocity
|
|
||||||
|
|
||||||
if dir.length() > 0:
|
|
||||||
last_direction = dir
|
|
||||||
update_animation("walk")
|
|
||||||
else:
|
|
||||||
update_animation("idle")
|
|
||||||
|
|
||||||
|
|
||||||
func update_animation(anim_set):
|
|
||||||
|
|
||||||
var angle = rad_to_deg(last_direction.angle()) + 22.5
|
|
||||||
var slice_dir = floor(angle / 45)
|
|
||||||
|
|
||||||
$Sprite2D.play(anim_directions[anim_set][slice_dir][0])
|
|
||||||
$Sprite2D.flip_h = anim_directions[anim_set][slice_dir][1]
|
|
||||||
|
Before Width: | Height: | Size: 2.9 MiB |
@@ -1,34 +0,0 @@
|
|||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="CompressedTexture2D"
|
|
||||||
uid="uid://dpwpop61vufvt"
|
|
||||||
path="res://.godot/imported/goblin.png-32452b37152c86975cc3bde34afb02b5.ctex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://player/goblin.png"
|
|
||||||
dest_files=["res://.godot/imported/goblin.png-32452b37152c86975cc3bde34afb02b5.ctex"]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
compress/mode=0
|
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=1.0
|
|
||||||
compress/hdr_compression=1
|
|
||||||
compress/normal_map=0
|
|
||||||
compress/channel_pack=0
|
|
||||||
mipmaps/generate=false
|
|
||||||
mipmaps/limit=-1
|
|
||||||
roughness/mode=0
|
|
||||||
roughness/src_normal=""
|
|
||||||
process/fix_alpha_border=true
|
|
||||||
process/premult_alpha=false
|
|
||||||
process/normal_map_invert_y=false
|
|
||||||
process/hdr_as_srgb=false
|
|
||||||
process/hdr_clamp_exposure=false
|
|
||||||
process/size_limit=0
|
|
||||||
detect_3d/compress_to=1
|
|
||||||
@@ -15,57 +15,48 @@ config/description="This demo shows a traditional isometric view with depth sort
|
|||||||
|
|
||||||
A character can move around the level and will also slide around objects,
|
A character can move around the level and will also slide around objects,
|
||||||
as well as be occluded when standing in front or behind them."
|
as well as be occluded when standing in front or behind them."
|
||||||
config/tags=PackedStringArray("2d", "demo", "official", "tilemap")
|
|
||||||
run/main_scene="res://dungeon.tscn"
|
run/main_scene="res://dungeon.tscn"
|
||||||
config/features=PackedStringArray("4.2")
|
config/features=PackedStringArray("4.0")
|
||||||
config/icon="res://icon.webp"
|
config/icon="res://icon.webp"
|
||||||
|
config/tags=PackedStringArray("2d", "demo", "official", "tilemap")
|
||||||
|
|
||||||
[display]
|
[display]
|
||||||
|
|
||||||
window/stretch/mode="canvas_items"
|
window/stretch/mode="canvas_items"
|
||||||
window/stretch/aspect="expand"
|
window/stretch/aspect="expand"
|
||||||
|
|
||||||
[gdnative]
|
|
||||||
|
|
||||||
singletons=[]
|
|
||||||
|
|
||||||
[image_loader]
|
|
||||||
|
|
||||||
filter=false
|
|
||||||
gen_mipmaps=false
|
|
||||||
|
|
||||||
[input]
|
[input]
|
||||||
|
|
||||||
move_down={
|
move_down={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194322,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
|
"events": [Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":13,"pressure":0.0,"pressed":false,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":0,"echo":false,"script":null)
|
|
||||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":13,"pressure":0.0,"pressed":false,"script":null)
|
|
||||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":1.0,"script":null)
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":1.0,"script":null)
|
||||||
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||||
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194322,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
move_left={
|
move_left={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194319,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
|
"events": [Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":0,"echo":false,"script":null)
|
|
||||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null)
|
|
||||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null)
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null)
|
||||||
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||||
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
move_right={
|
move_right={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194321,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
|
"events": [Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":15,"pressure":0.0,"pressed":false,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":0,"echo":false,"script":null)
|
|
||||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":15,"pressure":0.0,"pressed":false,"script":null)
|
|
||||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null)
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null)
|
||||||
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||||
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
move_up={
|
move_up={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194320,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
|
"events": [Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":12,"pressure":0.0,"pressed":false,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":0,"echo":false,"script":null)
|
|
||||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":12,"pressure":0.0,"pressed":false,"script":null)
|
|
||||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null)
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null)
|
||||||
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||||
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -73,13 +64,6 @@ move_up={
|
|||||||
|
|
||||||
common/physics_ticks_per_second=120
|
common/physics_ticks_per_second=120
|
||||||
|
|
||||||
[rasterizer]
|
|
||||||
|
|
||||||
use_pixel_snap=true
|
|
||||||
|
|
||||||
[rendering]
|
[rendering]
|
||||||
|
|
||||||
renderer/rendering_method="gl_compatibility"
|
environment/defaults/default_clear_color=Color(0.03, 0.082, 0.15, 1)
|
||||||
environment/defaults/default_clear_color=Color(0.0784314, 0.105882, 0.145098, 1)
|
|
||||||
quality/driver/driver_name="GLES2"
|
|
||||||
vram_compression/import_etc=true
|
|
||||||
|
|||||||
BIN
2d/isometric/screenshots/isometric.png
Normal file
|
After Width: | Height: | Size: 369 KiB |
|
Before Width: | Height: | Size: 686 KiB |
226
2d/isometric/tileset.tres
Normal file
@@ -0,0 +1,226 @@
|
|||||||
|
[gd_resource type="TileSet" load_steps=3 format=3 uid="uid://r7h8te85l3bx"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://cxppwax2lq3dh" path="res://merged_tiles.png" id="2_6vaqu"]
|
||||||
|
|
||||||
|
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_832dk"]
|
||||||
|
texture = ExtResource("2_6vaqu")
|
||||||
|
texture_region_size = Vector2i(140, 140)
|
||||||
|
0:0/next_alternative_id = 8
|
||||||
|
0:0/0 = 0
|
||||||
|
0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
0:0/0/physics_layer_0/angular_velocity = 0.0
|
||||||
|
0:0/1 = 1
|
||||||
|
0:0/1/flip_h = true
|
||||||
|
0:0/1/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
0:0/1/physics_layer_0/angular_velocity = 0.0
|
||||||
|
0:0/2 = 2
|
||||||
|
0:0/2/flip_v = true
|
||||||
|
0:0/2/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
0:0/2/physics_layer_0/angular_velocity = 0.0
|
||||||
|
0:0/3 = 3
|
||||||
|
0:0/3/flip_h = true
|
||||||
|
0:0/3/flip_v = true
|
||||||
|
0:0/3/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
0:0/3/physics_layer_0/angular_velocity = 0.0
|
||||||
|
0:0/4 = 4
|
||||||
|
0:0/4/transpose = true
|
||||||
|
0:0/4/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
0:0/4/physics_layer_0/angular_velocity = 0.0
|
||||||
|
0:0/5 = 5
|
||||||
|
0:0/5/flip_h = true
|
||||||
|
0:0/5/transpose = true
|
||||||
|
0:0/5/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
0:0/5/physics_layer_0/angular_velocity = 0.0
|
||||||
|
0:0/6 = 6
|
||||||
|
0:0/6/flip_v = true
|
||||||
|
0:0/6/transpose = true
|
||||||
|
0:0/6/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
0:0/6/physics_layer_0/angular_velocity = 0.0
|
||||||
|
0:0/7 = 7
|
||||||
|
0:0/7/flip_h = true
|
||||||
|
0:0/7/flip_v = true
|
||||||
|
0:0/7/transpose = true
|
||||||
|
0:0/7/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
0:0/7/physics_layer_0/angular_velocity = 0.0
|
||||||
|
1:0/next_alternative_id = 8
|
||||||
|
1:0/0 = 0
|
||||||
|
1:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
1:0/0/physics_layer_0/angular_velocity = 0.0
|
||||||
|
1:0/1 = 1
|
||||||
|
1:0/1/flip_h = true
|
||||||
|
1:0/1/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
1:0/1/physics_layer_0/angular_velocity = 0.0
|
||||||
|
1:0/2 = 2
|
||||||
|
1:0/2/flip_v = true
|
||||||
|
1:0/2/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
1:0/2/physics_layer_0/angular_velocity = 0.0
|
||||||
|
1:0/3 = 3
|
||||||
|
1:0/3/flip_h = true
|
||||||
|
1:0/3/flip_v = true
|
||||||
|
1:0/3/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
1:0/3/physics_layer_0/angular_velocity = 0.0
|
||||||
|
1:0/4 = 4
|
||||||
|
1:0/4/transpose = true
|
||||||
|
1:0/4/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
1:0/4/physics_layer_0/angular_velocity = 0.0
|
||||||
|
1:0/5 = 5
|
||||||
|
1:0/5/flip_h = true
|
||||||
|
1:0/5/transpose = true
|
||||||
|
1:0/5/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
1:0/5/physics_layer_0/angular_velocity = 0.0
|
||||||
|
1:0/6 = 6
|
||||||
|
1:0/6/flip_v = true
|
||||||
|
1:0/6/transpose = true
|
||||||
|
1:0/6/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
1:0/6/physics_layer_0/angular_velocity = 0.0
|
||||||
|
1:0/7 = 7
|
||||||
|
1:0/7/flip_h = true
|
||||||
|
1:0/7/flip_v = true
|
||||||
|
1:0/7/transpose = true
|
||||||
|
1:0/7/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
1:0/7/physics_layer_0/angular_velocity = 0.0
|
||||||
|
2:0/next_alternative_id = 8
|
||||||
|
2:0/0 = 0
|
||||||
|
2:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
2:0/0/physics_layer_0/angular_velocity = 0.0
|
||||||
|
2:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-1.5, -2.5, -65, 32, -3, 64.5, 62, 31)
|
||||||
|
2:0/1 = 1
|
||||||
|
2:0/1/flip_h = true
|
||||||
|
2:0/1/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
2:0/1/physics_layer_0/angular_velocity = 0.0
|
||||||
|
2:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(70, 38, 134, 70, 70, 102, 6, 70)
|
||||||
|
2:0/2 = 2
|
||||||
|
2:0/2/flip_v = true
|
||||||
|
2:0/2/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
2:0/2/physics_layer_0/angular_velocity = 0.0
|
||||||
|
2:0/2/physics_layer_0/polygon_0/points = PackedVector2Array(70, 38, 134, 70, 70, 102, 6, 70)
|
||||||
|
2:0/3 = 3
|
||||||
|
2:0/3/flip_h = true
|
||||||
|
2:0/3/flip_v = true
|
||||||
|
2:0/3/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
2:0/3/physics_layer_0/angular_velocity = 0.0
|
||||||
|
2:0/3/physics_layer_0/polygon_0/points = PackedVector2Array(70, 38, 134, 70, 70, 102, 6, 70)
|
||||||
|
2:0/4 = 4
|
||||||
|
2:0/4/transpose = true
|
||||||
|
2:0/4/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
2:0/4/physics_layer_0/angular_velocity = 0.0
|
||||||
|
2:0/4/physics_layer_0/polygon_0/points = PackedVector2Array(70, 38, 134, 70, 70, 102, 6, 70)
|
||||||
|
2:0/5 = 5
|
||||||
|
2:0/5/flip_h = true
|
||||||
|
2:0/5/transpose = true
|
||||||
|
2:0/5/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
2:0/5/physics_layer_0/angular_velocity = 0.0
|
||||||
|
2:0/5/physics_layer_0/polygon_0/points = PackedVector2Array(70, 38, 134, 70, 70, 102, 6, 70)
|
||||||
|
2:0/6 = 6
|
||||||
|
2:0/6/flip_v = true
|
||||||
|
2:0/6/transpose = true
|
||||||
|
2:0/6/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
2:0/6/physics_layer_0/angular_velocity = 0.0
|
||||||
|
2:0/6/physics_layer_0/polygon_0/points = PackedVector2Array(70, 38, 134, 70, 70, 102, 6, 70)
|
||||||
|
2:0/7 = 7
|
||||||
|
2:0/7/flip_h = true
|
||||||
|
2:0/7/flip_v = true
|
||||||
|
2:0/7/transpose = true
|
||||||
|
2:0/7/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
2:0/7/physics_layer_0/angular_velocity = 0.0
|
||||||
|
2:0/7/physics_layer_0/polygon_0/points = PackedVector2Array(70, 38, 134, 70, 70, 102, 6, 70)
|
||||||
|
3:0/next_alternative_id = 8
|
||||||
|
3:0/0 = 0
|
||||||
|
3:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
3:0/0/physics_layer_0/angular_velocity = 0.0
|
||||||
|
3:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(3, 8.5, -13, 12.5, -22, 25.5, -18, 38.5, 2.5, 44, 23, 40, 27, 26, 19, 13)
|
||||||
|
3:0/1 = 1
|
||||||
|
3:0/1/flip_h = true
|
||||||
|
3:0/1/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
3:0/1/physics_layer_0/angular_velocity = 0.0
|
||||||
|
3:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(5.5, 35.5, 19.5, 25.5, 39.5, 25.5, 53.5, 35.5, 53.5, 49.5, 39.5, 59.5, 19.5, 59.5, 5.5, 49.5)
|
||||||
|
3:0/2 = 2
|
||||||
|
3:0/2/flip_v = true
|
||||||
|
3:0/2/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
3:0/2/physics_layer_0/angular_velocity = 0.0
|
||||||
|
3:0/2/physics_layer_0/polygon_0/points = PackedVector2Array(5.5, 35.5, 19.5, 25.5, 39.5, 25.5, 53.5, 35.5, 53.5, 49.5, 39.5, 59.5, 19.5, 59.5, 5.5, 49.5)
|
||||||
|
3:0/3 = 3
|
||||||
|
3:0/3/flip_h = true
|
||||||
|
3:0/3/flip_v = true
|
||||||
|
3:0/3/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
3:0/3/physics_layer_0/angular_velocity = 0.0
|
||||||
|
3:0/3/physics_layer_0/polygon_0/points = PackedVector2Array(5.5, 35.5, 19.5, 25.5, 39.5, 25.5, 53.5, 35.5, 53.5, 49.5, 39.5, 59.5, 19.5, 59.5, 5.5, 49.5)
|
||||||
|
3:0/4 = 4
|
||||||
|
3:0/4/transpose = true
|
||||||
|
3:0/4/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
3:0/4/physics_layer_0/angular_velocity = 0.0
|
||||||
|
3:0/4/physics_layer_0/polygon_0/points = PackedVector2Array(5.5, 35.5, 19.5, 25.5, 39.5, 25.5, 53.5, 35.5, 53.5, 49.5, 39.5, 59.5, 19.5, 59.5, 5.5, 49.5)
|
||||||
|
3:0/5 = 5
|
||||||
|
3:0/5/flip_h = true
|
||||||
|
3:0/5/transpose = true
|
||||||
|
3:0/5/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
3:0/5/physics_layer_0/angular_velocity = 0.0
|
||||||
|
3:0/5/physics_layer_0/polygon_0/points = PackedVector2Array(5.5, 35.5, 19.5, 25.5, 39.5, 25.5, 53.5, 35.5, 53.5, 49.5, 39.5, 59.5, 19.5, 59.5, 5.5, 49.5)
|
||||||
|
3:0/6 = 6
|
||||||
|
3:0/6/flip_v = true
|
||||||
|
3:0/6/transpose = true
|
||||||
|
3:0/6/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
3:0/6/physics_layer_0/angular_velocity = 0.0
|
||||||
|
3:0/6/physics_layer_0/polygon_0/points = PackedVector2Array(5.5, 35.5, 19.5, 25.5, 39.5, 25.5, 53.5, 35.5, 53.5, 49.5, 39.5, 59.5, 19.5, 59.5, 5.5, 49.5)
|
||||||
|
3:0/7 = 7
|
||||||
|
3:0/7/flip_h = true
|
||||||
|
3:0/7/flip_v = true
|
||||||
|
3:0/7/transpose = true
|
||||||
|
3:0/7/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
3:0/7/physics_layer_0/angular_velocity = 0.0
|
||||||
|
3:0/7/physics_layer_0/polygon_0/points = PackedVector2Array(5.5, 35.5, 19.5, 25.5, 39.5, 25.5, 53.5, 35.5, 53.5, 49.5, 39.5, 59.5, 19.5, 59.5, 5.5, 49.5)
|
||||||
|
4:0/next_alternative_id = 8
|
||||||
|
4:0/0 = 0
|
||||||
|
4:0/0/y_sort_origin = -16
|
||||||
|
4:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
4:0/0/physics_layer_0/angular_velocity = 0.0
|
||||||
|
4:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(26, 8.5, 42.5, 19.5, -25, 51, -41, 42)
|
||||||
|
4:0/1 = 1
|
||||||
|
4:0/1/flip_h = true
|
||||||
|
4:0/1/y_sort_origin = -16
|
||||||
|
4:0/1/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
4:0/1/physics_layer_0/angular_velocity = 0.0
|
||||||
|
4:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(-26, 8.5, -42.5, 19.5, 25, 51, 41, 42)
|
||||||
|
4:0/2 = 2
|
||||||
|
4:0/2/flip_v = true
|
||||||
|
4:0/2/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
4:0/2/physics_layer_0/angular_velocity = 0.0
|
||||||
|
4:0/2/physics_layer_0/polygon_0/points = PackedVector2Array(2.5, 71, 66.5, 39, 82.5, 47, 18.5, 79)
|
||||||
|
4:0/3 = 3
|
||||||
|
4:0/3/flip_h = true
|
||||||
|
4:0/3/flip_v = true
|
||||||
|
4:0/3/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
4:0/3/physics_layer_0/angular_velocity = 0.0
|
||||||
|
4:0/3/physics_layer_0/polygon_0/points = PackedVector2Array(2.5, 71, 66.5, 39, 82.5, 47, 18.5, 79)
|
||||||
|
4:0/4 = 4
|
||||||
|
4:0/4/transpose = true
|
||||||
|
4:0/4/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
4:0/4/physics_layer_0/angular_velocity = 0.0
|
||||||
|
4:0/4/physics_layer_0/polygon_0/points = PackedVector2Array(2.5, 71, 66.5, 39, 82.5, 47, 18.5, 79)
|
||||||
|
4:0/5 = 5
|
||||||
|
4:0/5/flip_h = true
|
||||||
|
4:0/5/transpose = true
|
||||||
|
4:0/5/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
4:0/5/physics_layer_0/angular_velocity = 0.0
|
||||||
|
4:0/5/physics_layer_0/polygon_0/points = PackedVector2Array(2.5, 71, 66.5, 39, 82.5, 47, 18.5, 79)
|
||||||
|
4:0/6 = 6
|
||||||
|
4:0/6/flip_v = true
|
||||||
|
4:0/6/transpose = true
|
||||||
|
4:0/6/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
4:0/6/physics_layer_0/angular_velocity = 0.0
|
||||||
|
4:0/6/physics_layer_0/polygon_0/points = PackedVector2Array(2.5, 71, 66.5, 39, 82.5, 47, 18.5, 79)
|
||||||
|
4:0/7 = 7
|
||||||
|
4:0/7/flip_h = true
|
||||||
|
4:0/7/flip_v = true
|
||||||
|
4:0/7/transpose = true
|
||||||
|
4:0/7/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
|
4:0/7/physics_layer_0/angular_velocity = 0.0
|
||||||
|
4:0/7/physics_layer_0/polygon_0/points = PackedVector2Array(2.5, 71, 66.5, 39, 82.5, 47, 18.5, 79)
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
tile_shape = 1
|
||||||
|
tile_layout = 5
|
||||||
|
tile_size = Vector2i(128, 64)
|
||||||
|
physics_layer_0/collision_layer = 1
|
||||||
|
sources/5 = SubResource("TileSetAtlasSource_832dk")
|
||||||
|
tile_proxies/coords_level = [[5, Vector2i(1, 0)], [5, Vector2i(1, 1)], [5, Vector2i(2, 0)], [5, Vector2i(1, 0)]]
|
||||||
|
Before Width: | Height: | Size: 223 KiB |
@@ -1,34 +0,0 @@
|
|||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="CompressedTexture2D"
|
|
||||||
uid="uid://dup8jrb6ajapx"
|
|
||||||
path="res://.godot/imported/isotiles.png-525cf6639aba62989bb423b9cdb9e1f3.ctex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://tileset/isotiles.png"
|
|
||||||
dest_files=["res://.godot/imported/isotiles.png-525cf6639aba62989bb423b9cdb9e1f3.ctex"]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
compress/mode=0
|
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
|
||||||
compress/hdr_compression=1
|
|
||||||
compress/normal_map=0
|
|
||||||
compress/channel_pack=0
|
|
||||||
mipmaps/generate=false
|
|
||||||
mipmaps/limit=-1
|
|
||||||
roughness/mode=0
|
|
||||||
roughness/src_normal=""
|
|
||||||
process/fix_alpha_border=true
|
|
||||||
process/premult_alpha=false
|
|
||||||
process/normal_map_invert_y=false
|
|
||||||
process/hdr_as_srgb=false
|
|
||||||
process/hdr_clamp_exposure=false
|
|
||||||
process/size_limit=0
|
|
||||||
detect_3d/compress_to=1
|
|
||||||
@@ -1,248 +0,0 @@
|
|||||||
[gd_resource type="TileSet" load_steps=7 format=3 uid="uid://ceswxvl27cesm"]
|
|
||||||
|
|
||||||
[ext_resource type="Texture2D" uid="uid://dup8jrb6ajapx" path="res://tileset/isotiles.png" id="1"]
|
|
||||||
|
|
||||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_s3w07"]
|
|
||||||
texture = ExtResource("1")
|
|
||||||
margins = Vector2i(28, 75)
|
|
||||||
texture_region_size = Vector2i(135, 105)
|
|
||||||
0:0/next_alternative_id = 8
|
|
||||||
0:0/0 = 0
|
|
||||||
0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/0/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/1 = 1
|
|
||||||
0:0/1/flip_h = true
|
|
||||||
0:0/1/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/1/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/2 = 2
|
|
||||||
0:0/2/flip_v = true
|
|
||||||
0:0/2/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/2/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/3 = 3
|
|
||||||
0:0/3/flip_h = true
|
|
||||||
0:0/3/flip_v = true
|
|
||||||
0:0/3/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/3/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/4 = 4
|
|
||||||
0:0/4/transpose = true
|
|
||||||
0:0/4/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/4/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/5 = 5
|
|
||||||
0:0/5/flip_h = true
|
|
||||||
0:0/5/transpose = true
|
|
||||||
0:0/5/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/5/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/6 = 6
|
|
||||||
0:0/6/flip_v = true
|
|
||||||
0:0/6/transpose = true
|
|
||||||
0:0/6/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/6/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/7 = 7
|
|
||||||
0:0/7/flip_h = true
|
|
||||||
0:0/7/flip_v = true
|
|
||||||
0:0/7/transpose = true
|
|
||||||
0:0/7/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/7/physics_layer_0/angular_velocity = 0.0
|
|
||||||
|
|
||||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_fa1vh"]
|
|
||||||
texture = ExtResource("1")
|
|
||||||
margins = Vector2i(221, 75)
|
|
||||||
texture_region_size = Vector2i(135, 105)
|
|
||||||
0:0/next_alternative_id = 8
|
|
||||||
0:0/0 = 0
|
|
||||||
0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/0/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/1 = 1
|
|
||||||
0:0/1/flip_h = true
|
|
||||||
0:0/1/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/1/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/2 = 2
|
|
||||||
0:0/2/flip_v = true
|
|
||||||
0:0/2/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/2/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/3 = 3
|
|
||||||
0:0/3/flip_h = true
|
|
||||||
0:0/3/flip_v = true
|
|
||||||
0:0/3/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/3/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/4 = 4
|
|
||||||
0:0/4/transpose = true
|
|
||||||
0:0/4/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/4/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/5 = 5
|
|
||||||
0:0/5/flip_h = true
|
|
||||||
0:0/5/transpose = true
|
|
||||||
0:0/5/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/5/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/6 = 6
|
|
||||||
0:0/6/flip_v = true
|
|
||||||
0:0/6/transpose = true
|
|
||||||
0:0/6/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/6/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/7 = 7
|
|
||||||
0:0/7/flip_h = true
|
|
||||||
0:0/7/flip_v = true
|
|
||||||
0:0/7/transpose = true
|
|
||||||
0:0/7/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/7/physics_layer_0/angular_velocity = 0.0
|
|
||||||
|
|
||||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_xpb3e"]
|
|
||||||
texture = ExtResource("1")
|
|
||||||
margins = Vector2i(28, 220)
|
|
||||||
texture_region_size = Vector2i(140, 140)
|
|
||||||
0:0/next_alternative_id = 8
|
|
||||||
0:0/0 = 0
|
|
||||||
0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/0/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-2, -2, 62, 30, -2, 62, -66, 30)
|
|
||||||
0:0/1 = 1
|
|
||||||
0:0/1/flip_h = true
|
|
||||||
0:0/1/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/1/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(2, -2, -62, 30, 2, 62, 66, 30)
|
|
||||||
0:0/2 = 2
|
|
||||||
0:0/2/flip_v = true
|
|
||||||
0:0/2/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/2/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/2/physics_layer_0/polygon_0/points = PackedVector2Array(-2, 2, 62, -30, -2, -62, -66, -30)
|
|
||||||
0:0/3 = 3
|
|
||||||
0:0/3/flip_h = true
|
|
||||||
0:0/3/flip_v = true
|
|
||||||
0:0/3/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/3/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/3/physics_layer_0/polygon_0/points = PackedVector2Array(2, 2, -62, -30, 2, -62, 66, -30)
|
|
||||||
0:0/4 = 4
|
|
||||||
0:0/4/transpose = true
|
|
||||||
0:0/4/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/4/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/4/physics_layer_0/polygon_0/points = PackedVector2Array(-2, -2, 62, 30, -2.00001, 62, -66, 30)
|
|
||||||
0:0/5 = 5
|
|
||||||
0:0/5/flip_h = true
|
|
||||||
0:0/5/transpose = true
|
|
||||||
0:0/5/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/5/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/5/physics_layer_0/polygon_0/points = PackedVector2Array(2, -2, -62, 30, 1.99999, 62, 66, 30)
|
|
||||||
0:0/6 = 6
|
|
||||||
0:0/6/flip_v = true
|
|
||||||
0:0/6/transpose = true
|
|
||||||
0:0/6/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/6/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/6/physics_layer_0/polygon_0/points = PackedVector2Array(-2, 2, 62, -30, -1.99999, -62, -66, -30)
|
|
||||||
0:0/7 = 7
|
|
||||||
0:0/7/flip_h = true
|
|
||||||
0:0/7/flip_v = true
|
|
||||||
0:0/7/transpose = true
|
|
||||||
0:0/7/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/7/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/7/physics_layer_0/polygon_0/points = PackedVector2Array(2, 2, -62, -30, 2.00001, -62, 66, -30)
|
|
||||||
|
|
||||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_aki5c"]
|
|
||||||
texture = ExtResource("1")
|
|
||||||
margins = Vector2i(259, 241)
|
|
||||||
texture_region_size = Vector2i(55, 95)
|
|
||||||
0:0/next_alternative_id = 8
|
|
||||||
0:0/0 = 0
|
|
||||||
0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/0/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-22.5, 19.5, -10.5, 11.5, 13.5, 11.5, 25.5, 19.5, 25.5, 35.5, 13.5, 43.5, -6.5, 43.5, -22.5, 35.5)
|
|
||||||
0:0/1 = 1
|
|
||||||
0:0/1/flip_h = true
|
|
||||||
0:0/1/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/1/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(22.5, 19.5, 10.5, 11.5, -13.5, 11.5, -25.5, 19.5, -25.5, 35.5, -13.5, 43.5, 6.5, 43.5, 22.5, 35.5)
|
|
||||||
0:0/2 = 2
|
|
||||||
0:0/2/flip_v = true
|
|
||||||
0:0/2/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/2/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/2/physics_layer_0/polygon_0/points = PackedVector2Array(-22.5, -19.5, -10.5, -11.5, 13.5, -11.5, 25.5, -19.5, 25.5, -35.5, 13.5, -43.5, -6.5, -43.5, -22.5, -35.5)
|
|
||||||
0:0/3 = 3
|
|
||||||
0:0/3/flip_h = true
|
|
||||||
0:0/3/flip_v = true
|
|
||||||
0:0/3/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/3/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/3/physics_layer_0/polygon_0/points = PackedVector2Array(22.5, -19.5, 10.5, -11.5, -13.5, -11.5, -25.5, -19.5, -25.5, -35.5, -13.5, -43.5, 6.5, -43.5, 22.5, -35.5)
|
|
||||||
0:0/4 = 4
|
|
||||||
0:0/4/transpose = true
|
|
||||||
0:0/4/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/4/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/4/physics_layer_0/polygon_0/points = PackedVector2Array(-22.5, 19.5, -10.5, 11.5, 13.5, 11.5, 25.5, 19.5, 25.5, 35.5, 13.5, 43.5, -6.5, 43.5, -22.5, 35.5)
|
|
||||||
0:0/5 = 5
|
|
||||||
0:0/5/flip_h = true
|
|
||||||
0:0/5/transpose = true
|
|
||||||
0:0/5/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/5/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/5/physics_layer_0/polygon_0/points = PackedVector2Array(22.5, 19.5, 10.5, 11.5, -13.5, 11.5, -25.5, 19.5, -25.5, 35.5, -13.5, 43.5, 6.5, 43.5, 22.5, 35.5)
|
|
||||||
0:0/6 = 6
|
|
||||||
0:0/6/flip_v = true
|
|
||||||
0:0/6/transpose = true
|
|
||||||
0:0/6/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/6/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/6/physics_layer_0/polygon_0/points = PackedVector2Array(-22.5, -19.5, -10.5, -11.5, 13.5, -11.5, 25.5, -19.5, 25.5, -35.5, 13.5, -43.5, -6.5, -43.5, -22.5, -35.5)
|
|
||||||
0:0/7 = 7
|
|
||||||
0:0/7/flip_h = true
|
|
||||||
0:0/7/flip_v = true
|
|
||||||
0:0/7/transpose = true
|
|
||||||
0:0/7/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/7/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/7/physics_layer_0/polygon_0/points = PackedVector2Array(22.5, -19.5, 10.5, -11.5, -13.5, -11.5, -25.5, -19.5, -25.5, -35.5, -13.5, -43.5, 6.5, -43.5, 22.5, -35.5)
|
|
||||||
|
|
||||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_ec70s"]
|
|
||||||
texture = ExtResource("1")
|
|
||||||
margins = Vector2i(54, 426)
|
|
||||||
texture_region_size = Vector2i(85, 110)
|
|
||||||
0:0/next_alternative_id = 8
|
|
||||||
0:0/0 = 0
|
|
||||||
0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/0/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-40.5, 31, 39.5, -9, 39.5, 15, -40.5, 55)
|
|
||||||
0:0/1 = 1
|
|
||||||
0:0/1/flip_h = true
|
|
||||||
0:0/1/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/1/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(40.5, 31, -39.5, -9, -39.5, 15, 40.5, 55)
|
|
||||||
0:0/2 = 2
|
|
||||||
0:0/2/flip_v = true
|
|
||||||
0:0/2/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/2/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/2/physics_layer_0/polygon_0/points = PackedVector2Array(-40.5, -31, 39.5, 9, 39.5, -15, -40.5, -55)
|
|
||||||
0:0/3 = 3
|
|
||||||
0:0/3/flip_h = true
|
|
||||||
0:0/3/flip_v = true
|
|
||||||
0:0/3/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/3/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/3/physics_layer_0/polygon_0/points = PackedVector2Array(40.5, -31, -39.5, 9, -39.5, -15, 40.5, -55)
|
|
||||||
0:0/4 = 4
|
|
||||||
0:0/4/transpose = true
|
|
||||||
0:0/4/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/4/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/4/physics_layer_0/polygon_0/points = PackedVector2Array(-40.5, 31, 39.5, -9, 39.5, 15, -40.5, 55)
|
|
||||||
0:0/5 = 5
|
|
||||||
0:0/5/flip_h = true
|
|
||||||
0:0/5/transpose = true
|
|
||||||
0:0/5/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/5/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/5/physics_layer_0/polygon_0/points = PackedVector2Array(40.5, 31, -39.5, -9, -39.5, 15, 40.5, 55)
|
|
||||||
0:0/6 = 6
|
|
||||||
0:0/6/flip_v = true
|
|
||||||
0:0/6/transpose = true
|
|
||||||
0:0/6/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/6/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/6/physics_layer_0/polygon_0/points = PackedVector2Array(-40.5, -31, 39.5, 9, 39.5, -15, -40.5, -55)
|
|
||||||
0:0/7 = 7
|
|
||||||
0:0/7/flip_h = true
|
|
||||||
0:0/7/flip_v = true
|
|
||||||
0:0/7/transpose = true
|
|
||||||
0:0/7/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
||||||
0:0/7/physics_layer_0/angular_velocity = 0.0
|
|
||||||
0:0/7/physics_layer_0/polygon_0/points = PackedVector2Array(40.5, -31, -39.5, 9, -39.5, -15, 40.5, -55)
|
|
||||||
|
|
||||||
[resource]
|
|
||||||
tile_shape = 1
|
|
||||||
tile_layout = 5
|
|
||||||
tile_size = Vector2i(128, 64)
|
|
||||||
physics_layer_0/collision_layer = 1
|
|
||||||
sources/0 = SubResource("TileSetAtlasSource_s3w07")
|
|
||||||
sources/1 = SubResource("TileSetAtlasSource_fa1vh")
|
|
||||||
sources/2 = SubResource("TileSetAtlasSource_xpb3e")
|
|
||||||
sources/3 = SubResource("TileSetAtlasSource_aki5c")
|
|
||||||
sources/4 = SubResource("TileSetAtlasSource_ec70s")
|
|
||||||
@@ -1,60 +0,0 @@
|
|||||||
[gd_scene load_steps=3 format=2]
|
|
||||||
|
|
||||||
[ext_resource path="res://tileset/isotiles.png" type="Texture2D" id=1]
|
|
||||||
|
|
||||||
[sub_resource type="OccluderPolygon2D" id=2]
|
|
||||||
polygon = PackedVector2Array( 0, -100, -67, -68, -66, 0, -1, 33, 66, -2, 64, -67 )
|
|
||||||
|
|
||||||
[node name="TilesetEdit" type="Node2D"]
|
|
||||||
|
|
||||||
[node name="Base" type="Sprite2D" parent="."]
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
region_enabled = true
|
|
||||||
region_rect = Rect2( 28, 75, 135, 105 )
|
|
||||||
|
|
||||||
[node name="Base2" type="Sprite2D" parent="."]
|
|
||||||
position = Vector2( 200, 0 )
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
region_enabled = true
|
|
||||||
region_rect = Rect2( 221, 75, 135, 105 )
|
|
||||||
|
|
||||||
[node name="Wall" type="Sprite2D" parent="."]
|
|
||||||
position = Vector2( 400, 0 )
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
offset = Vector2( 0, -32 )
|
|
||||||
region_enabled = true
|
|
||||||
region_rect = Rect2( 28, 220, 140, 140 )
|
|
||||||
|
|
||||||
[node name="StaticBody2D" type="StaticBody2D" parent="Wall"]
|
|
||||||
|
|
||||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Wall/StaticBody2D"]
|
|
||||||
polygon = PackedVector2Array( -64, 0, 0, 32, 64, 0, 0, -32 )
|
|
||||||
|
|
||||||
[node name="LightOccluder2D" type="LightOccluder2D" parent="Wall"]
|
|
||||||
visible = false
|
|
||||||
occluder = SubResource( 2 )
|
|
||||||
|
|
||||||
[node name="Column" type="Sprite2D" parent="."]
|
|
||||||
position = Vector2( 600, 0 )
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
offset = Vector2( 0, -32 )
|
|
||||||
region_enabled = true
|
|
||||||
region_rect = Rect2( 259, 241, 55, 95 )
|
|
||||||
|
|
||||||
[node name="StaticBody2D" type="StaticBody2D" parent="Column"]
|
|
||||||
|
|
||||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Column/StaticBody2D"]
|
|
||||||
position = Vector2( 2, 0 )
|
|
||||||
polygon = PackedVector2Array( -27, 7, -14, 20, 16, 20, 28, 4, 24, -12, 10, -22, -10, -22, -24, -12 )
|
|
||||||
|
|
||||||
[node name="Door1" type="Sprite2D" parent="."]
|
|
||||||
position = Vector2( 800, 0 )
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
offset = Vector2( 0, -25 )
|
|
||||||
region_enabled = true
|
|
||||||
region_rect = Rect2( 54, 426, 85, 110 )
|
|
||||||
|
|
||||||
[node name="StaticBody2D" type="StaticBody2D" parent="Door1"]
|
|
||||||
|
|
||||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Door1/StaticBody2D"]
|
|
||||||
polygon = PackedVector2Array( -24, 24, 40, -8, 24, -16, -40, 16 )
|
|
||||||
53
2d/isometric/tileset_edit.tscn
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
[gd_scene load_steps=2 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://isotiles.png" type="Texture2D" id=1]
|
||||||
|
|
||||||
|
[node name="TilesetEdit" type="Node2D"]
|
||||||
|
|
||||||
|
[node name="Base" type="Sprite2D" parent="."]
|
||||||
|
texture = ExtResource( 1 )
|
||||||
|
region_enabled = true
|
||||||
|
region_rect = Rect2(28, 75, 135, 105)
|
||||||
|
|
||||||
|
[node name="Base2" type="Sprite2D" parent="."]
|
||||||
|
position = Vector2(200, 0)
|
||||||
|
texture = ExtResource( 1 )
|
||||||
|
region_enabled = true
|
||||||
|
region_rect = Rect2(221, 75, 135, 105)
|
||||||
|
|
||||||
|
[node name="Wall" type="Sprite2D" parent="."]
|
||||||
|
position = Vector2(400, 0)
|
||||||
|
texture = ExtResource( 1 )
|
||||||
|
offset = Vector2(0, -32)
|
||||||
|
region_enabled = true
|
||||||
|
region_rect = Rect2(28, 220, 140, 140)
|
||||||
|
|
||||||
|
[node name="StaticBody2D" type="StaticBody2D" parent="Wall"]
|
||||||
|
|
||||||
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Wall/StaticBody2D"]
|
||||||
|
polygon = PackedVector2Array(-64, 0, 0, 32, 64, 0, 0, -32)
|
||||||
|
|
||||||
|
[node name="Column" type="Sprite2D" parent="."]
|
||||||
|
position = Vector2(600, 0)
|
||||||
|
texture = ExtResource( 1 )
|
||||||
|
offset = Vector2(0, -32)
|
||||||
|
region_enabled = true
|
||||||
|
region_rect = Rect2(259, 241, 55, 95)
|
||||||
|
|
||||||
|
[node name="StaticBody2D" type="StaticBody2D" parent="Column"]
|
||||||
|
|
||||||
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Column/StaticBody2D"]
|
||||||
|
position = Vector2(2, 0)
|
||||||
|
polygon = PackedVector2Array(-24, 2, -10, 12, 10, 12, 24, 2, 24, -12, 10, -22, -10, -22, -24, -12)
|
||||||
|
|
||||||
|
[node name="Door1" type="Sprite2D" parent="."]
|
||||||
|
position = Vector2(800, 0)
|
||||||
|
texture = ExtResource( 1 )
|
||||||
|
offset = Vector2(0, -25)
|
||||||
|
region_enabled = true
|
||||||
|
region_rect = Rect2(54, 426, 85, 110)
|
||||||
|
|
||||||
|
[node name="StaticBody2D" type="StaticBody2D" parent="Door1"]
|
||||||
|
|
||||||
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Door1/StaticBody2D"]
|
||||||
|
polygon = PackedVector2Array(-24, 24, 40, -8, 24, -16, -40, 16)
|
||||||
13
2d/isometric/troll.gd
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
extends CharacterBody2D
|
||||||
|
|
||||||
|
const MOTION_SPEED = 30 # Pixels/second.
|
||||||
|
const FRICTION_FACTOR = 0.89
|
||||||
|
|
||||||
|
func _physics_process(_delta):
|
||||||
|
var motion = Input.get_vector("move_left", "move_right", "move_up", "move_down")
|
||||||
|
# Make diagonal movement fit isometric tiles.
|
||||||
|
motion.y /= 2
|
||||||
|
velocity += motion.normalized() * MOTION_SPEED
|
||||||
|
# Apply friction.
|
||||||
|
velocity *= FRICTION_FACTOR
|
||||||
|
move_and_slide()
|
||||||
BIN
2d/isometric/troll.png
Normal file
|
After Width: | Height: | Size: 6.9 KiB |
@@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://baj4xukvf568b"
|
uid="uid://b8fv8swublbqq"
|
||||||
path="res://.godot/imported/space.png-97c58c64ad84df3792f6a98aa7f4b875.ctex"
|
path="res://.godot/imported/troll.png-78efc50bfccaa17f54d40cfea3eef5f5.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://sprites/space.png"
|
source_file="res://troll.png"
|
||||||
dest_files=["res://.godot/imported/space.png-97c58c64ad84df3792f6a98aa7f4b875.ctex"]
|
dest_files=["res://.godot/imported/troll.png-78efc50bfccaa17f54d40cfea3eef5f5.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
27
2d/isometric/troll.tscn
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
[gd_scene load_steps=4 format=3 uid="uid://cvs6nhy4ydg0u"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://troll.gd" id="1"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://b8fv8swublbqq" path="res://troll.png" id="2"]
|
||||||
|
|
||||||
|
[sub_resource type="CircleShape2D" id="1"]
|
||||||
|
radius = 16.0
|
||||||
|
|
||||||
|
[node name="Troll" type="CharacterBody2D"]
|
||||||
|
script = ExtResource("1")
|
||||||
|
|
||||||
|
[node name="Shadow" type="Sprite2D" parent="."]
|
||||||
|
modulate = Color(0, 0, 0, 0.501961)
|
||||||
|
position = Vector2(-2, -30)
|
||||||
|
scale = Vector2(1, 1)
|
||||||
|
skew = 0.139626
|
||||||
|
texture = ExtResource("2")
|
||||||
|
|
||||||
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||||
|
position = Vector2(-6, -30)
|
||||||
|
texture = ExtResource("2")
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
|
position = Vector2(0, -7.5)
|
||||||
|
shape = SubResource("1")
|
||||||
|
|
||||||
|
[node name="Camera2D" type="Camera2D" parent="."]
|
||||||
@@ -14,10 +14,10 @@ config/name="Kinematic Character 2D"
|
|||||||
config/description="Example of how to make a kinematic character controller in 2D using
|
config/description="Example of how to make a kinematic character controller in 2D using
|
||||||
CharacterBody2D. The character moves around, is affected by moving
|
CharacterBody2D. The character moves around, is affected by moving
|
||||||
platforms, can jump through one-way collision platforms, etc."
|
platforms, can jump through one-way collision platforms, etc."
|
||||||
config/tags=PackedStringArray("2d", "demo", "official", "physics")
|
|
||||||
run/main_scene="res://world.tscn"
|
run/main_scene="res://world.tscn"
|
||||||
config/features=PackedStringArray("4.2")
|
config/features=PackedStringArray("4.0")
|
||||||
config/icon="res://icon.webp"
|
config/icon="res://icon.webp"
|
||||||
|
config/tags=PackedStringArray("2d", "demo", "official", "physics")
|
||||||
|
|
||||||
[display]
|
[display]
|
||||||
|
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/burano.png-893cff79ccbe972d7b1ad3e1845f81bf.c
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=0
|
||||||
compress/high_quality=false
|
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=false
|
||||||
|
|||||||
@@ -12,10 +12,10 @@ config_version=5
|
|||||||
|
|
||||||
config/name="2D Lights as Mask"
|
config/name="2D Lights as Mask"
|
||||||
config/description="Example of how to use 2D lights to mask objects on screen."
|
config/description="Example of how to use 2D lights to mask objects on screen."
|
||||||
config/tags=PackedStringArray("2d", "demo", "official", "rendering")
|
|
||||||
run/main_scene="res://lightmask.tscn"
|
run/main_scene="res://lightmask.tscn"
|
||||||
config/features=PackedStringArray("4.2")
|
config/features=PackedStringArray("4.0")
|
||||||
config/icon="res://icon.webp"
|
config/icon="res://icon.webp"
|
||||||
|
config/tags=PackedStringArray("2d", "demo", "official", "rendering")
|
||||||
|
|
||||||
[display]
|
[display]
|
||||||
|
|
||||||
|
|||||||