mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2025-12-16 13:30:07 +01:00
Update demos for Godot 4.4
- Resave all files with Godot 4.4 to make use of script/shader UIDs. - Use AgX tonemapping in all demos that used a tonemapper other than Linear.
This commit is contained in:
1
2d/bullet_shower/bullets.gd.uid
Normal file
1
2d/bullet_shower/bullets.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://rddaoyfpqvix
|
||||
1
2d/bullet_shower/player.gd.uid
Normal file
1
2d/bullet_shower/player.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://8ij4vk5yqwtt
|
||||
@@ -14,7 +14,7 @@ config/name="Bullet Shower"
|
||||
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"
|
||||
config/features=PackedStringArray("4.2")
|
||||
config/features=PackedStringArray("4.4")
|
||||
config/icon="res://icon.webp"
|
||||
|
||||
[debug]
|
||||
|
||||
@@ -15,6 +15,7 @@ dest_files=["res://.godot/imported/Xolonium-Regular.ttf-bc2981e3069cff4c34dd7c8e
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
@@ -22,6 +23,7 @@ allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=1
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
|
||||
1
2d/dodge_the_creeps/hud.gd.uid
Normal file
1
2d/dodge_the_creeps/hud.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://ole4kvtbp4r1
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://ccqoreueuxdb7"]
|
||||
|
||||
[ext_resource type="Script" path="res://hud.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://ole4kvtbp4r1" path="res://hud.gd" id="1"]
|
||||
[ext_resource type="FontFile" uid="uid://cit6gwe5px1q8" path="res://fonts/Xolonium-Regular.ttf" id="2_2jm3i"]
|
||||
|
||||
[sub_resource type="InputEventAction" id="InputEventAction_fopy7"]
|
||||
|
||||
1
2d/dodge_the_creeps/main.gd.uid
Normal file
1
2d/dodge_the_creeps/main.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bi0dtjbbi0wxj
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://cyfwty2q3rdse"]
|
||||
|
||||
[ext_resource type="Script" path="res://main.gd" id="1_0r6n5"]
|
||||
[ext_resource type="Script" uid="uid://bi0dtjbbi0wxj" path="res://main.gd" id="1_0r6n5"]
|
||||
[ext_resource type="PackedScene" uid="uid://rkdnhqgf2hpj" path="res://mob.tscn" id="2_50pww"]
|
||||
[ext_resource type="PackedScene" uid="uid://4vwrqjegqwpj" path="res://player.tscn" id="3_veqnc"]
|
||||
[ext_resource type="PackedScene" uid="uid://ccqoreueuxdb7" path="res://hud.tscn" id="4_0qnje"]
|
||||
|
||||
1
2d/dodge_the_creeps/mob.gd.uid
Normal file
1
2d/dodge_the_creeps/mob.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://c8vixyuoi1xgn
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://rkdnhqgf2hpj"]
|
||||
|
||||
[ext_resource type="Script" path="res://mob.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://c8vixyuoi1xgn" path="res://mob.gd" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://yqglrrsx7j1f" path="res://art/enemyFlyingAlt_1.png" id="2"]
|
||||
[ext_resource type="Texture2D" uid="uid://bpot8awhdn6ph" path="res://art/enemyFlyingAlt_2.png" id="3"]
|
||||
[ext_resource type="Texture2D" uid="uid://bu4221t7qpa7d" path="res://art/enemyWalking_1.png" id="4"]
|
||||
@@ -10,17 +10,35 @@
|
||||
|
||||
[sub_resource type="SpriteFrames" id="1"]
|
||||
animations = [{
|
||||
"frames": [ExtResource( "6" ), ExtResource( "7" )],
|
||||
"loop": true,
|
||||
"name": &"swim",
|
||||
"speed": 4.0
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2")
|
||||
}, {
|
||||
"frames": [ExtResource( "2" ), ExtResource( "3" )],
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("3")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"fly",
|
||||
"speed": 3.0
|
||||
}, {
|
||||
"frames": [ExtResource( "4" ), ExtResource( "5" )],
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("6")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("7")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"swim",
|
||||
"speed": 4.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("4")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("5")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"walk",
|
||||
"speed": 4.0
|
||||
|
||||
1
2d/dodge_the_creeps/player.gd.uid
Normal file
1
2d/dodge_the_creeps/player.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://ccd1k2qxslohl
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=13 format=3 uid="uid://4vwrqjegqwpj"]
|
||||
|
||||
[ext_resource type="Script" path="res://player.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://ccd1k2qxslohl" path="res://player.gd" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://ftkxr8r4qghp" path="res://art/playerGrey_walk1.png" id="2"]
|
||||
[ext_resource type="Texture2D" uid="uid://couyhcegeihme" path="res://art/playerGrey_walk2.png" id="3"]
|
||||
[ext_resource type="Texture2D" uid="uid://b4yyoafu8bi0q" path="res://art/playerGrey_up1.png" id="4"]
|
||||
|
||||
@@ -19,7 +19,7 @@ tutorial in the documentation. For more details, consider
|
||||
following the tutorial in the documentation."
|
||||
config/tags=PackedStringArray("2d", "demo", "official")
|
||||
run/main_scene="res://main.tscn"
|
||||
config/features=PackedStringArray("4.2")
|
||||
config/features=PackedStringArray("4.4")
|
||||
config/icon="res://icon.webp"
|
||||
|
||||
[display]
|
||||
@@ -34,40 +34,40 @@ window/stretch/mode="canvas_items"
|
||||
|
||||
move_left={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":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)
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":0,"location":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,"location":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)
|
||||
]
|
||||
}
|
||||
move_right={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":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)
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":0,"location":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,"location":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)
|
||||
]
|
||||
}
|
||||
move_up={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":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)
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":0,"location":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,"location":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)
|
||||
]
|
||||
}
|
||||
move_down={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":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)
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":0,"location":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,"location":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)
|
||||
]
|
||||
}
|
||||
start_game={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194309,"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":32,"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":0,"physical_keycode":4194309,"key_label":0,"unicode":0,"location":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":32,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
1
2d/dynamic_tilemap_layers/level/tile_map.gd.uid
Normal file
1
2d/dynamic_tilemap_layers/level/tile_map.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dgk6c03uxup6m
|
||||
1
2d/dynamic_tilemap_layers/player/player.gd.uid
Normal file
1
2d/dynamic_tilemap_layers/player/player.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://lsvtosr5760i
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://1o70ce0fv10w"]
|
||||
|
||||
[ext_resource type="Script" path="res://player/player.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://lsvtosr5760i" path="res://player/player.gd" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://dfb8rr2fakwgp" path="res://player/player.png" id="2"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="1"]
|
||||
|
||||
@@ -16,7 +16,7 @@ CharacterBody2D. The character moves around, is affected by moving
|
||||
platforms, can jump through one-way collision platforms, etc."
|
||||
config/tags=PackedStringArray("2d", "demo", "official", "tilemap")
|
||||
run/main_scene="res://world.tscn"
|
||||
config/features=PackedStringArray("4.3")
|
||||
config/features=PackedStringArray("4.4")
|
||||
config/icon="res://icon.png"
|
||||
|
||||
[debug]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=8 format=4 uid="uid://de7qapkqfycxl"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cs8h2qyuakmko" path="res://level/obstacle.png" id="2"]
|
||||
[ext_resource type="Script" path="res://level/tile_map.gd" id="2_q8fhk"]
|
||||
[ext_resource type="Script" uid="uid://dgk6c03uxup6m" path="res://level/tile_map.gd" id="2_q8fhk"]
|
||||
[ext_resource type="PackedScene" uid="uid://1o70ce0fv10w" path="res://player/player.tscn" id="3"]
|
||||
|
||||
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_on5ov"]
|
||||
|
||||
@@ -26,9 +26,9 @@ tracks/0/keys = {
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_qbwwp"]
|
||||
_data = {
|
||||
"idle": SubResource("1"),
|
||||
"stagger": SubResource("2"),
|
||||
"walk": SubResource("3")
|
||||
&"idle": SubResource("1"),
|
||||
&"stagger": SubResource("2"),
|
||||
&"walk": SubResource("3")
|
||||
}
|
||||
|
||||
[node name="Demo" type="Node"]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://cvi13chv8g4hj"]
|
||||
|
||||
[ext_resource type="Script" path="res://debug/states_stack_displayer.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://8e5wvxrlv1ct" path="res://debug/states_stack_displayer.gd" id="1"]
|
||||
[ext_resource type="FontFile" uid="uid://b5bspum6ffekd" path="res://fonts/SourceCodePro-Bold.ttf" id="2_58if7"]
|
||||
|
||||
[node name="StatesStackDiplayer" type="Panel"]
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
uid://8e5wvxrlv1ct
|
||||
@@ -15,6 +15,7 @@ dest_files=["res://.godot/imported/SourceCodePro-Bold.ttf-bf03bd9c90603419d32725
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
@@ -22,6 +23,7 @@ allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=1
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
[gd_scene load_steps=19 format=3 uid="uid://bpdyvy2681m3i"]
|
||||
|
||||
[ext_resource type="Script" path="res://player/player_controller.gd" id="1"]
|
||||
[ext_resource type="Script" path="res://player/player_state_machine.gd" id="2"]
|
||||
[ext_resource type="Script" path="res://player/states/motion/on_ground/idle.gd" id="3"]
|
||||
[ext_resource type="Script" path="res://player/states/motion/on_ground/move.gd" id="4"]
|
||||
[ext_resource type="Script" path="res://player/states/motion/in_air/jump.gd" id="5"]
|
||||
[ext_resource type="Script" path="res://player/states/combat/stagger.gd" id="6"]
|
||||
[ext_resource type="Script" path="res://player/states/combat/attack.gd" id="7"]
|
||||
[ext_resource type="Script" path="res://player/states/die.gd" id="8"]
|
||||
[ext_resource type="Script" uid="uid://clya0ymtv6cnn" path="res://player/player_controller.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://bt4prj2loisak" path="res://player/player_state_machine.gd" id="2"]
|
||||
[ext_resource type="Script" uid="uid://duqfhrergdg0p" path="res://player/states/motion/on_ground/idle.gd" id="3"]
|
||||
[ext_resource type="Script" uid="uid://bprpybddlsqly" path="res://player/states/motion/on_ground/move.gd" id="4"]
|
||||
[ext_resource type="Script" uid="uid://c3jdmjrutxlu3" path="res://player/states/motion/in_air/jump.gd" id="5"]
|
||||
[ext_resource type="Script" uid="uid://bdx6kcg1n8na3" path="res://player/states/combat/stagger.gd" id="6"]
|
||||
[ext_resource type="Script" uid="uid://bianktk6rvu15" path="res://player/states/combat/attack.gd" id="7"]
|
||||
[ext_resource type="Script" uid="uid://badi2yipj0y74" path="res://player/states/die.gd" id="8"]
|
||||
[ext_resource type="Texture2D" uid="uid://eds33w28pilu" path="res://player/shadow.png" id="9"]
|
||||
[ext_resource type="Texture2D" uid="uid://ds53oxkqrcumd" path="res://player/body.png" id="10"]
|
||||
[ext_resource type="Script" path="res://player/bullet/bullet_spawner.gd" id="11"]
|
||||
[ext_resource type="Script" path="res://player/weapon/weapon_pivot.gd" id="12"]
|
||||
[ext_resource type="Script" uid="uid://duw4ejcjfrp7o" path="res://player/bullet/bullet_spawner.gd" id="11"]
|
||||
[ext_resource type="Script" uid="uid://d1hwnb818bhik" path="res://player/weapon/weapon_pivot.gd" id="12"]
|
||||
[ext_resource type="PackedScene" uid="uid://cdacdp11r3jua" path="res://player/weapon/Sword.tscn" id="13"]
|
||||
[ext_resource type="Script" path="res://player/states/debug/state_name_displayer.gd" id="15"]
|
||||
[ext_resource type="Script" uid="uid://dgpfeu3yan7hq" path="res://player/states/debug/state_name_displayer.gd" id="15"]
|
||||
|
||||
[sub_resource type="Animation" id="1"]
|
||||
|
||||
@@ -36,9 +36,9 @@ tracks/0/keys = {
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_vi1hn"]
|
||||
_data = {
|
||||
"idle": SubResource("1"),
|
||||
"stagger": SubResource("2"),
|
||||
"walk": SubResource("3")
|
||||
&"idle": SubResource("1"),
|
||||
&"stagger": SubResource("2"),
|
||||
&"walk": SubResource("3")
|
||||
}
|
||||
|
||||
[node name="Player" type="CharacterBody2D"]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://b6uru8lfx45ma"]
|
||||
|
||||
[ext_resource type="Script" path="res://player/bullet/bullet.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://crm4tdogdpumr" path="res://player/bullet/bullet.gd" id="1"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="1"]
|
||||
radius = 12.0
|
||||
|
||||
1
2d/finite_state_machine/player/bullet/bullet.gd.uid
Normal file
1
2d/finite_state_machine/player/bullet/bullet.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://crm4tdogdpumr
|
||||
@@ -0,0 +1 @@
|
||||
uid://duw4ejcjfrp7o
|
||||
1
2d/finite_state_machine/player/player_controller.gd.uid
Normal file
1
2d/finite_state_machine/player/player_controller.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://clya0ymtv6cnn
|
||||
@@ -0,0 +1 @@
|
||||
uid://bt4prj2loisak
|
||||
@@ -0,0 +1 @@
|
||||
uid://bianktk6rvu15
|
||||
@@ -0,0 +1 @@
|
||||
uid://bdx6kcg1n8na3
|
||||
@@ -0,0 +1 @@
|
||||
uid://dgpfeu3yan7hq
|
||||
1
2d/finite_state_machine/player/states/die.gd.uid
Normal file
1
2d/finite_state_machine/player/states/die.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://badi2yipj0y74
|
||||
@@ -0,0 +1 @@
|
||||
uid://c3jdmjrutxlu3
|
||||
@@ -0,0 +1 @@
|
||||
uid://bbwnftow50xk3
|
||||
@@ -0,0 +1 @@
|
||||
uid://duqfhrergdg0p
|
||||
@@ -0,0 +1 @@
|
||||
uid://bprpybddlsqly
|
||||
@@ -0,0 +1 @@
|
||||
uid://qyf46nijd62s
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://cdacdp11r3jua"]
|
||||
|
||||
[ext_resource type="Script" path="res://player/weapon/sword.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://1j2saaqxja3i" path="res://player/weapon/sword.gd" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://7cfjw83v5m75" path="res://player/weapon/sword.png" id="2"]
|
||||
|
||||
[sub_resource type="Animation" id="1"]
|
||||
@@ -222,11 +222,11 @@ tracks/0/keys = {
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_6cp3i"]
|
||||
_data = {
|
||||
"SETUP": SubResource("1"),
|
||||
"attack_circular": SubResource("2"),
|
||||
"attack_fast": SubResource("3"),
|
||||
"attack_medium": SubResource("4"),
|
||||
"idle": SubResource("5")
|
||||
&"SETUP": SubResource("1"),
|
||||
&"attack_circular": SubResource("2"),
|
||||
&"attack_fast": SubResource("3"),
|
||||
&"attack_medium": SubResource("4"),
|
||||
&"idle": SubResource("5")
|
||||
}
|
||||
|
||||
[node name="Sword" type="Area2D"]
|
||||
|
||||
1
2d/finite_state_machine/player/weapon/sword.gd.uid
Normal file
1
2d/finite_state_machine/player/weapon/sword.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://1j2saaqxja3i
|
||||
@@ -0,0 +1 @@
|
||||
uid://d1hwnb818bhik
|
||||
@@ -16,7 +16,7 @@ pattern in GDscript, including Hierarchical States, and a
|
||||
pushdown automaton."
|
||||
config/tags=PackedStringArray("2d", "ai", "demo", "official")
|
||||
run/main_scene="res://Demo.tscn"
|
||||
config/features=PackedStringArray("4.2")
|
||||
config/features=PackedStringArray("4.4")
|
||||
config/icon="res://icon.webp"
|
||||
|
||||
[debug]
|
||||
@@ -34,63 +34,63 @@ window/stretch/aspect="expand"
|
||||
|
||||
move_left={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":113,"echo":false,"script":null)
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":113,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
}
|
||||
move_up={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":122,"echo":false,"script":null)
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":122,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":12,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
}
|
||||
move_right={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"echo":false,"script":null)
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":15,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
}
|
||||
move_down={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194322,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"echo":false,"script":null)
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194322,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":1.0,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":13,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
}
|
||||
fire={
|
||||
"deadzone": 0.2,
|
||||
"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":82,"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":82,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":7,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
}
|
||||
run={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194325,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194325,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":1,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
}
|
||||
jump={
|
||||
"deadzone": 0.2,
|
||||
"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":32,"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":32,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
}
|
||||
simulate_damage={
|
||||
"deadzone": 0.2,
|
||||
"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":88,"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":88,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":3,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
}
|
||||
attack={
|
||||
"deadzone": 0.2,
|
||||
"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":70,"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":70,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":2,"pressure":0.0,"pressed":true,"script":null)
|
||||
]
|
||||
}
|
||||
|
||||
1
2d/finite_state_machine/state_machine/state.gd.uid
Normal file
1
2d/finite_state_machine/state_machine/state.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dhqouwibt7w6w
|
||||
@@ -0,0 +1 @@
|
||||
uid://b472efbw14vob
|
||||
1
2d/glow/beach_cave.gd.uid
Normal file
1
2d/glow/beach_cave.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://c357ae7xh2t52
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://bhcia8aeoa4cm"]
|
||||
|
||||
[ext_resource type="Script" path="res://beach_cave.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://c357ae7xh2t52" path="res://beach_cave.gd" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://drndflsw6mug" path="res://ocean_beach.png" id="2"]
|
||||
[ext_resource type="Texture2D" uid="uid://dyslwppgvocgd" path="res://ocean_cave.png" id="3"]
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ config/description="This showcases how to use glow in a 2D game via the WorldEnv
|
||||
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"
|
||||
config/features=PackedStringArray("4.2")
|
||||
config/features=PackedStringArray("4.4")
|
||||
config/icon="res://icon.webp"
|
||||
run/name=""
|
||||
|
||||
@@ -35,7 +35,7 @@ window/stretch/aspect="expand"
|
||||
|
||||
toggle_glow_map={
|
||||
"deadzone": 0.2,
|
||||
"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,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ config/name="Hexagonal Game"
|
||||
config/description="Very simple demo showing a hexagonal TileMap and TileSet."
|
||||
config/tags=PackedStringArray("2d", "demo", "official", "tilemap")
|
||||
run/main_scene="res://map.tscn"
|
||||
config/features=PackedStringArray("4.2")
|
||||
config/features=PackedStringArray("4.4")
|
||||
config/icon="res://icon.webp"
|
||||
|
||||
[debug]
|
||||
@@ -32,32 +32,32 @@ move_down={
|
||||
"deadzone": 0.2,
|
||||
"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(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)
|
||||
, 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,"location":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,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
move_left={
|
||||
"deadzone": 0.2,
|
||||
"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(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)
|
||||
, 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,"location":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,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
move_right={
|
||||
"deadzone": 0.2,
|
||||
"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(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)
|
||||
, 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,"location":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,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
move_up={
|
||||
"deadzone": 0.2,
|
||||
"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(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)
|
||||
, 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,"location":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,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
@@ -1,159 +1,159 @@
|
||||
[gd_scene load_steps=27 format=2]
|
||||
[gd_scene load_steps=27 format=3 uid="uid://twswrwvaadi0"]
|
||||
|
||||
[ext_resource path="res://tiles/WWT-01.png" type="Texture2D" id=1]
|
||||
[ext_resource path="res://tiles/WWT-02.png" type="Texture2D" id=2]
|
||||
[ext_resource path="res://tiles/WWT-03.png" type="Texture2D" id=3]
|
||||
[ext_resource path="res://tiles/WWT-04.png" type="Texture2D" id=4]
|
||||
[ext_resource path="res://tiles/WWT-05.png" type="Texture2D" id=5]
|
||||
[ext_resource path="res://tiles/WWT-06.png" type="Texture2D" id=6]
|
||||
[ext_resource path="res://tiles/WWT-07.png" type="Texture2D" id=7]
|
||||
[ext_resource path="res://tiles/WWT-08.png" type="Texture2D" id=8]
|
||||
[ext_resource path="res://tiles/WWT-09.png" type="Texture2D" id=9]
|
||||
[ext_resource path="res://tiles/WWT-10.png" type="Texture2D" id=10]
|
||||
[ext_resource path="res://tiles/WWT-11.png" type="Texture2D" id=11]
|
||||
[ext_resource path="res://tiles/WWT-12.png" type="Texture2D" id=12]
|
||||
[ext_resource path="res://tiles/WWT-13.png" type="Texture2D" id=13]
|
||||
[ext_resource path="res://tiles/WWT-14.png" type="Texture2D" id=14]
|
||||
[ext_resource path="res://tiles/WWT-15.png" type="Texture2D" id=15]
|
||||
[ext_resource path="res://tiles/WWT-16.png" type="Texture2D" id=16]
|
||||
[ext_resource path="res://tiles/WWT-17.png" type="Texture2D" id=17]
|
||||
[ext_resource path="res://tiles/WWT-18.png" type="Texture2D" id=18]
|
||||
[ext_resource path="res://tiles/WWT-19.png" type="Texture2D" id=19]
|
||||
[ext_resource path="res://tiles/WWT-20.png" type="Texture2D" id=20]
|
||||
[ext_resource path="res://tiles/WWT-21.png" type="Texture2D" id=21]
|
||||
[ext_resource path="res://tiles/WWT-22.png" type="Texture2D" id=22]
|
||||
[ext_resource path="res://tiles/WWT-23.png" type="Texture2D" id=23]
|
||||
[ext_resource path="res://tiles/WWT-24.png" type="Texture2D" id=24]
|
||||
[ext_resource path="res://tiles/WWT-25.png" type="Texture2D" id=25]
|
||||
[ext_resource path="res://tiles/WWT-26.png" type="Texture2D" id=26]
|
||||
[ext_resource type="Texture2D" uid="uid://crqmfvmjk10qv" path="res://tiles/WWT-01.png" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://cedbg617ddc06" path="res://tiles/WWT-02.png" id="2"]
|
||||
[ext_resource type="Texture2D" uid="uid://cmth7tlqu7i5b" path="res://tiles/WWT-03.png" id="3"]
|
||||
[ext_resource type="Texture2D" uid="uid://cnap3w3iv55k6" path="res://tiles/WWT-04.png" id="4"]
|
||||
[ext_resource type="Texture2D" uid="uid://b2l65q8a3gdh4" path="res://tiles/WWT-05.png" id="5"]
|
||||
[ext_resource type="Texture2D" uid="uid://dw1k6i44aj0x6" path="res://tiles/WWT-06.png" id="6"]
|
||||
[ext_resource type="Texture2D" uid="uid://c5fggtsfk75xa" path="res://tiles/WWT-07.png" id="7"]
|
||||
[ext_resource type="Texture2D" uid="uid://wqigqjsj3avp" path="res://tiles/WWT-08.png" id="8"]
|
||||
[ext_resource type="Texture2D" uid="uid://c6hs85g3cl0sq" path="res://tiles/WWT-09.png" id="9"]
|
||||
[ext_resource type="Texture2D" uid="uid://bpo0pq1q0f27b" path="res://tiles/WWT-10.png" id="10"]
|
||||
[ext_resource type="Texture2D" uid="uid://cbuym3gkbc32a" path="res://tiles/WWT-11.png" id="11"]
|
||||
[ext_resource type="Texture2D" uid="uid://dyhvpxrxlip5v" path="res://tiles/WWT-12.png" id="12"]
|
||||
[ext_resource type="Texture2D" uid="uid://cf37ho773vwp2" path="res://tiles/WWT-13.png" id="13"]
|
||||
[ext_resource type="Texture2D" uid="uid://bxai3ekb6emcv" path="res://tiles/WWT-14.png" id="14"]
|
||||
[ext_resource type="Texture2D" uid="uid://cqd2c2wh20qie" path="res://tiles/WWT-15.png" id="15"]
|
||||
[ext_resource type="Texture2D" uid="uid://1hkvgty64oul" path="res://tiles/WWT-16.png" id="16"]
|
||||
[ext_resource type="Texture2D" uid="uid://1iq2swd8y0kw" path="res://tiles/WWT-17.png" id="17"]
|
||||
[ext_resource type="Texture2D" uid="uid://cyoanntk2j1r5" path="res://tiles/WWT-18.png" id="18"]
|
||||
[ext_resource type="Texture2D" uid="uid://ceg6p4pycxma4" path="res://tiles/WWT-19.png" id="19"]
|
||||
[ext_resource type="Texture2D" uid="uid://chb3m0ywas0um" path="res://tiles/WWT-20.png" id="20"]
|
||||
[ext_resource type="Texture2D" uid="uid://c5uttqfeps4db" path="res://tiles/WWT-21.png" id="21"]
|
||||
[ext_resource type="Texture2D" uid="uid://desylm4omaicl" path="res://tiles/WWT-22.png" id="22"]
|
||||
[ext_resource type="Texture2D" uid="uid://c1124u4mauyoa" path="res://tiles/WWT-23.png" id="23"]
|
||||
[ext_resource type="Texture2D" uid="uid://bi8qsd7i1aahf" path="res://tiles/WWT-24.png" id="24"]
|
||||
[ext_resource type="Texture2D" uid="uid://c0ujnkfiof2c7" path="res://tiles/WWT-25.png" id="25"]
|
||||
[ext_resource type="Texture2D" uid="uid://nqj5fdvt56ad" path="res://tiles/WWT-26.png" id="26"]
|
||||
|
||||
[node name="TilesetEdit" type="Node2D"]
|
||||
|
||||
[node name="Tile1" type="Sprite2D" parent="."]
|
||||
texture = ExtResource( 1 )
|
||||
texture = ExtResource("1")
|
||||
centered = false
|
||||
|
||||
[node name="Tile2" type="Sprite2D" parent="."]
|
||||
position = Vector2(128, 0)
|
||||
texture = ExtResource( 2 )
|
||||
texture = ExtResource("2")
|
||||
centered = false
|
||||
|
||||
[node name="Tile3" type="Sprite2D" parent="."]
|
||||
position = Vector2(256, 0)
|
||||
texture = ExtResource( 3 )
|
||||
texture = ExtResource("3")
|
||||
centered = false
|
||||
|
||||
[node name="Tile4" type="Sprite2D" parent="."]
|
||||
position = Vector2(384, 0)
|
||||
texture = ExtResource( 4 )
|
||||
texture = ExtResource("4")
|
||||
centered = false
|
||||
|
||||
[node name="Tile5" type="Sprite2D" parent="."]
|
||||
position = Vector2(512, 0)
|
||||
texture = ExtResource( 5 )
|
||||
texture = ExtResource("5")
|
||||
centered = false
|
||||
|
||||
[node name="Tile6" type="Sprite2D" parent="."]
|
||||
position = Vector2(640, 0)
|
||||
texture = ExtResource( 6 )
|
||||
texture = ExtResource("6")
|
||||
centered = false
|
||||
|
||||
[node name="Tile7" type="Sprite2D" parent="."]
|
||||
position = Vector2(768, 0)
|
||||
texture = ExtResource( 7 )
|
||||
texture = ExtResource("7")
|
||||
centered = false
|
||||
|
||||
[node name="Tile8" type="Sprite2D" parent="."]
|
||||
position = Vector2(896, 0)
|
||||
texture = ExtResource( 8 )
|
||||
texture = ExtResource("8")
|
||||
centered = false
|
||||
|
||||
[node name="Tile9" type="Sprite2D" parent="."]
|
||||
position = Vector2(1024, 0)
|
||||
texture = ExtResource( 9 )
|
||||
texture = ExtResource("9")
|
||||
centered = false
|
||||
|
||||
[node name="Tile10" type="Sprite2D" parent="."]
|
||||
position = Vector2(0, 128)
|
||||
texture = ExtResource( 10 )
|
||||
texture = ExtResource("10")
|
||||
centered = false
|
||||
|
||||
[node name="Tile11" type="Sprite2D" parent="."]
|
||||
position = Vector2(128, 128)
|
||||
texture = ExtResource( 11 )
|
||||
texture = ExtResource("11")
|
||||
centered = false
|
||||
|
||||
[node name="Tile12" type="Sprite2D" parent="."]
|
||||
position = Vector2(256, 128)
|
||||
texture = ExtResource( 12 )
|
||||
texture = ExtResource("12")
|
||||
centered = false
|
||||
|
||||
[node name="Tile13" type="Sprite2D" parent="."]
|
||||
position = Vector2(384, 128)
|
||||
texture = ExtResource( 13 )
|
||||
texture = ExtResource("13")
|
||||
centered = false
|
||||
|
||||
[node name="Tile14" type="Sprite2D" parent="."]
|
||||
position = Vector2(512, 128)
|
||||
texture = ExtResource( 14 )
|
||||
texture = ExtResource("14")
|
||||
centered = false
|
||||
|
||||
[node name="Tile15" type="Sprite2D" parent="."]
|
||||
position = Vector2(640, 128)
|
||||
texture = ExtResource( 15 )
|
||||
texture = ExtResource("15")
|
||||
centered = false
|
||||
|
||||
[node name="Tile16" type="Sprite2D" parent="."]
|
||||
position = Vector2(768, 128)
|
||||
texture = ExtResource( 16 )
|
||||
texture = ExtResource("16")
|
||||
centered = false
|
||||
|
||||
[node name="Tile17" type="Sprite2D" parent="."]
|
||||
position = Vector2(896, 128)
|
||||
texture = ExtResource( 17 )
|
||||
texture = ExtResource("17")
|
||||
centered = false
|
||||
|
||||
[node name="Tile18" type="Sprite2D" parent="."]
|
||||
position = Vector2(1024, 128)
|
||||
texture = ExtResource( 18 )
|
||||
texture = ExtResource("18")
|
||||
centered = false
|
||||
|
||||
[node name="Tile19" type="Sprite2D" parent="."]
|
||||
position = Vector2(0, 256)
|
||||
texture = ExtResource( 19 )
|
||||
texture = ExtResource("19")
|
||||
centered = false
|
||||
|
||||
[node name="Tile20" type="Sprite2D" parent="."]
|
||||
position = Vector2(128, 256)
|
||||
texture = ExtResource( 20 )
|
||||
texture = ExtResource("20")
|
||||
centered = false
|
||||
|
||||
[node name="Tile21" type="Sprite2D" parent="."]
|
||||
position = Vector2(256, 256)
|
||||
texture = ExtResource( 21 )
|
||||
texture = ExtResource("21")
|
||||
centered = false
|
||||
|
||||
[node name="Tile22" type="Sprite2D" parent="."]
|
||||
position = Vector2(384, 256)
|
||||
texture = ExtResource( 22 )
|
||||
texture = ExtResource("22")
|
||||
centered = false
|
||||
|
||||
[node name="Tile23" type="Sprite2D" parent="."]
|
||||
position = Vector2(512, 256)
|
||||
texture = ExtResource( 23 )
|
||||
texture = ExtResource("23")
|
||||
centered = false
|
||||
|
||||
[node name="Tile24" type="Sprite2D" parent="."]
|
||||
position = Vector2(640, 256)
|
||||
texture = ExtResource( 24 )
|
||||
texture = ExtResource("24")
|
||||
centered = false
|
||||
|
||||
[node name="Tile25" type="Sprite2D" parent="."]
|
||||
position = Vector2(768, 256)
|
||||
texture = ExtResource( 25 )
|
||||
texture = ExtResource("25")
|
||||
centered = false
|
||||
|
||||
[node name="Tile26" type="Sprite2D" parent="."]
|
||||
position = Vector2(896, 256)
|
||||
texture = ExtResource( 26 )
|
||||
texture = ExtResource("26")
|
||||
centered = false
|
||||
|
||||
1
2d/hexagonal_map/troll.gd.uid
Normal file
1
2d/hexagonal_map/troll.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://ncd8ojl2luqf
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://bryfdf2r0lvau"]
|
||||
|
||||
[ext_resource type="Script" path="res://troll.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://ncd8ojl2luqf" path="res://troll.gd" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://c125b0x0g8lwk" path="res://troll.png" id="2"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="1"]
|
||||
|
||||
1
2d/instancing/ball_factory.gd.uid
Normal file
1
2d/instancing/ball_factory.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://1p4pju37s0lv
|
||||
@@ -15,7 +15,7 @@ config/description="A demo showing how to use scene instancing to
|
||||
make many duplicates of the same object."
|
||||
config/tags=PackedStringArray("2d", "demo", "official")
|
||||
run/main_scene="res://scene_instancing.tscn"
|
||||
config/features=PackedStringArray("4.2")
|
||||
config/features=PackedStringArray("4.4")
|
||||
config/icon="res://icon.webp"
|
||||
|
||||
[debug]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=13 format=3 uid="uid://rcsr8t4nw526"]
|
||||
|
||||
[ext_resource type="Script" path="res://ball_factory.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://1p4pju37s0lv" path="res://ball_factory.gd" id="1"]
|
||||
[ext_resource type="PackedScene" uid="uid://cgx884jv27maj" path="res://ball.tscn" id="2"]
|
||||
|
||||
[sub_resource type="PhysicsMaterial" id="1"]
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://cg8o3746cgxml"]
|
||||
|
||||
[ext_resource path="res://decorations/bone_pile_1.png" type="Texture2D" id=1]
|
||||
[ext_resource type="Texture2D" uid="uid://dpxv7d5d7hm33" path="res://decorations/bone_pile_1.png" id="1"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
radius = 18.0
|
||||
[sub_resource type="CapsuleShape2D" id="1"]
|
||||
radius = 14.0
|
||||
height = 28.0
|
||||
|
||||
[node name="bone_pile" type="Node2D"]
|
||||
@@ -12,9 +12,9 @@ height = 28.0
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="StaticBody2D"]
|
||||
position = Vector2(0, -14)
|
||||
texture = ExtResource( 1 )
|
||||
texture = ExtResource("1")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
||||
position = Vector2(0, -15)
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 1 )
|
||||
shape = SubResource("1")
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://b35jmtc8em4ld"]
|
||||
|
||||
[ext_resource path="res://decorations/bone_pile_2.png" type="Texture2D" id=1]
|
||||
[ext_resource type="Texture2D" uid="uid://wxpdcei7yeuk" path="res://decorations/bone_pile_2.png" id="1"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
[sub_resource type="CapsuleShape2D" id="1"]
|
||||
radius = 13.0
|
||||
height = 26.0001
|
||||
|
||||
@@ -10,11 +10,11 @@ height = 26.0001
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
position = Vector2(0, -13)
|
||||
texture = ExtResource( 1 )
|
||||
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 )
|
||||
shape = SubResource("1")
|
||||
|
||||
@@ -1,53 +1,54 @@
|
||||
[gd_scene load_steps=14 format=2]
|
||||
[gd_scene load_steps=14 format=3 uid="uid://b4ol62k507nn7"]
|
||||
|
||||
[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]
|
||||
[ext_resource type="Texture2D" uid="uid://bs6uc40vmpmhd" path="res://decorations/sparkle.png" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://bkae3n748i0ow" path="res://decorations/candle.png" id="2"]
|
||||
[ext_resource type="Texture2D" uid="uid://bfa7cvk3m65n3" path="res://decorations/fire.png" id="3"]
|
||||
[ext_resource type="Texture2D" uid="uid://cginrtmcplrec" path="res://decorations/glow.png" id="4"]
|
||||
|
||||
[sub_resource type="CanvasItemMaterial" id=1]
|
||||
[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]
|
||||
[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]
|
||||
[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
|
||||
[sub_resource type="Curve" id="4"]
|
||||
_limits = [0.0, 0.3, 0.0, 1.0]
|
||||
_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]
|
||||
point_count = 3
|
||||
|
||||
[sub_resource type="Gradient" id=5]
|
||||
[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]
|
||||
[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 )
|
||||
[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]
|
||||
[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 )
|
||||
[sub_resource type="GradientTexture2D" id="10"]
|
||||
gradient = SubResource("13")
|
||||
width = 800
|
||||
height = 500
|
||||
fill = 1
|
||||
@@ -58,7 +59,7 @@ fill_from = Vector2( 0.5, 0.5 )
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
light_mask = 128
|
||||
position = Vector2(0, -11)
|
||||
texture = ExtResource( 2 )
|
||||
texture = ExtResource("2")
|
||||
|
||||
[node name="glow" type="CPUParticles2D" parent="Sprite2D"]
|
||||
modulate = Color(1, 0.360784, 0.113725, 1)
|
||||
@@ -67,35 +68,35 @@ position = Vector2( -13, -33.244 )
|
||||
scale = Vector2(0.3, 0.5)
|
||||
amount = 1
|
||||
lifetime = 0.8
|
||||
texture = ExtResource( 4 )
|
||||
texture = ExtResource("4")
|
||||
gravity = Vector2(0, 0)
|
||||
|
||||
[node name="Fire" type="CPUParticles2D" parent="Sprite2D"]
|
||||
light_mask = 128
|
||||
material = SubResource( 1 )
|
||||
material = SubResource("1")
|
||||
position = Vector2(-13, -35)
|
||||
scale = Vector2(0.6, 0.6)
|
||||
amount = 1
|
||||
lifetime = 0.8
|
||||
texture = ExtResource( 3 )
|
||||
texture = ExtResource("3")
|
||||
gravity = Vector2(0, 0)
|
||||
color_ramp = SubResource( 2 )
|
||||
color_ramp = SubResource("2")
|
||||
anim_speed = 1.0
|
||||
|
||||
[node name="Sparkle" type="CPUParticles2D" parent="Sprite2D"]
|
||||
light_mask = 128
|
||||
material = SubResource( 3 )
|
||||
material = SubResource("3")
|
||||
position = Vector2(-13, -35)
|
||||
scale = Vector2(0.6, 0.6)
|
||||
amount = 3
|
||||
texture = ExtResource( 1 )
|
||||
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 )
|
||||
scale_amount_curve = SubResource("4")
|
||||
color_ramp = SubResource("5")
|
||||
anim_speed = 1.0
|
||||
|
||||
[node name="flow front" type="CPUParticles2D" parent="Sprite2D"]
|
||||
@@ -105,13 +106,13 @@ position = Vector2( -13, -28.689 )
|
||||
scale = Vector2(0.25, 0.25)
|
||||
amount = 1
|
||||
lifetime = 0.8
|
||||
texture = ExtResource( 4 )
|
||||
texture = ExtResource("4")
|
||||
gravity = Vector2(0, 0)
|
||||
|
||||
[node name="Light2D2" type="PointLight2D" parent="."]
|
||||
light_mask = 2
|
||||
position = Vector2(-15, -49)
|
||||
texture = SubResource( 9 )
|
||||
texture = SubResource("9")
|
||||
color = Color(1, 0.466667, 0.0352941, 1)
|
||||
energy = 2.0
|
||||
range_height = 450.9
|
||||
@@ -122,7 +123,7 @@ shadow_item_cull_mask = 145
|
||||
|
||||
[node name="PointLight2D" type="PointLight2D" parent="."]
|
||||
light_mask = 2
|
||||
texture = SubResource( 10 )
|
||||
texture = SubResource("10")
|
||||
color = Color(0.709804, 0.388235, 0.313726, 1)
|
||||
range_height = 901.9
|
||||
range_item_cull_mask = 17
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://crhvgu5svb00q"]
|
||||
|
||||
[ext_resource path="res://decorations/coin_pile.png" type="Texture2D" id=1]
|
||||
[ext_resource type="Texture2D" uid="uid://b6sjbdj350qkj" path="res://decorations/coin_pile.png" id="1"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
[sub_resource type="CapsuleShape2D" id="1"]
|
||||
radius = 12.0
|
||||
height = 38.0
|
||||
|
||||
@@ -12,9 +12,9 @@ height = 38.0
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="StaticBody2D"]
|
||||
position = Vector2(0, -23)
|
||||
texture = ExtResource( 1 )
|
||||
texture = ExtResource("1")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
||||
position = Vector2(0, -13)
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 1 )
|
||||
shape = SubResource("1")
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
[gd_scene load_steps=2 format=3 uid="uid://1qn6gng1j3uv"]
|
||||
|
||||
[ext_resource path="res://decorations/shadow_gradient.png" type="Texture2D" id=1]
|
||||
[ext_resource type="Texture2D" uid="uid://cmxo4k7h2nl7h" path="res://decorations/shadow_gradient.png" id="1"]
|
||||
|
||||
[node name="InternalShadow" type="Polygon2D"]
|
||||
color = Color(0.0705882, 0.0705882, 0.266667, 0.85098)
|
||||
texture = ExtResource( 1 )
|
||||
texture = ExtResource("1")
|
||||
polygon = PackedVector2Array(-92, -289, -94, 1, 128, -1, 121, -295)
|
||||
uv = PackedVector2Array(-2, -1, -2, 292, 264, 291, 261, -2)
|
||||
|
||||
@@ -3,17 +3,17 @@
|
||||
[ext_resource type="TileSet" uid="uid://ceswxvl27cesm" path="res://tileset/tileset.tres" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://cy8biel27i5i7" path="res://decorations/wall_skull.png" id="2"]
|
||||
[ext_resource type="PackedScene" uid="uid://bqpkxht3mx8l8" path="res://player/goblin.tscn" id="3"]
|
||||
[ext_resource type="PackedScene" path="res://decorations/candle.tscn" id="4"]
|
||||
[ext_resource type="PackedScene" uid="uid://b4ol62k507nn7" path="res://decorations/candle.tscn" id="4"]
|
||||
[ext_resource type="Texture2D" uid="uid://bqugyxfkeyt7x" path="res://decorations/rug_1.png" id="5"]
|
||||
[ext_resource type="Texture2D" uid="uid://bycat883fu7q2" path="res://decorations/banner.png" id="6"]
|
||||
[ext_resource type="PackedScene" uid="uid://dxxtyefaa4rtn" path="res://decorations/vase_1.tscn" id="7"]
|
||||
[ext_resource type="PackedScene" uid="uid://ccxtgas16pmio" path="res://decorations/vase_2.tscn" id="8"]
|
||||
[ext_resource type="PackedScene" path="res://decorations/coin_pile.tscn" id="9"]
|
||||
[ext_resource type="PackedScene" path="res://decorations/bone_pile_1.tscn" id="10"]
|
||||
[ext_resource type="PackedScene" path="res://decorations/bone_pile_2.tscn" id="11"]
|
||||
[ext_resource type="PackedScene" uid="uid://crhvgu5svb00q" path="res://decorations/coin_pile.tscn" id="9"]
|
||||
[ext_resource type="PackedScene" uid="uid://cg8o3746cgxml" path="res://decorations/bone_pile_1.tscn" id="10"]
|
||||
[ext_resource type="PackedScene" uid="uid://b35jmtc8em4ld" path="res://decorations/bone_pile_2.tscn" id="11"]
|
||||
[ext_resource type="Texture2D" uid="uid://cginrtmcplrec" path="res://decorations/glow.png" id="12"]
|
||||
[ext_resource type="Texture2D" uid="uid://cmxo4k7h2nl7h" path="res://decorations/shadow_gradient.png" id="13"]
|
||||
[ext_resource type="PackedScene" path="res://decorations/internal_shadow.tscn" id="14"]
|
||||
[ext_resource type="PackedScene" uid="uid://1qn6gng1j3uv" path="res://decorations/internal_shadow.tscn" id="14"]
|
||||
[ext_resource type="Texture2D" uid="uid://dahfdmuvra5we" path="res://decorations/drape_1.png" id="15"]
|
||||
[ext_resource type="Texture2D" uid="uid://dmqbp4e43sm1t" path="res://decorations/paw_prints.png" id="16"]
|
||||
[ext_resource type="Texture2D" uid="uid://d3j0qnogdctw4" path="res://decorations/crow_sleep.png" id="18"]
|
||||
|
||||
1
2d/isometric/player/goblin.gd.uid
Normal file
1
2d/isometric/player/goblin.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://di4s678ldrj6l
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=264 format=3 uid="uid://bqpkxht3mx8l8"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dpwpop61vufvt" path="res://player/goblin.png" id="1"]
|
||||
[ext_resource type="Script" path="res://player/goblin.gd" id="2"]
|
||||
[ext_resource type="Script" uid="uid://di4s678ldrj6l" path="res://player/goblin.gd" id="2"]
|
||||
|
||||
[sub_resource type="Gradient" id="662"]
|
||||
offsets = PackedFloat32Array(0.00558659, 0.441341, 0.659218)
|
||||
|
||||
@@ -17,7 +17,7 @@ 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."
|
||||
config/tags=PackedStringArray("2d", "demo", "official", "tilemap")
|
||||
run/main_scene="res://dungeon.tscn"
|
||||
config/features=PackedStringArray("4.2")
|
||||
config/features=PackedStringArray("4.4")
|
||||
config/icon="res://icon.webp"
|
||||
|
||||
[display]
|
||||
@@ -29,32 +29,32 @@ window/stretch/aspect="expand"
|
||||
|
||||
move_down={
|
||||
"deadzone": 0.2,
|
||||
"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)
|
||||
, 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)
|
||||
"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,"location":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,"key_label":0,"unicode":0,"location":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)
|
||||
]
|
||||
}
|
||||
move_left={
|
||||
"deadzone": 0.2,
|
||||
"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)
|
||||
, 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)
|
||||
"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,"location":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,"key_label":0,"unicode":0,"location":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)
|
||||
]
|
||||
}
|
||||
move_right={
|
||||
"deadzone": 0.2,
|
||||
"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)
|
||||
, 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)
|
||||
"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,"location":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,"key_label":0,"unicode":0,"location":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)
|
||||
]
|
||||
}
|
||||
move_up={
|
||||
"deadzone": 0.2,
|
||||
"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)
|
||||
, 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)
|
||||
"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,"location":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,"key_label":0,"unicode":0,"location":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)
|
||||
]
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://co55dd2ckce04"]
|
||||
|
||||
[ext_resource path="res://tileset/isotiles.png" type="Texture2D" id=1]
|
||||
[ext_resource type="Texture2D" uid="uid://dup8jrb6ajapx" path="res://tileset/isotiles.png" id="1"]
|
||||
|
||||
[sub_resource type="OccluderPolygon2D" id=2]
|
||||
[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 )
|
||||
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 )
|
||||
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 )
|
||||
texture = ExtResource("1")
|
||||
offset = Vector2(0, -32)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(28, 220, 140, 140)
|
||||
@@ -32,11 +32,11 @@ polygon = PackedVector2Array( -64, 0, 0, 32, 64, 0, 0, -32 )
|
||||
|
||||
[node name="LightOccluder2D" type="LightOccluder2D" parent="Wall"]
|
||||
visible = false
|
||||
occluder = SubResource( 2 )
|
||||
occluder = SubResource("2")
|
||||
|
||||
[node name="Column" type="Sprite2D" parent="."]
|
||||
position = Vector2(600, 0)
|
||||
texture = ExtResource( 1 )
|
||||
texture = ExtResource("1")
|
||||
offset = Vector2(0, -32)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(259, 241, 55, 95)
|
||||
@@ -49,7 +49,7 @@ polygon = PackedVector2Array( -27, 7, -14, 20, 16, 20, 28, 4, 24, -12, 10, -22,
|
||||
|
||||
[node name="Door1" type="Sprite2D" parent="."]
|
||||
position = Vector2(800, 0)
|
||||
texture = ExtResource( 1 )
|
||||
texture = ExtResource("1")
|
||||
offset = Vector2(0, -25)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(54, 426, 85, 110)
|
||||
|
||||
1
2d/kinematic_character/level/princess.gd.uid
Normal file
1
2d/kinematic_character/level/princess.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bj33aputmer8v
|
||||
1
2d/kinematic_character/player/player.gd.uid
Normal file
1
2d/kinematic_character/player/player.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://brnv71sufqqn
|
||||
@@ -1,17 +1,17 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://1mg1vqqw4sf8"]
|
||||
|
||||
[ext_resource path="res://player/player.gd" type="Script" id=1]
|
||||
[ext_resource path="res://player/player.png" type="Texture2D" id=2]
|
||||
[ext_resource type="Script" uid="uid://brnv71sufqqn" path="res://player/player.gd" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://dfb8rr2fakwgp" path="res://player/player.png" id="2"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2(7, 7)
|
||||
[sub_resource type="RectangleShape2D" id="1"]
|
||||
size = Vector2(14, 14)
|
||||
|
||||
[node name="Player" type="CharacterBody2D"]
|
||||
script = ExtResource( 1 )
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource( 2 )
|
||||
texture = ExtResource("2")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(-0.315559, 0.157784)
|
||||
shape = SubResource( 1 )
|
||||
shape = SubResource("1")
|
||||
|
||||
@@ -16,7 +16,7 @@ CharacterBody2D. The character moves around, is affected by moving
|
||||
platforms, can jump through one-way collision platforms, etc."
|
||||
config/tags=PackedStringArray("2d", "demo", "official", "physics")
|
||||
run/main_scene="res://world.tscn"
|
||||
config/features=PackedStringArray("4.2")
|
||||
config/features=PackedStringArray("4.4")
|
||||
config/icon="res://icon.webp"
|
||||
|
||||
[debug]
|
||||
@@ -37,25 +37,25 @@ jump={
|
||||
"events": [Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":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(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":32,"physical_keycode":0,"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,"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)
|
||||
, 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":32,"physical_keycode":0,"key_label":0,"unicode":0,"location":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,"key_label":0,"unicode":0,"location":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,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
move_left={
|
||||
"deadzone": 0.2,
|
||||
"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(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":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
, 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,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
move_right={
|
||||
"deadzone": 0.2,
|
||||
"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(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)
|
||||
, 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,"location":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,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
@@ -1,19 +1,17 @@
|
||||
[gd_scene load_steps=23 format=3 uid="uid://de7qapkqfycxl"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cs8h2qyuakmko" path="res://level/obstacle.png" id="2"]
|
||||
[ext_resource type="PackedScene" path="res://player/player.tscn" id="3"]
|
||||
[ext_resource type="PackedScene" uid="uid://1mg1vqqw4sf8" path="res://player/player.tscn" id="3"]
|
||||
[ext_resource type="Texture2D" uid="uid://cxl5cvsgyxcoe" path="res://level/princess.png" id="4"]
|
||||
[ext_resource type="Texture2D" uid="uid://1ign8s1w414r" path="res://level/circle.png" id="5"]
|
||||
[ext_resource type="Texture2D" uid="uid://hp84e6iwjqjy" path="res://level/long_obstacle.png" id="6"]
|
||||
[ext_resource type="Script" path="res://level/princess.gd" id="7"]
|
||||
[ext_resource type="Script" uid="uid://bj33aputmer8v" path="res://level/princess.gd" id="7"]
|
||||
|
||||
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_on5ov"]
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_vnjib"]
|
||||
texture = ExtResource("2")
|
||||
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(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
||||
[sub_resource type="TileSet" id="TileSet_xqlka"]
|
||||
@@ -42,7 +40,7 @@ tracks/0/keys = {
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_2v3oa"]
|
||||
_data = {
|
||||
"leftright": SubResource("4")
|
||||
&"leftright": SubResource("4")
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="5"]
|
||||
@@ -80,8 +78,8 @@ tracks/0/keys = {
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_j555p"]
|
||||
_data = {
|
||||
"leftright": SubResource("5"),
|
||||
"updown": SubResource("6")
|
||||
&"leftright": SubResource("5"),
|
||||
&"updown": SubResource("6")
|
||||
}
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="7"]
|
||||
@@ -111,7 +109,7 @@ tracks/0/keys = {
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_gijtf"]
|
||||
_data = {
|
||||
"turn": SubResource("10")
|
||||
&"turn": SubResource("10")
|
||||
}
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="11"]
|
||||
|
||||
@@ -48,7 +48,7 @@ tracks/2/keys = {
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_co4us"]
|
||||
_data = {
|
||||
"maskmotion": SubResource("2")
|
||||
&"maskmotion": SubResource("2")
|
||||
}
|
||||
|
||||
[node name="Lightmask" type="Control"]
|
||||
|
||||
@@ -14,7 +14,7 @@ config/name="2D Lights as Mask"
|
||||
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"
|
||||
config/features=PackedStringArray("4.2")
|
||||
config/features=PackedStringArray("4.4")
|
||||
config/icon="res://icon.webp"
|
||||
|
||||
[debug]
|
||||
|
||||
1
2d/lights_and_shadows/light_shadows.gd.uid
Normal file
1
2d/lights_and_shadows/light_shadows.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://d1gyao34mw1tv
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=25 format=3 uid="uid://xdjwv7eeck6l"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://ulsh8ubvub37" path="res://background.png" id="1"]
|
||||
[ext_resource type="Script" path="res://light_shadows.gd" id="1_7xjm7"]
|
||||
[ext_resource type="Script" uid="uid://d1gyao34mw1tv" path="res://light_shadows.gd" id="1_7xjm7"]
|
||||
[ext_resource type="Texture2D" uid="uid://kkvm5nl3vgun" path="res://caster.png" id="2"]
|
||||
[ext_resource type="Texture2D" uid="uid://dk6osr088g4l3" path="res://light.png" id="3"]
|
||||
[ext_resource type="Texture2D" uid="uid://cnyul1oe7d4b" path="res://spot.png" id="4"]
|
||||
@@ -68,8 +68,8 @@ tracks/0/keys = {
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_wawvy"]
|
||||
_data = {
|
||||
"motion": SubResource("3"),
|
||||
"motion2": SubResource("4")
|
||||
&"motion": SubResource("3"),
|
||||
&"motion2": SubResource("4")
|
||||
}
|
||||
|
||||
[sub_resource type="CanvasItemMaterial" id="5"]
|
||||
@@ -77,8 +77,8 @@ blend_mode = 1
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_fig6v"]
|
||||
_data = {
|
||||
"m2": SubResource("4"),
|
||||
"motion": SubResource("3")
|
||||
&"m2": SubResource("4"),
|
||||
&"motion": SubResource("3")
|
||||
}
|
||||
|
||||
[sub_resource type="CanvasItemMaterial" id="6"]
|
||||
@@ -102,9 +102,9 @@ tracks/0/keys = {
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_kfxj1"]
|
||||
_data = {
|
||||
"motion": SubResource("3"),
|
||||
"motion2": SubResource("4"),
|
||||
"motion3": SubResource("7")
|
||||
&"motion": SubResource("3"),
|
||||
&"motion2": SubResource("4"),
|
||||
&"motion3": SubResource("7")
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_emv7u"]
|
||||
@@ -141,8 +141,8 @@ tracks/0/keys = {
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_6bket"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_emv7u"),
|
||||
"rotate_directional_light": SubResource("Animation_rgbru")
|
||||
&"RESET": SubResource("Animation_emv7u"),
|
||||
&"rotate_directional_light": SubResource("Animation_rgbru")
|
||||
}
|
||||
|
||||
[node name="LightShadows" type="Node2D"]
|
||||
|
||||
@@ -15,7 +15,7 @@ config/description="Simple demo of 2D lights and shadows,
|
||||
using PointLight2D and LightOccluder2D."
|
||||
config/tags=PackedStringArray("2d", "demo", "official", "rendering")
|
||||
run/main_scene="res://light_shadows.tscn"
|
||||
config/features=PackedStringArray("4.3")
|
||||
config/features=PackedStringArray("4.4")
|
||||
config/icon="res://icon.webp"
|
||||
|
||||
[debug]
|
||||
|
||||
1
2d/navigation/character.gd.uid
Normal file
1
2d/navigation/character.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dkgahtfi2vfmd
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://ct7veakwiei3h"]
|
||||
|
||||
[ext_resource type="Script" path="res://character.gd" id="1_8uimh"]
|
||||
[ext_resource type="Script" uid="uid://dkgahtfi2vfmd" path="res://character.gd" id="1_8uimh"]
|
||||
[ext_resource type="Texture2D" uid="uid://b0wokaenwu7pj" path="res://character.png" id="1_rmg12"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_20ukx"]
|
||||
|
||||
@@ -16,7 +16,7 @@ NavigationPolygonInstance node. It uses the 2D navigation API to request
|
||||
a path between two points, and then traverses the resulting path."
|
||||
config/tags=PackedStringArray("2d", "ai", "demo", "official")
|
||||
run/main_scene="res://navigation.tscn"
|
||||
config/features=PackedStringArray("4.2")
|
||||
config/features=PackedStringArray("4.4")
|
||||
config/icon="res://icon.webp"
|
||||
|
||||
[debug]
|
||||
|
||||
1
2d/navigation_astar/character.gd.uid
Normal file
1
2d/navigation_astar/character.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dbxydeq5tyjky
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://baj4xukvf568b" path="res://sprites/space.png" id="1_2jdkd"]
|
||||
[ext_resource type="TileSet" uid="uid://f3wmg8detyai" path="res://tileset/tileset.tres" id="2_aylbj"]
|
||||
[ext_resource type="Script" path="res://pathfind_astar.gd" id="3_taaih"]
|
||||
[ext_resource type="Script" path="res://character.gd" id="4_ticbk"]
|
||||
[ext_resource type="Script" uid="uid://cev7v38bl1iva" path="res://pathfind_astar.gd" id="3_taaih"]
|
||||
[ext_resource type="Script" uid="uid://dbxydeq5tyjky" path="res://character.gd" id="4_ticbk"]
|
||||
[ext_resource type="Texture2D" uid="uid://bjsmfha28ro00" path="res://sprites/sparkle.png" id="5_1i6tb"]
|
||||
[ext_resource type="Texture2D" uid="uid://vsempfpeu7wr" path="res://sprites/character.png" id="6_b3lcn"]
|
||||
|
||||
|
||||
1
2d/navigation_astar/pathfind_astar.gd.uid
Normal file
1
2d/navigation_astar/pathfind_astar.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://cev7v38bl1iva
|
||||
@@ -15,7 +15,7 @@ config/description="This is an example of using AStarGrid2D for navigation in 2D
|
||||
complete with Steering Behaviors in order to smooth the movement out."
|
||||
config/tags=PackedStringArray("2d", "ai", "demo", "official", "tilemap")
|
||||
run/main_scene="res://game.tscn"
|
||||
config/features=PackedStringArray("4.2")
|
||||
config/features=PackedStringArray("4.4")
|
||||
config/icon="res://icon.webp"
|
||||
|
||||
[debug]
|
||||
|
||||
34
2d/navigation_mesh_chunks/icon.webp.import
Normal file
34
2d/navigation_mesh_chunks/icon.webp.import
Normal file
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://2c7xavrk05gv"
|
||||
path="res://.godot/imported/icon.webp-e94f9a68b0f625a567a797079e4d325f.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://icon.webp"
|
||||
dest_files=["res://.godot/imported/icon.webp-e94f9a68b0f625a567a797079e4d325f.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
2d/navigation_mesh_chunks/navmesh_chhunks_demo_2d.gd.uid
Normal file
1
2d/navigation_mesh_chunks/navmesh_chhunks_demo_2d.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://n6v5mfcumdmh
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://svfku2i5n033"]
|
||||
|
||||
[ext_resource type="Script" path="res://navmesh_chhunks_demo_2d.gd" id="1_d68tl"]
|
||||
[ext_resource type="Script" uid="uid://n6v5mfcumdmh" path="res://navmesh_chhunks_demo_2d.gd" id="1_d68tl"]
|
||||
|
||||
[node name="NavMeshChunksDemo2D" type="Node2D"]
|
||||
script = ExtResource("1_d68tl")
|
||||
|
||||
@@ -13,7 +13,7 @@ config_version=5
|
||||
config/name="Navigation Mesh Chunks 2D"
|
||||
config/tags=PackedStringArray("2d", "ai", "demo", "official")
|
||||
run/main_scene="res://navmesh_chhunks_demo_2d.tscn"
|
||||
config/features=PackedStringArray("4.3", "GL Compatibility")
|
||||
config/features=PackedStringArray("4.4", "GL Compatibility")
|
||||
config/icon="res://icon.webp"
|
||||
|
||||
[display]
|
||||
|
||||
File diff suppressed because one or more lines are too long
1
2d/particles/pause.gd.uid
Normal file
1
2d/particles/pause.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dwtnqprkhkpob
|
||||
@@ -14,7 +14,7 @@ config/name="2D GPUParticles3D"
|
||||
config/description="This demo showcases how 2D particle systems work in Godot."
|
||||
config/tags=PackedStringArray("2d", "demo", "official", "rendering")
|
||||
run/main_scene="res://particles.tscn"
|
||||
config/features=PackedStringArray("4.2")
|
||||
config/features=PackedStringArray("4.4")
|
||||
config/icon="res://icon.webp"
|
||||
|
||||
[debug]
|
||||
@@ -30,33 +30,33 @@ window/stretch/aspect="expand"
|
||||
|
||||
toggle_pause={
|
||||
"deadzone": 0.2,
|
||||
"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":32,"physical_keycode":0,"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":4194313,"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":32,"physical_keycode":0,"key_label":0,"unicode":0,"location":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":4194313,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
toggle_trails={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":84,"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":0,"physical_keycode":84,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
increase_trail_length={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"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":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
decrease_trail_length={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194322,"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":0,"physical_keycode":4194322,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
toggle_glow={
|
||||
"deadzone": 0.2,
|
||||
"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,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
|
||||
[rendering]
|
||||
|
||||
renderer/rendering_method="mobile"
|
||||
environment/defaults/default_clear_color=Color(0, 0, 0, 1)
|
||||
anti_aliasing/quality/msaa_2d=2
|
||||
environment/defaults/default_clear_color=Color(0, 0, 0, 1)
|
||||
|
||||
1
2d/physics_platformer/coin/coin.gd.uid
Normal file
1
2d/physics_platformer/coin/coin.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bjuea6cfhdx0c
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=11 format=3 uid="uid://6uilf6rad880"]
|
||||
|
||||
[ext_resource type="Script" path="res://coin/coin.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://bjuea6cfhdx0c" path="res://coin/coin.gd" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://bio1crwbvrmc2" path="res://coin/coin.png" id="2"]
|
||||
[ext_resource type="AudioStream" uid="uid://cy7lxrapbqu1r" path="res://audio/sound_coin.wav" id="3"]
|
||||
[ext_resource type="Texture2D" uid="uid://7sv64orewgmb" path="res://player/bullet.png" id="4"]
|
||||
@@ -91,8 +91,8 @@ tracks/4/keys = {
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_4atuj"]
|
||||
_data = {
|
||||
"spin": SubResource("1"),
|
||||
"taken": SubResource("2")
|
||||
&"spin": SubResource("1"),
|
||||
&"taken": SubResource("2")
|
||||
}
|
||||
|
||||
[sub_resource type="CircleShape2D" id="3"]
|
||||
|
||||
1
2d/physics_platformer/enemy/enemy.gd.uid
Normal file
1
2d/physics_platformer/enemy/enemy.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dhnjultys4i0n
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=14 format=3 uid="uid://daqqtote00syu"]
|
||||
|
||||
[ext_resource type="Script" path="res://enemy/enemy.gd" id="1_hjwkx"]
|
||||
[ext_resource type="Script" uid="uid://dhnjultys4i0n" path="res://enemy/enemy.gd" id="1_hjwkx"]
|
||||
[ext_resource type="Texture2D" uid="uid://crrmmbu8k46tl" path="res://enemy/enemy.png" id="2_org2d"]
|
||||
[ext_resource type="Texture2D" uid="uid://7sv64orewgmb" path="res://player/bullet.png" id="3_7unrb"]
|
||||
[ext_resource type="AudioStream" uid="uid://cfssio7r2t7wq" path="res://audio/sound_hit.wav" id="4_5rkwm"]
|
||||
@@ -129,10 +129,10 @@ tracks/0/keys = {
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ay0tp"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_a7qal"),
|
||||
"explode": SubResource("2"),
|
||||
"idle": SubResource("3"),
|
||||
"walk": SubResource("4")
|
||||
&"RESET": SubResource("Animation_a7qal"),
|
||||
&"explode": SubResource("2"),
|
||||
&"idle": SubResource("3"),
|
||||
&"walk": SubResource("4")
|
||||
}
|
||||
|
||||
[sub_resource type="CircleShape2D" id="5"]
|
||||
|
||||
1
2d/physics_platformer/player/bullet.gd.uid
Normal file
1
2d/physics_platformer/player/bullet.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://o5d31j3cb8co
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://dlfwkokoudcwv"]
|
||||
|
||||
[ext_resource type="Script" path="res://player/bullet.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://o5d31j3cb8co" path="res://player/bullet.gd" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://7sv64orewgmb" path="res://player/bullet.png" id="2"]
|
||||
|
||||
[sub_resource type="CanvasItemMaterial" id="1"]
|
||||
@@ -52,7 +52,7 @@ tracks/2/keys = {
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_hkd2b"]
|
||||
_data = {
|
||||
"shutdown": SubResource("3")
|
||||
&"shutdown": SubResource("3")
|
||||
}
|
||||
|
||||
[node name="Bullet" type="RigidBody2D"]
|
||||
|
||||
1
2d/physics_platformer/player/player.gd.uid
Normal file
1
2d/physics_platformer/player/player.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dc65th8sdysu3
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=20 format=3 uid="uid://bbxsp4gp554vh"]
|
||||
|
||||
[ext_resource type="Script" path="res://player/player.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://dc65th8sdysu3" path="res://player/player.gd" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://dh57uloeigwj6" path="res://player/player.webp" id="2_675nc"]
|
||||
[ext_resource type="Texture2D" uid="uid://7sv64orewgmb" path="res://player/bullet.png" id="3"]
|
||||
[ext_resource type="AudioStream" uid="uid://gw2a4ii0oby2" path="res://audio/sound_shoot.wav" id="8"]
|
||||
@@ -178,16 +178,16 @@ tracks/0/keys = {
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_30623"]
|
||||
_data = {
|
||||
"crouch": SubResource("3"),
|
||||
"falling": SubResource("4"),
|
||||
"falling_weapon": SubResource("5"),
|
||||
"idle": SubResource("6"),
|
||||
"idle_weapon": SubResource("7"),
|
||||
"jumping": SubResource("8"),
|
||||
"jumping_weapon": SubResource("9"),
|
||||
"run": SubResource("10"),
|
||||
"run_weapon": SubResource("11"),
|
||||
"standing_weapon_ready": SubResource("12")
|
||||
&"crouch": SubResource("3"),
|
||||
&"falling": SubResource("4"),
|
||||
&"falling_weapon": SubResource("5"),
|
||||
&"idle": SubResource("6"),
|
||||
&"idle_weapon": SubResource("7"),
|
||||
&"jumping": SubResource("8"),
|
||||
&"jumping_weapon": SubResource("9"),
|
||||
&"run": SubResource("10"),
|
||||
&"run_weapon": SubResource("11"),
|
||||
&"standing_weapon_ready": SubResource("12")
|
||||
}
|
||||
|
||||
[sub_resource type="SeparationRayShape2D" id="13"]
|
||||
|
||||
@@ -17,7 +17,7 @@ but can be more difficult to handle, as they require
|
||||
manual modification of the RigidBody3D velocity."
|
||||
config/tags=PackedStringArray("2d", "demo", "official", "physics", "tilemap")
|
||||
run/main_scene="res://stage.tscn"
|
||||
config/features=PackedStringArray("4.2")
|
||||
config/features=PackedStringArray("4.4")
|
||||
config/icon="res://icon.webp"
|
||||
|
||||
[debug]
|
||||
@@ -59,30 +59,30 @@ texture={
|
||||
|
||||
jump={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":122,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":122,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
}
|
||||
move_left={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":113,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":113,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":-1.0,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":13,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
}
|
||||
move_right={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"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)
|
||||
]
|
||||
}
|
||||
shoot={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":32,"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":0,"physical_keycode":32,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":0,"position":Vector2(0, 0),"global_position":Vector2(0, 0),"factor":1.0,"button_index":1,"canceled":false,"pressed":false,"double_click":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":2,"pressure":0.0,"pressed":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":7,"pressure":0.0,"pressed":false,"script":null)
|
||||
@@ -90,7 +90,7 @@ shoot={
|
||||
}
|
||||
spawn={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":82,"key_label":0,"unicode":114,"echo":false,"script":null)
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":82,"key_label":0,"unicode":114,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":3,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
}
|
||||
|
||||
@@ -92,8 +92,8 @@ tracks/2/keys = {
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_el48w"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_oxal6"),
|
||||
"move": SubResource("Animation_vjtqx")
|
||||
&"RESET": SubResource("Animation_oxal6"),
|
||||
&"move": SubResource("Animation_vjtqx")
|
||||
}
|
||||
|
||||
[sub_resource type="PhysicsMaterial" id="2"]
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
[gd_scene load_steps=2 format=3 uid="uid://clx0hgyagb3df"]
|
||||
|
||||
[ext_resource path="res://tiles_demo.png" type="Texture2D" id=1]
|
||||
[ext_resource type="Texture2D" uid="uid://dbcdt0wqr3gd3" path="res://tiles_demo.png" id="1"]
|
||||
|
||||
[node name="TilesetEdit" type="Node2D"]
|
||||
|
||||
[node name="Floor" type="Sprite2D" parent="."]
|
||||
texture = ExtResource( 1 )
|
||||
texture = ExtResource("1")
|
||||
region_rect = Rect2(0, 0, 32, 32)
|
||||
|
||||
[node name="Collision" type="StaticBody2D" parent="Floor"]
|
||||
@@ -15,7 +15,7 @@ polygon = PackedVector2Array(16, -12, 16, 16, -16, 16, -16, -12)
|
||||
|
||||
[node name="Edge" type="Sprite2D" parent="."]
|
||||
position = Vector2(32, 0)
|
||||
texture = ExtResource( 1 )
|
||||
texture = ExtResource("1")
|
||||
region_rect = Rect2(32, 0, 32, 32)
|
||||
|
||||
[node name="Collision" type="StaticBody2D" parent="Edge"]
|
||||
@@ -25,7 +25,7 @@ polygon = PackedVector2Array(-16, -12, 12, -12, 12, 16, -16, 16)
|
||||
|
||||
[node name="Wall" type="Sprite2D" parent="."]
|
||||
position = Vector2(32, 32)
|
||||
texture = ExtResource( 1 )
|
||||
texture = ExtResource("1")
|
||||
region_rect = Rect2(32, 32, 32, 32)
|
||||
|
||||
[node name="Collision" type="StaticBody2D" parent="Wall"]
|
||||
@@ -35,7 +35,7 @@ polygon = PackedVector2Array(-16, -16, 12, -16, 12, 16, -16, 16)
|
||||
|
||||
[node name="WallDeco" type="Sprite2D" parent="."]
|
||||
position = Vector2(48, 64)
|
||||
texture = ExtResource( 1 )
|
||||
texture = ExtResource("1")
|
||||
region_rect = Rect2(160, 64, 64, 32)
|
||||
|
||||
[node name="Collision" type="StaticBody2D" parent="WallDeco"]
|
||||
@@ -45,7 +45,7 @@ polygon = PackedVector2Array(-32, -16, -4, -16, -4, 16, -32, 16)
|
||||
|
||||
[node name="Corner" type="Sprite2D" parent="."]
|
||||
position = Vector2(32, 96)
|
||||
texture = ExtResource( 1 )
|
||||
texture = ExtResource("1")
|
||||
region_rect = Rect2(32, 64, 32, 32)
|
||||
|
||||
[node name="Collision" type="StaticBody2D" parent="Corner"]
|
||||
@@ -55,7 +55,7 @@ polygon = PackedVector2Array(-16, -16, 12, -16, 16, -12, 16, 16, -16, 16)
|
||||
|
||||
[node name="Flowers" type="Sprite2D" parent="."]
|
||||
position = Vector2(64, 96)
|
||||
texture = ExtResource( 1 )
|
||||
texture = ExtResource("1")
|
||||
region_rect = Rect2(96, 96, 32, 32)
|
||||
|
||||
[node name="Collision" type="StaticBody2D" parent="Flowers"]
|
||||
@@ -65,7 +65,7 @@ polygon = PackedVector2Array(-16, 16, 16, 16, 16, -12, -16, -12)
|
||||
|
||||
[node name="TreeBase" type="Sprite2D" parent="."]
|
||||
position = Vector2(96, 96)
|
||||
texture = ExtResource( 1 )
|
||||
texture = ExtResource("1")
|
||||
region_rect = Rect2(128, 96, 32, 32)
|
||||
|
||||
[node name="Collision" type="StaticBody2D" parent="TreeBase"]
|
||||
@@ -75,27 +75,27 @@ polygon = PackedVector2Array(-16, 16, 16, 16, 16, -12, -16, -12)
|
||||
|
||||
[node name="TreeMid" type="Sprite2D" parent="."]
|
||||
position = Vector2(96, 64)
|
||||
texture = ExtResource( 1 )
|
||||
texture = ExtResource("1")
|
||||
region_rect = Rect2(128, 64, 32, 32)
|
||||
|
||||
[node name="TreeMid2" type="Sprite2D" parent="."]
|
||||
position = Vector2(96, 32)
|
||||
texture = ExtResource( 1 )
|
||||
texture = ExtResource("1")
|
||||
region_rect = Rect2(128, 32, 32, 32)
|
||||
|
||||
[node name="TreeTop" type="Sprite2D" parent="."]
|
||||
position = Vector2(96, 0)
|
||||
texture = ExtResource( 1 )
|
||||
texture = ExtResource("1")
|
||||
region_rect = Rect2(128, 0, 32, 32)
|
||||
|
||||
[node name="Solid" type="Sprite2D" parent="."]
|
||||
position = Vector2(0, 32)
|
||||
texture = ExtResource( 1 )
|
||||
texture = ExtResource("1")
|
||||
region_rect = Rect2(0, 32, 32, 32)
|
||||
|
||||
[node name="Ceiling" type="Sprite2D" parent="."]
|
||||
position = Vector2(0, 64)
|
||||
texture = ExtResource( 1 )
|
||||
texture = ExtResource("1")
|
||||
region_rect = Rect2(192, 32, 32, 32)
|
||||
|
||||
[node name="Collision" type="StaticBody2D" parent="Ceiling"]
|
||||
@@ -105,7 +105,7 @@ polygon = PackedVector2Array(16, -16, 16, 16, -16, 16, -16, -16)
|
||||
|
||||
[node name="Ramp" type="Sprite2D" parent="."]
|
||||
position = Vector2(128, 112)
|
||||
texture = ExtResource( 1 )
|
||||
texture = ExtResource("1")
|
||||
region_rect = Rect2(64, 64, 32, 64)
|
||||
|
||||
[node name="Collision" type="StaticBody2D" parent="Ramp"]
|
||||
@@ -115,7 +115,7 @@ polygon = PackedVector2Array(-16, -28, 16, 4, 16, 32, -16, 32)
|
||||
|
||||
[node name="CeilingWall" type="Sprite2D" parent="."]
|
||||
position = Vector2(0, 96)
|
||||
texture = ExtResource( 1 )
|
||||
texture = ExtResource("1")
|
||||
region_rect = Rect2(224, 32, 32, 32)
|
||||
|
||||
[node name="Collision" type="StaticBody2D" parent="CeilingWall"]
|
||||
@@ -125,7 +125,7 @@ polygon = PackedVector2Array(-16, -16, 12, -16, 12, 16, -16, 16)
|
||||
|
||||
[node name="PlatformFloor" type="Sprite2D" parent="."]
|
||||
position = Vector2(0, 128)
|
||||
texture = ExtResource( 1 )
|
||||
texture = ExtResource("1")
|
||||
region_rect = Rect2(64, 0, 32, 32)
|
||||
|
||||
[node name="Collision" type="StaticBody2D" parent="PlatformFloor"]
|
||||
@@ -135,7 +135,7 @@ polygon = PackedVector2Array(16, -12, 16, 12, -16, 12, -16, -12)
|
||||
|
||||
[node name="PlatformEdge" type="Sprite2D" parent="."]
|
||||
position = Vector2(32, 128)
|
||||
texture = ExtResource( 1 )
|
||||
texture = ExtResource("1")
|
||||
region_rect = Rect2(96, 0, 32, 32)
|
||||
|
||||
[node name="Collision" type="StaticBody2D" parent="PlatformEdge"]
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
[gd_scene load_steps=11 format=3 uid="uid://6a0nxwkgf5dq"]
|
||||
|
||||
[ext_resource type="Script" path="res://utils/label_fps.gd" id="1"]
|
||||
[ext_resource type="Script" path="res://utils/label_version.gd" id="2"]
|
||||
[ext_resource type="Script" path="res://utils/label_engine.gd" id="3"]
|
||||
[ext_resource type="Script" path="res://tests_menu.gd" id="4"]
|
||||
[ext_resource type="Script" path="res://utils/label_test.gd" id="5"]
|
||||
[ext_resource type="Script" path="res://utils/label_pause.gd" id="6"]
|
||||
[ext_resource type="Script" path="res://utils/container_log.gd" id="10"]
|
||||
[ext_resource type="Script" path="res://utils/scroll_log.gd" id="11"]
|
||||
[ext_resource type="Script" path="res://tests.gd" id="12"]
|
||||
[ext_resource type="Script" uid="uid://db4ofia8ieq55" path="res://utils/label_fps.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://dustsplck84ac" path="res://utils/label_version.gd" id="2"]
|
||||
[ext_resource type="Script" uid="uid://c87b1snynit3u" path="res://utils/label_engine.gd" id="3"]
|
||||
[ext_resource type="Script" uid="uid://cw0pi4lgucxdr" path="res://tests_menu.gd" id="4"]
|
||||
[ext_resource type="Script" uid="uid://bjl0grl2gv43y" path="res://utils/label_test.gd" id="5"]
|
||||
[ext_resource type="Script" uid="uid://b4rnndt2dw5g1" path="res://utils/label_pause.gd" id="6"]
|
||||
[ext_resource type="Script" uid="uid://k8crlob60yte" path="res://utils/container_log.gd" id="10"]
|
||||
[ext_resource type="Script" uid="uid://b2t0e1okrl3j4" path="res://utils/scroll_log.gd" id="11"]
|
||||
[ext_resource type="Script" uid="uid://db80201lynb6l" path="res://tests.gd" id="12"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="1"]
|
||||
bg_color = Color(0, 0, 0, 0.176471)
|
||||
|
||||
@@ -13,7 +13,7 @@ config_version=5
|
||||
config/name="2D Physics Tests"
|
||||
config/tags=PackedStringArray("2d", "demo", "official", "physics")
|
||||
run/main_scene="res://main.tscn"
|
||||
config/features=PackedStringArray("4.2")
|
||||
config/features=PackedStringArray("4.4")
|
||||
config/icon="res://icon.webp"
|
||||
|
||||
[autoload]
|
||||
@@ -50,46 +50,46 @@ ui_down={
|
||||
}
|
||||
toggle_full_screen={
|
||||
"deadzone": 0.2,
|
||||
"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":70,"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":70,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
exit={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194305,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194305,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
toggle_debug_collision={
|
||||
"deadzone": 0.2,
|
||||
"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":67,"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":67,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
restart_test={
|
||||
"deadzone": 0.2,
|
||||
"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":82,"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":82,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
toggle_pause={
|
||||
"deadzone": 0.2,
|
||||
"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":80,"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":80,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
character_left={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":113,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":113,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
character_right={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
character_jump={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":122,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":32,"key_label":0,"unicode":32,"echo":false,"script":null)
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":122,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":32,"key_label":0,"unicode":32,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user