Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fe1ccaea77 | ||
|
|
ec368a812b | ||
|
|
0a826508da | ||
|
|
a2d63288fa | ||
|
|
aae565b34a | ||
|
|
d52d430af7 | ||
|
|
bfcd81aa85 | ||
|
|
cdffdc025f | ||
|
|
ed3e2a1635 | ||
|
|
e292b09d9e | ||
|
|
c17d803a1b |
@@ -49,9 +49,6 @@ __meta__ = {
|
||||
[node name="Control" type="Control" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="StatesStackDiplayer" parent="Control" instance=ExtResource( 3 )]
|
||||
|
||||
|
||||
@@ -104,6 +104,7 @@ position = Vector2( 110, 0 )
|
||||
polygon = PoolVector2Array( -20, 0, -20, -20, 20, -20, 20, 0 )
|
||||
|
||||
[node name="StateNameDisplayer" type="Label" parent="."]
|
||||
physics_interpolation_mode = 2
|
||||
margin_left = -109.0
|
||||
margin_top = -172.0
|
||||
margin_right = 110.0
|
||||
@@ -114,9 +115,6 @@ align = 1
|
||||
valign = 1
|
||||
uppercase = true
|
||||
script = ExtResource( 15 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[connection signal="state_changed" from="StateMachine" to="BodyPivot/WeaponPivot/Offset/Sword" method="_on_StateMachine_state_changed"]
|
||||
[connection signal="state_changed" from="StateMachine" to="StateNameDisplayer" method="_on_StateMachine_state_changed"]
|
||||
|
||||
@@ -14,6 +14,6 @@ func fire():
|
||||
|
||||
$CooldownTimer.start()
|
||||
var new_bullet = bullet.instance()
|
||||
add_child(new_bullet)
|
||||
new_bullet.position = global_position
|
||||
new_bullet.direction = owner.look_direction
|
||||
add_child(new_bullet)
|
||||
|
||||
@@ -94,6 +94,10 @@ attack={
|
||||
]
|
||||
}
|
||||
|
||||
[physics]
|
||||
|
||||
common/physics_interpolation=true
|
||||
|
||||
[rendering]
|
||||
|
||||
quality/driver/driver_name="GLES2"
|
||||
|
||||
@@ -60,6 +60,11 @@ move_up={
|
||||
]
|
||||
}
|
||||
|
||||
[physics]
|
||||
|
||||
common/physics_fps=120
|
||||
common/physics_interpolation=true
|
||||
|
||||
[rendering]
|
||||
|
||||
quality/driver/driver_name="GLES2"
|
||||
|
||||
@@ -18,3 +18,4 @@ shape = SubResource( 1 )
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
current = true
|
||||
process_mode = 0
|
||||
|
||||
@@ -29,7 +29,9 @@ singletons=[ ]
|
||||
|
||||
[physics]
|
||||
|
||||
common/physics_fps=120
|
||||
2d/default_gravity=300
|
||||
common/physics_interpolation=true
|
||||
|
||||
[rendering]
|
||||
|
||||
|
||||
@@ -90,3 +90,4 @@ physics_material_override = SubResource( 10 )
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
offset = Vector2( 400, 300 )
|
||||
current = true
|
||||
process_mode = 0
|
||||
|
||||
BIN
2d/isometric/decorations/banner.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
35
2d/isometric/decorations/banner.png.import
Normal file
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/banner.png-45264389ab2131df9b78c5ec3b246773.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://decorations/banner.png"
|
||||
dest_files=[ "res://.import/banner.png-45264389ab2131df9b78c5ec3b246773.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
BIN
2d/isometric/decorations/bone_pile_1.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
35
2d/isometric/decorations/bone_pile_1.png.import
Normal file
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/bone_pile_1.png-72c582c4f31012bb8009120719983b0c.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://decorations/bone_pile_1.png"
|
||||
dest_files=[ "res://.import/bone_pile_1.png-72c582c4f31012bb8009120719983b0c.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
20
2d/isometric/decorations/bone_pile_1.tscn
Normal file
@@ -0,0 +1,20 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://decorations/bone_pile_1.png" type="Texture" id=1]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
radius = 18.0
|
||||
height = 28.0
|
||||
|
||||
[node name="bone_pile" type="Node2D"]
|
||||
|
||||
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="StaticBody2D"]
|
||||
position = Vector2( 0, -14 )
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
||||
position = Vector2( 0, -15 )
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 1 )
|
||||
BIN
2d/isometric/decorations/bone_pile_2.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
35
2d/isometric/decorations/bone_pile_2.png.import
Normal file
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/bone_pile_2.png-f448133711e0ebea56f9e49e956ac902.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://decorations/bone_pile_2.png"
|
||||
dest_files=[ "res://.import/bone_pile_2.png-f448133711e0ebea56f9e49e956ac902.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
20
2d/isometric/decorations/bone_pile_2.tscn
Normal file
@@ -0,0 +1,20 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://decorations/bone_pile_2.png" type="Texture" id=1]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
radius = 13.0
|
||||
height = 26.0001
|
||||
|
||||
[node name="bone_pile" type="Node2D"]
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( 0, -13 )
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
||||
position = Vector2( 0, -13 )
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 1 )
|
||||
BIN
2d/isometric/decorations/candle.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
35
2d/isometric/decorations/candle.png.import
Normal file
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/candle.png-223de51ae9e8ec99121079382498836e.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://decorations/candle.png"
|
||||
dest_files=[ "res://.import/candle.png-223de51ae9e8ec99121079382498836e.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
131
2d/isometric/decorations/candle.tscn
Normal file
@@ -0,0 +1,131 @@
|
||||
[gd_scene load_steps=14 format=2]
|
||||
|
||||
[ext_resource path="res://decorations/sparkle.png" type="Texture" id=1]
|
||||
[ext_resource path="res://decorations/candle.png" type="Texture" id=2]
|
||||
[ext_resource path="res://decorations/fire.png" type="Texture" id=3]
|
||||
[ext_resource path="res://decorations/glow.png" type="Texture" id=4]
|
||||
|
||||
[sub_resource type="CanvasItemMaterial" id=1]
|
||||
particles_animation = true
|
||||
particles_anim_h_frames = 11
|
||||
particles_anim_v_frames = 1
|
||||
particles_anim_loop = false
|
||||
|
||||
[sub_resource type="Gradient" id=2]
|
||||
offsets = PoolRealArray( 0, 0.625698, 1 )
|
||||
colors = PoolColorArray( 1, 0.584314, 0, 1, 1, 0.84063, 0.226563, 1, 1, 0.584314, 0, 1 )
|
||||
|
||||
[sub_resource type="CanvasItemMaterial" id=3]
|
||||
blend_mode = 1
|
||||
particles_animation = true
|
||||
particles_anim_h_frames = 8
|
||||
particles_anim_v_frames = 1
|
||||
particles_anim_loop = false
|
||||
|
||||
[sub_resource type="Curve" id=4]
|
||||
max_value = 0.3
|
||||
_data = [ Vector2( 0, 0 ), 0.0, 1.36377, 0, 0, Vector2( 0.262376, 0.188182 ), 0.41974, 0.41974, 0, 0, Vector2( 1, 0.0295454 ), -1.06101, 0.0, 0, 0 ]
|
||||
|
||||
[sub_resource type="Gradient" id=5]
|
||||
offsets = PoolRealArray( 0, 0.435754, 1 )
|
||||
colors = PoolColorArray( 1, 0.351563, 0, 1, 0.895996, 0.745333, 0.230999, 1, 1, 0.426842, 0.0234375, 1 )
|
||||
|
||||
[sub_resource type="Gradient" id=12]
|
||||
offsets = PoolRealArray( 0, 0.100559, 0.234637, 0.480447, 0.603352, 1 )
|
||||
colors = PoolColorArray( 0.714844, 0.714844, 0.714844, 1, 0.382813, 0.382813, 0.382813, 1, 0.601563, 0.601563, 0.601563, 1, 0.229687, 0.229687, 0.229687, 1, 0.0197581, 0.0197581, 0.0197581, 1, 0, 0, 0, 1 )
|
||||
|
||||
[sub_resource type="GradientTexture2D" id=9]
|
||||
gradient = SubResource( 12 )
|
||||
width = 128
|
||||
height = 128
|
||||
fill = 1
|
||||
fill_from = Vector2( 0.5, 0.5 )
|
||||
fill_to = Vector2( 0, 0 )
|
||||
|
||||
[sub_resource type="Gradient" id=13]
|
||||
offsets = PoolRealArray( 0.0111732, 0.843575 )
|
||||
colors = PoolColorArray( 0.648926, 0.648926, 0.648926, 1, 0, 0, 0, 1 )
|
||||
|
||||
[sub_resource type="GradientTexture2D" id=10]
|
||||
gradient = SubResource( 13 )
|
||||
width = 800
|
||||
height = 500
|
||||
fill = 1
|
||||
fill_from = Vector2( 0.5, 0.5 )
|
||||
|
||||
[node name="Node2D" type="Node2D"]
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
light_mask = 128
|
||||
position = Vector2( 0, -11 )
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="glow" type="CPUParticles2D" parent="Sprite"]
|
||||
modulate = Color( 1, 0.360784, 0.113725, 1 )
|
||||
light_mask = 128
|
||||
position = Vector2( -13, -33.244 )
|
||||
scale = Vector2( 0.3, 0.5 )
|
||||
amount = 1
|
||||
lifetime = 0.8
|
||||
texture = ExtResource( 4 )
|
||||
gravity = Vector2( 0, 0 )
|
||||
|
||||
[node name="Fire" type="CPUParticles2D" parent="Sprite"]
|
||||
light_mask = 128
|
||||
material = SubResource( 1 )
|
||||
position = Vector2( -13, -35 )
|
||||
scale = Vector2( 0.6, 0.6 )
|
||||
amount = 1
|
||||
lifetime = 0.8
|
||||
texture = ExtResource( 3 )
|
||||
gravity = Vector2( 0, 0 )
|
||||
color_ramp = SubResource( 2 )
|
||||
anim_speed = 1.0
|
||||
|
||||
[node name="Sparkle" type="CPUParticles2D" parent="Sprite"]
|
||||
light_mask = 128
|
||||
material = SubResource( 3 )
|
||||
position = Vector2( -13, -35 )
|
||||
scale = Vector2( 0.6, 0.6 )
|
||||
amount = 3
|
||||
texture = ExtResource( 1 )
|
||||
emission_shape = 1
|
||||
emission_sphere_radius = 8.0
|
||||
gravity = Vector2( 0, -80 )
|
||||
angular_velocity = 1.0
|
||||
tangential_accel = 49.54
|
||||
scale_amount_curve = SubResource( 4 )
|
||||
color_ramp = SubResource( 5 )
|
||||
anim_speed = 1.0
|
||||
|
||||
[node name="flow front" type="CPUParticles2D" parent="Sprite"]
|
||||
modulate = Color( 0.94902, 1, 0, 1 )
|
||||
light_mask = 128
|
||||
position = Vector2( -13, -28.689 )
|
||||
scale = Vector2( 0.25, 0.25 )
|
||||
amount = 1
|
||||
lifetime = 0.8
|
||||
texture = ExtResource( 4 )
|
||||
gravity = Vector2( 0, 0 )
|
||||
|
||||
[node name="Light2D2" type="Light2D" parent="."]
|
||||
light_mask = 2
|
||||
position = Vector2( -15, -49 )
|
||||
texture = SubResource( 9 )
|
||||
color = Color( 1, 0.466667, 0.0352941, 1 )
|
||||
energy = 2.0
|
||||
range_height = 450.9
|
||||
range_item_cull_mask = 145
|
||||
shadow_buffer_size = 512
|
||||
shadow_gradient_length = 30.0
|
||||
shadow_item_cull_mask = 145
|
||||
|
||||
[node name="Light2D" type="Light2D" parent="."]
|
||||
light_mask = 2
|
||||
texture = SubResource( 10 )
|
||||
color = Color( 0.709804, 0.388235, 0.313726, 1 )
|
||||
range_height = 901.9
|
||||
range_item_cull_mask = 17
|
||||
shadow_enabled = true
|
||||
shadow_gradient_length = 20.0
|
||||
shadow_item_cull_mask = 17
|
||||
BIN
2d/isometric/decorations/coin_pile.png
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
35
2d/isometric/decorations/coin_pile.png.import
Normal file
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/coin_pile.png-e6c4ef8bf22301fe805244aafb152afe.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://decorations/coin_pile.png"
|
||||
dest_files=[ "res://.import/coin_pile.png-e6c4ef8bf22301fe805244aafb152afe.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
20
2d/isometric/decorations/coin_pile.tscn
Normal file
@@ -0,0 +1,20 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://decorations/coin_pile.png" type="Texture" id=1]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
radius = 12.0
|
||||
height = 38.0
|
||||
|
||||
[node name="coin_pile" type="Node2D"]
|
||||
|
||||
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="StaticBody2D"]
|
||||
position = Vector2( 0, -23 )
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
||||
position = Vector2( 0, -13 )
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 1 )
|
||||
BIN
2d/isometric/decorations/crow_looking.png
Normal file
|
After Width: | Height: | Size: 77 KiB |
35
2d/isometric/decorations/crow_looking.png.import
Normal file
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/crow_looking.png-21ce662085fe50bb572e6cecb19ea02a.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://decorations/crow_looking.png"
|
||||
dest_files=[ "res://.import/crow_looking.png-21ce662085fe50bb572e6cecb19ea02a.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
BIN
2d/isometric/decorations/crow_sleep.png
Normal file
|
After Width: | Height: | Size: 51 KiB |
35
2d/isometric/decorations/crow_sleep.png.import
Normal file
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/crow_sleep.png-8118ad8761e95d588250a6deae9ca9c0.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://decorations/crow_sleep.png"
|
||||
dest_files=[ "res://.import/crow_sleep.png-8118ad8761e95d588250a6deae9ca9c0.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
BIN
2d/isometric/decorations/drape_1.png
Normal file
|
After Width: | Height: | Size: 9.2 KiB |
35
2d/isometric/decorations/drape_1.png.import
Normal file
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/drape_1.png-4cc207f7e61e16248cb4322ecca80e49.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://decorations/drape_1.png"
|
||||
dest_files=[ "res://.import/drape_1.png-4cc207f7e61e16248cb4322ecca80e49.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
BIN
2d/isometric/decorations/fire.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
@@ -2,15 +2,15 @@
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/isotiles.png-502434fe0d6c3fd8ce67cea5a960c208.stex"
|
||||
path="res://.import/fire.png-3d46874d6317d8fad2d37ee8071d140d.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://isotiles.png"
|
||||
dest_files=[ "res://.import/isotiles.png-502434fe0d6c3fd8ce67cea5a960c208.stex" ]
|
||||
source_file="res://decorations/fire.png"
|
||||
dest_files=[ "res://.import/fire.png-3d46874d6317d8fad2d37ee8071d140d.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
BIN
2d/isometric/decorations/glow.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
35
2d/isometric/decorations/glow.png.import
Normal file
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/glow.png-412cb028114e1a11dcd8adb3e27078d4.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://decorations/glow.png"
|
||||
dest_files=[ "res://.import/glow.png-412cb028114e1a11dcd8adb3e27078d4.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
9
2d/isometric/decorations/internal_shadow.tscn
Normal file
@@ -0,0 +1,9 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://decorations/shadow_gradient.png" type="Texture" id=1]
|
||||
|
||||
[node name="InternalShadow" type="Polygon2D"]
|
||||
color = Color( 0.0705882, 0.0705882, 0.266667, 0.85098 )
|
||||
texture = ExtResource( 1 )
|
||||
polygon = PoolVector2Array( -92, -289, -94, 1, 128, -1, 121, -295 )
|
||||
uv = PoolVector2Array( -2, -1, -2, 292, 264, 291, 261, -2 )
|
||||
BIN
2d/isometric/decorations/looking.psd
Normal file
BIN
2d/isometric/decorations/paw_prints.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
35
2d/isometric/decorations/paw_prints.png.import
Normal file
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/paw_prints.png-f99788aaeccec00607d299cbda1deba3.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://decorations/paw_prints.png"
|
||||
dest_files=[ "res://.import/paw_prints.png-f99788aaeccec00607d299cbda1deba3.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
BIN
2d/isometric/decorations/rug_1.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
35
2d/isometric/decorations/rug_1.png.import
Normal file
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/rug_1.png-73bb18740fb0416ff279c3e2e040e1e3.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://decorations/rug_1.png"
|
||||
dest_files=[ "res://.import/rug_1.png-73bb18740fb0416ff279c3e2e040e1e3.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
BIN
2d/isometric/decorations/shadow_gradient.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
35
2d/isometric/decorations/shadow_gradient.png.import
Normal file
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/shadow_gradient.png-ada77e271da2569a07ee8c308bf8f891.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://decorations/shadow_gradient.png"
|
||||
dest_files=[ "res://.import/shadow_gradient.png-ada77e271da2569a07ee8c308bf8f891.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
BIN
2d/isometric/decorations/sparkle.png
Normal file
|
After Width: | Height: | Size: 6.6 KiB |
35
2d/isometric/decorations/sparkle.png.import
Normal file
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/sparkle.png-19a635cf744f1090fe6b7df22aa07aa4.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://decorations/sparkle.png"
|
||||
dest_files=[ "res://.import/sparkle.png-19a635cf744f1090fe6b7df22aa07aa4.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
BIN
2d/isometric/decorations/vase_1.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
35
2d/isometric/decorations/vase_1.png.import
Normal file
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/vase_1.png-926d438e092a6711354055578c6046bd.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://decorations/vase_1.png"
|
||||
dest_files=[ "res://.import/vase_1.png-926d438e092a6711354055578c6046bd.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
19
2d/isometric/decorations/vase_1.tscn
Normal file
@@ -0,0 +1,19 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://decorations/vase_1.png" type="Texture" id=1]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
radius = 9.0
|
||||
|
||||
[node name="Vase1" type="Node2D"]
|
||||
|
||||
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="StaticBody2D"]
|
||||
position = Vector2( 0, -29 )
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
||||
position = Vector2( 0, -9 )
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 1 )
|
||||
BIN
2d/isometric/decorations/vase_2.png
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
35
2d/isometric/decorations/vase_2.png.import
Normal file
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/vase_2.png-d6cca4a3647dd9b8a230cb201e6f4d32.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://decorations/vase_2.png"
|
||||
dest_files=[ "res://.import/vase_2.png-d6cca4a3647dd9b8a230cb201e6f4d32.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
20
2d/isometric/decorations/vase_2.tscn
Normal file
@@ -0,0 +1,20 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://decorations/vase_2.png" type="Texture" id=1]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
radius = 9.0
|
||||
height = 18.0
|
||||
|
||||
[node name="vase2" type="Node2D"]
|
||||
|
||||
[node name="Area2D" type="StaticBody2D" parent="."]
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="Area2D"]
|
||||
position = Vector2( 0, -20 )
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||
position = Vector2( 0, -8 )
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 1 )
|
||||
BIN
2d/isometric/decorations/wall_skull.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
35
2d/isometric/decorations/wall_skull.png.import
Normal file
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/wall_skull.png-b65fc438ee51c09cef1ea57aa5c7d6b2.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://decorations/wall_skull.png"
|
||||
dest_files=[ "res://.import/wall_skull.png-b65fc438ee51c09cef1ea57aa5c7d6b2.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
|
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 7.7 KiB |
|
Before Width: | Height: | Size: 200 KiB |
54
2d/isometric/player/goblin.gd
Normal file
@@ -0,0 +1,54 @@
|
||||
extends KinematicBody2D
|
||||
|
||||
const MOTION_SPEED = 160 # Pixels/second.
|
||||
|
||||
var last_direction = Vector2(1, 0)
|
||||
|
||||
var anim_directions = {
|
||||
"idle": [ # list of [animation name, horizontal flip]
|
||||
["side_right_idle", false],
|
||||
["45front_right_idle", false],
|
||||
["front_idle", false],
|
||||
["45front_left_idle", false],
|
||||
["side_left_idle", false],
|
||||
["45back_left_idle", false],
|
||||
["back_idle", false],
|
||||
["45back_right_idle", false],
|
||||
],
|
||||
|
||||
"walk": [
|
||||
["side_right_walk", false],
|
||||
["45front_right_walk", false],
|
||||
["front_walk", false],
|
||||
["45front_left_walk", false],
|
||||
["side_left_walk", false],
|
||||
["45back_left_walk", false],
|
||||
["back_walk", false],
|
||||
["45back_right_walk", false],
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
func _physics_process(_delta):
|
||||
var motion = Vector2()
|
||||
motion.x = Input.get_action_strength("move_right") - Input.get_action_strength("move_left")
|
||||
motion.y = Input.get_action_strength("move_down") - Input.get_action_strength("move_up")
|
||||
motion.y /= 2
|
||||
motion = motion.normalized() * MOTION_SPEED
|
||||
#warning-ignore:return_value_discarded
|
||||
var dir = move_and_slide(motion)
|
||||
|
||||
if dir.length() > 0:
|
||||
last_direction = dir
|
||||
update_animation("walk")
|
||||
else:
|
||||
update_animation("idle")
|
||||
|
||||
|
||||
func update_animation(anim_set):
|
||||
|
||||
var angle = rad2deg(last_direction.angle()) + 22.5
|
||||
var slice_dir = floor(angle / 45)
|
||||
|
||||
$Sprite.set_animation(anim_directions[anim_set][slice_dir][0])
|
||||
$Sprite.flip_h = anim_directions[anim_set][slice_dir][1]
|
||||
BIN
2d/isometric/player/goblin.png
Normal file
|
After Width: | Height: | Size: 2.9 MiB |
35
2d/isometric/player/goblin.png.import
Normal file
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/goblin.png-32452b37152c86975cc3bde34afb02b5.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://player/goblin.png"
|
||||
dest_files=[ "res://.import/goblin.png-32452b37152c86975cc3bde34afb02b5.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=1.0
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=false
|
||||
svg/scale=1.0
|
||||
1415
2d/isometric/player/goblin.tscn
Normal file
@@ -68,6 +68,11 @@ move_up={
|
||||
]
|
||||
}
|
||||
|
||||
[physics]
|
||||
|
||||
common/physics_fps=120
|
||||
common/physics_interpolation=true
|
||||
|
||||
[rasterizer]
|
||||
|
||||
use_pixel_snap=true
|
||||
|
||||
BIN
2d/isometric/tileset/isotiles.png
Normal file
|
After Width: | Height: | Size: 223 KiB |
35
2d/isometric/tileset/isotiles.png.import
Normal file
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/isotiles.png-525cf6639aba62989bb423b9cdb9e1f3.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tileset/isotiles.png"
|
||||
dest_files=[ "res://.import/isotiles.png-525cf6639aba62989bb423b9cdb9e1f3.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -1,15 +1,15 @@
|
||||
[gd_resource type="TileSet" load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://isotiles.png" type="Texture" id=1]
|
||||
[ext_resource path="res://tileset/isotiles.png" type="Texture" id=1]
|
||||
|
||||
[sub_resource type="ConvexPolygonShape2D" id=1]
|
||||
points = PoolVector2Array( 0, -32, 64, 0, 0, 32, -64, 0 )
|
||||
points = PoolVector2Array( 68, 68, 132, 100, 68, 132, 4, 100 )
|
||||
|
||||
[sub_resource type="ConvexPolygonShape2D" id=2]
|
||||
points = PoolVector2Array( -24, -12, -10, -22, 10, -22, 24, -12, 24, 2, 10, 12, -10, 12, -24, 2 )
|
||||
points = PoolVector2Array( 5, 67, 17, 59, 41, 59, 53, 67, 53, 83, 41, 91, 21, 91, 5, 83 )
|
||||
|
||||
[sub_resource type="ConvexPolygonShape2D" id=3]
|
||||
points = PoolVector2Array( -40, 16, 24, -16, 40, -8, -24, 24 )
|
||||
points = PoolVector2Array( 2, 86, 82, 46, 82, 70, 2, 110 )
|
||||
|
||||
[resource]
|
||||
0/name = "Base"
|
||||
@@ -46,10 +46,10 @@ points = PoolVector2Array( -40, 16, 24, -16, 40, -8, -24, 24 )
|
||||
2/modulate = Color( 1, 1, 1, 1 )
|
||||
2/region = Rect2( 28, 220, 140, 140 )
|
||||
2/tile_mode = 0
|
||||
2/occluder_offset = Vector2( 70, 70 )
|
||||
2/navigation_offset = Vector2( 70, 70 )
|
||||
2/shape_offset = Vector2( 70, 70 )
|
||||
2/shape_transform = Transform2D( 1, 0, 0, 1, 70, 70 )
|
||||
2/occluder_offset = Vector2( 0, 0 )
|
||||
2/navigation_offset = Vector2( 0, 0 )
|
||||
2/shape_offset = Vector2( 0, 0 )
|
||||
2/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||
2/shape = SubResource( 1 )
|
||||
2/shape_one_way = false
|
||||
2/shape_one_way_margin = 1.0
|
||||
@@ -58,7 +58,7 @@ points = PoolVector2Array( -40, 16, 24, -16, 40, -8, -24, 24 )
|
||||
"one_way": false,
|
||||
"one_way_margin": 1.0,
|
||||
"shape": SubResource( 1 ),
|
||||
"shape_transform": Transform2D( 1, 0, 0, 1, 70, 70 )
|
||||
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||
} ]
|
||||
2/z_index = 0
|
||||
3/name = "Column"
|
||||
@@ -67,10 +67,10 @@ points = PoolVector2Array( -40, 16, 24, -16, 40, -8, -24, 24 )
|
||||
3/modulate = Color( 1, 1, 1, 1 )
|
||||
3/region = Rect2( 259, 241, 55, 95 )
|
||||
3/tile_mode = 0
|
||||
3/occluder_offset = Vector2( 27.5, 47.5 )
|
||||
3/navigation_offset = Vector2( 27.5, 47.5 )
|
||||
3/shape_offset = Vector2( 29.5, 47.5 )
|
||||
3/shape_transform = Transform2D( 1, 0, 0, 1, 29.5, 47.5 )
|
||||
3/occluder_offset = Vector2( 0, 0 )
|
||||
3/navigation_offset = Vector2( 0, 0 )
|
||||
3/shape_offset = Vector2( 0, 0 )
|
||||
3/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||
3/shape = SubResource( 2 )
|
||||
3/shape_one_way = false
|
||||
3/shape_one_way_margin = 1.0
|
||||
@@ -79,7 +79,7 @@ points = PoolVector2Array( -40, 16, 24, -16, 40, -8, -24, 24 )
|
||||
"one_way": false,
|
||||
"one_way_margin": 1.0,
|
||||
"shape": SubResource( 2 ),
|
||||
"shape_transform": Transform2D( 1, 0, 0, 1, 29.5, 47.5 )
|
||||
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||
} ]
|
||||
3/z_index = 0
|
||||
4/name = "Door1"
|
||||
@@ -88,10 +88,10 @@ points = PoolVector2Array( -40, 16, 24, -16, 40, -8, -24, 24 )
|
||||
4/modulate = Color( 1, 1, 1, 1 )
|
||||
4/region = Rect2( 54, 426, 85, 110 )
|
||||
4/tile_mode = 0
|
||||
4/occluder_offset = Vector2( 42.5, 55 )
|
||||
4/navigation_offset = Vector2( 42.5, 55 )
|
||||
4/shape_offset = Vector2( 42.5, 55 )
|
||||
4/shape_transform = Transform2D( 1, 0, 0, 1, 42.5, 55 )
|
||||
4/occluder_offset = Vector2( 0, 0 )
|
||||
4/navigation_offset = Vector2( 0, 0 )
|
||||
4/shape_offset = Vector2( 0, 0 )
|
||||
4/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||
4/shape = SubResource( 3 )
|
||||
4/shape_one_way = false
|
||||
4/shape_one_way_margin = 1.0
|
||||
@@ -100,6 +100,6 @@ points = PoolVector2Array( -40, 16, 24, -16, 40, -8, -24, 24 )
|
||||
"one_way": false,
|
||||
"one_way_margin": 1.0,
|
||||
"shape": SubResource( 3 ),
|
||||
"shape_transform": Transform2D( 1, 0, 0, 1, 42.5, 55 )
|
||||
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||
} ]
|
||||
4/z_index = 0
|
||||
@@ -1,6 +1,9 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://isotiles.png" type="Texture" id=1]
|
||||
[ext_resource path="res://tileset/isotiles.png" type="Texture" id=1]
|
||||
|
||||
[sub_resource type="OccluderPolygon2D" id=2]
|
||||
polygon = PoolVector2Array( 0, -100, -67, -68, -66, 0, -1, 33, 66, -2, 64, -67 )
|
||||
|
||||
[node name="TilesetEdit" type="Node2D"]
|
||||
|
||||
@@ -27,6 +30,10 @@ region_rect = Rect2( 28, 220, 140, 140 )
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Wall/StaticBody2D"]
|
||||
polygon = PoolVector2Array( -64, 0, 0, 32, 64, 0, 0, -32 )
|
||||
|
||||
[node name="LightOccluder2D" type="LightOccluder2D" parent="Wall"]
|
||||
visible = false
|
||||
occluder = SubResource( 2 )
|
||||
|
||||
[node name="Column" type="Sprite" parent="."]
|
||||
position = Vector2( 600, 0 )
|
||||
texture = ExtResource( 1 )
|
||||
@@ -38,7 +45,7 @@ region_rect = Rect2( 259, 241, 55, 95 )
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Column/StaticBody2D"]
|
||||
position = Vector2( 2, 0 )
|
||||
polygon = PoolVector2Array( -24, 2, -10, 12, 10, 12, 24, 2, 24, -12, 10, -22, -10, -22, -24, -12 )
|
||||
polygon = PoolVector2Array( -27, 7, -14, 20, 16, 20, 28, 4, 24, -12, 10, -22, -10, -22, -24, -12 )
|
||||
|
||||
[node name="Door1" type="Sprite" parent="."]
|
||||
position = Vector2( 800, 0 )
|
||||
@@ -1,13 +0,0 @@
|
||||
extends KinematicBody2D
|
||||
|
||||
const MOTION_SPEED = 160 # Pixels/second.
|
||||
|
||||
|
||||
func _physics_process(_delta):
|
||||
var motion = Vector2()
|
||||
motion.x = Input.get_action_strength("move_right") - Input.get_action_strength("move_left")
|
||||
motion.y = Input.get_action_strength("move_down") - Input.get_action_strength("move_up")
|
||||
motion.y /= 2
|
||||
motion = motion.normalized() * MOTION_SPEED
|
||||
#warning-ignore:return_value_discarded
|
||||
move_and_slide(motion)
|
||||
|
Before Width: | Height: | Size: 6.9 KiB |
@@ -1,20 +0,0 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://troll.gd" type="Script" id=1]
|
||||
[ext_resource path="res://troll.png" type="Texture" id=2]
|
||||
|
||||
[sub_resource type="CircleShape2D" id=1]
|
||||
radius = 16.0
|
||||
|
||||
[node name="Troll" type="KinematicBody2D"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( -4, -28 )
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
current = true
|
||||
@@ -66,7 +66,9 @@ multithread/thread_rid_pool_prealloc=60
|
||||
|
||||
[physics]
|
||||
|
||||
common/physics_fps=120
|
||||
2d/default_gravity=500
|
||||
common/physics_interpolation=true
|
||||
|
||||
[rendering]
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=19 format=2]
|
||||
[gd_scene load_steps=20 format=2]
|
||||
|
||||
[ext_resource path="res://level/obstacle.png" type="Texture" id=2]
|
||||
[ext_resource path="res://player/player.tscn" type="PackedScene" id=3]
|
||||
@@ -36,6 +36,21 @@ extents = Vector2( 8, 8 )
|
||||
[sub_resource type="RectangleShape2D" id=3]
|
||||
extents = Vector2( 8, 8 )
|
||||
|
||||
[sub_resource type="Animation" id=13]
|
||||
resource_name = "RESET"
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath(".:position")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0 ),
|
||||
"transitions": PoolRealArray( 1 ),
|
||||
"update": 0,
|
||||
"values": [ Vector2( 184, 152 ) ]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id=4]
|
||||
length = 10.0
|
||||
loop = true
|
||||
@@ -52,10 +67,8 @@ tracks/0/keys = {
|
||||
"values": [ Vector2( 184, 152 ), Vector2( 184, 152 ), Vector2( 328.086, 152 ), Vector2( 328.086, 152 ) ]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id=5]
|
||||
resource_name = "leftright"
|
||||
length = 10.0
|
||||
loop = true
|
||||
[sub_resource type="Animation" id=14]
|
||||
resource_name = "RESET"
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath(".:position")
|
||||
tracks/0/interp = 1
|
||||
@@ -63,10 +76,10 @@ tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0, 1, 5, 6 ),
|
||||
"transitions": PoolRealArray( 1, 1, 1, 1 ),
|
||||
"times": PoolRealArray( 0 ),
|
||||
"transitions": PoolRealArray( 1 ),
|
||||
"update": 0,
|
||||
"values": [ Vector2( 184, 152 ), Vector2( 184, 152 ), Vector2( 328.086, 152 ), Vector2( 328.086, 152 ) ]
|
||||
"values": [ Vector2( 88.3493, 296 ) ]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id=6]
|
||||
@@ -128,7 +141,7 @@ tile_data = PoolIntArray( -720908, 0, 0, -720907, 0, 0, -720906, 0, 0, -720905,
|
||||
position = Vector2( 233.06, 223.436 )
|
||||
|
||||
[node name="MovingPlatform1" type="KinematicBody2D" parent="."]
|
||||
position = Vector2( 274.142, 152 )
|
||||
position = Vector2( 184, 152 )
|
||||
|
||||
[node name="Collision" type="CollisionShape2D" parent="MovingPlatform1"]
|
||||
shape = SubResource( 3 )
|
||||
@@ -139,10 +152,11 @@ texture = ExtResource( 2 )
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="MovingPlatform1"]
|
||||
autoplay = "leftright"
|
||||
playback_process_mode = 0
|
||||
anims/RESET = SubResource( 13 )
|
||||
anims/leftright = SubResource( 4 )
|
||||
|
||||
[node name="MovingPlatform2" type="KinematicBody2D" parent="."]
|
||||
position = Vector2( 88.3493, 284.689 )
|
||||
position = Vector2( 88.3493, 296 )
|
||||
|
||||
[node name="Collision" type="CollisionShape2D" parent="MovingPlatform2"]
|
||||
shape = SubResource( 3 )
|
||||
@@ -153,7 +167,7 @@ texture = ExtResource( 2 )
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="MovingPlatform2"]
|
||||
autoplay = "updown"
|
||||
playback_process_mode = 0
|
||||
anims/leftright = SubResource( 5 )
|
||||
anims/RESET = SubResource( 14 )
|
||||
anims/updown = SubResource( 6 )
|
||||
|
||||
[node name="Princess" type="Area2D" parent="."]
|
||||
@@ -266,5 +280,6 @@ shape = SubResource( 12 )
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
offset = Vector2( 265, 247 )
|
||||
current = true
|
||||
process_mode = 0
|
||||
|
||||
[connection signal="body_entered" from="Princess" to="Princess" method="_on_body_entered"]
|
||||
|
||||
@@ -89,9 +89,6 @@ margin_right = 24.4437
|
||||
margin_bottom = 78.6982
|
||||
text = "Normal"
|
||||
align = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="SpriteFlipX" type="Sprite" parent="."]
|
||||
position = Vector2( 543.341, 220.255 )
|
||||
|
||||
BIN
2d/lights_and_shadows/rug_1.png
Normal file
|
After Width: | Height: | Size: 39 KiB |
@@ -2,15 +2,15 @@
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/troll.png-78efc50bfccaa17f54d40cfea3eef5f5.stex"
|
||||
path="res://.import/rug_1.png-896a8fa0328d56f625c2abdf2d216a8b.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://troll.png"
|
||||
dest_files=[ "res://.import/troll.png-78efc50bfccaa17f54d40cfea3eef5f5.stex" ]
|
||||
source_file="res://rug_1.png"
|
||||
dest_files=[ "res://.import/rug_1.png-896a8fa0328d56f625c2abdf2d216a8b.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
@@ -21,7 +21,7 @@ position = Vector2( 429.585, 287.32 )
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="Character" type="Sprite" parent="."]
|
||||
position = Vector2( 228.464, 132.594 )
|
||||
position = Vector2( 202, 100 )
|
||||
scale = Vector2( 0.5, 0.5 )
|
||||
texture = ExtResource( 3 )
|
||||
offset = Vector2( 0, -26 )
|
||||
@@ -36,3 +36,4 @@ default_color = Color( 1, 0, 0, 1 )
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
offset = Vector2( 420, 300 )
|
||||
current = true
|
||||
process_mode = 0
|
||||
|
||||
@@ -34,10 +34,15 @@ singletons=[ ]
|
||||
|
||||
click={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null)
|
||||
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"canceled":false,"pressed":false,"doubleclick":false,"script":null)
|
||||
]
|
||||
}
|
||||
|
||||
[physics]
|
||||
|
||||
common/physics_fps=120
|
||||
common/physics_interpolation=true
|
||||
|
||||
[rendering]
|
||||
|
||||
quality/driver/driver_name="GLES2"
|
||||
|
||||
@@ -1,22 +1,60 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
[gd_scene load_steps=10 format=2]
|
||||
|
||||
[ext_resource path="res://tileset/tileset.tres" type="TileSet" id=1]
|
||||
[ext_resource path="res://pathfind_astar.gd" type="Script" id=2]
|
||||
[ext_resource path="res://character.gd" type="Script" id=3]
|
||||
[ext_resource path="res://sprites/character.png" type="Texture" id=4]
|
||||
[ext_resource path="res://sprites/space.png" type="Texture" id=5]
|
||||
[ext_resource path="res://sprites/sparkle.png" type="Texture" id=6]
|
||||
|
||||
[sub_resource type="CanvasItemMaterial" id=1]
|
||||
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=2]
|
||||
_data = [ Vector2( 0, 0 ), 0.0, 1.15429, 0, 0, Vector2( 0.316832, 0.342045 ), 0.0399209, 0.0399209, 0, 0, Vector2( 1, 0.136364 ), -1.05591, 0.0, 0, 0 ]
|
||||
|
||||
[sub_resource type="Gradient" id=3]
|
||||
offsets = PoolRealArray( 0, 0.692737, 1 )
|
||||
colors = PoolColorArray( 1, 0.893555, 0, 1, 0.265625, 1, 0.490903, 1, 0.0154343, 0.688679, 0.987793, 1 )
|
||||
|
||||
[node name="Game" type="Node2D"]
|
||||
|
||||
[node name="Background" type="Sprite" parent="."]
|
||||
texture = ExtResource( 5 )
|
||||
offset = Vector2( 512, 300 )
|
||||
|
||||
[node name="TileMap" type="TileMap" parent="."]
|
||||
tile_set = ExtResource( 1 )
|
||||
format = 1
|
||||
tile_data = PoolIntArray( 65537, 0, 0, 65541, 0, 0, 65545, 0, 0, 65550, 0, 0, 196614, 0, 0, 196615, 0, 0, 196616, 0, 0, 196617, 0, 0, 196618, 0, 0, 196619, 0, 0, 262145, 0, 0, 262146, 0, 0, 262147, 0, 0, 327683, 0, 0, 393219, 0, 0, 393220, 0, 0, 393221, 0, 0, 393222, 0, 0, 393226, 0, 0, 393227, 0, 0, 393228, 0, 0, 458761, 0, 0, 524290, 0, 0, 524291, 0, 0, 524292, 0, 0, 524293, 0, 0, 524294, 0, 0, 524295, 0, 0, 524296, 0, 0, 524297, 0, 0 )
|
||||
tile_data = PoolIntArray( 65537, 0, 0, 65541, -1073741824, 0, 65545, 1610612736, 0, 65550, 0, 0, 196614, 0, 0, 196615, 1610612736, 0, 196616, -1610612736, 0, 196617, 0, 0, 196618, 0, 0, 196619, -1610612736, 0, 262145, 0, 0, 262146, 1610612736, 0, 262147, 0, 0, 327683, 1610612736, 0, 393219, 0, 0, 393220, 1610612736, 0, 393221, 0, 0, 393222, 0, 0, 393226, 0, 0, 393227, -1610612736, 0, 393228, -1073741824, 0, 458761, 0, 0, 524290, -1073741824, 0, 524291, 1610612736, 0, 524292, 1610612736, 0, 524293, -1610612736, 0, 524294, 0, 0, 524295, 0, 0, 524296, -1610612736, 0, 524297, 0, 0 )
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Character" type="Position2D" parent="."]
|
||||
position = Vector2( 32, 32 )
|
||||
script = ExtResource( 3 )
|
||||
|
||||
[node name="CPUParticles2D" type="CPUParticles2D" parent="Character"]
|
||||
material = SubResource( 1 )
|
||||
position = Vector2( -20, 0 )
|
||||
rotation = 1.5708
|
||||
amount = 30
|
||||
texture = ExtResource( 6 )
|
||||
emission_shape = 1
|
||||
emission_sphere_radius = 8.0
|
||||
angular_velocity = 360.0
|
||||
angular_velocity_random = 1.0
|
||||
damping = 61.46
|
||||
damping_random = 1.0
|
||||
scale_amount_curve = SubResource( 2 )
|
||||
color_ramp = SubResource( 3 )
|
||||
hue_variation = 0.11
|
||||
hue_variation_random = 1.0
|
||||
anim_speed = 1.0
|
||||
|
||||
[node name="Sprite2D" type="Sprite" parent="Character"]
|
||||
position = Vector2( 7, 0 )
|
||||
texture = ExtResource( 4 )
|
||||
|
||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 6.7 KiB |
@@ -1,7 +1,7 @@
|
||||
extends TileMap
|
||||
|
||||
const BASE_LINE_WIDTH = 3.0
|
||||
const DRAW_COLOR = Color.white
|
||||
const DRAW_COLOR = Color("#5391c9")
|
||||
|
||||
# The Tilemap node doesn't have clear bounds so we're defining the map's limits here.
|
||||
export(Vector2) var map_size = Vector2.ONE * 16
|
||||
|
||||
@@ -35,3 +35,4 @@ click={
|
||||
quality/driver/driver_name="GLES2"
|
||||
vram_compression/import_etc=true
|
||||
vram_compression/import_etc2=false
|
||||
environment/default_clear_color=Color( 0, 0.0627451, 0.247059, 1 )
|
||||
|
||||
|
Before Width: | Height: | Size: 453 B After Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 103 B After Width: | Height: | Size: 8.6 KiB |
|
Before Width: | Height: | Size: 230 B After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 640 B After Width: | Height: | Size: 3.2 KiB |
BIN
2d/navigation_astar/sprites/space.png
Normal file
|
After Width: | Height: | Size: 112 KiB |
35
2d/navigation_astar/sprites/space.png.import
Normal file
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/space.png-97c58c64ad84df3792f6a98aa7f4b875.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sprites/space.png"
|
||||
dest_files=[ "res://.import/space.png-97c58c64ad84df3792f6a98aa7f4b875.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
BIN
2d/navigation_astar/sprites/sparkle.png
Normal file
|
After Width: | Height: | Size: 6.6 KiB |
35
2d/navigation_astar/sprites/sparkle.png.import
Normal file
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/sparkle.png-3b8036349814d91f8265031bd47464fc.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sprites/sparkle.png"
|
||||
dest_files=[ "res://.import/sparkle.png-3b8036349814d91f8265031bd47464fc.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
@@ -236,6 +236,7 @@ anims/standing_weapon_ready = SubResource( 12 )
|
||||
[node name="Camera" type="Camera2D" parent="."]
|
||||
current = true
|
||||
zoom = Vector2( 0.5, 0.5 )
|
||||
process_mode = 0
|
||||
limit_left = 0
|
||||
limit_top = 0
|
||||
|
||||
|
||||
@@ -130,7 +130,7 @@ shoot={
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":2,"pressure":0.0,"pressed":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":90,"physical_scancode":0,"unicode":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)
|
||||
, Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null)
|
||||
, Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"canceled":false,"pressed":false,"doubleclick":false,"script":null)
|
||||
]
|
||||
}
|
||||
spawn={
|
||||
@@ -142,7 +142,9 @@ spawn={
|
||||
|
||||
[physics]
|
||||
|
||||
common/physics_fps=120
|
||||
2d/default_gravity=900
|
||||
common/physics_interpolation=true
|
||||
|
||||
[rasterizer]
|
||||
|
||||
|
||||
@@ -47,10 +47,6 @@ config/icon="res://icon.png"
|
||||
Log="*res://utils/system_log.gd"
|
||||
System="*res://utils/system.gd"
|
||||
|
||||
[debug]
|
||||
|
||||
gdscript/warnings/return_value_discarded=false
|
||||
|
||||
[display]
|
||||
|
||||
window/dpi/allow_hidpi=true
|
||||
@@ -123,6 +119,10 @@ character_jump={
|
||||
|
||||
limits/message_queue/max_size_kb=10240
|
||||
|
||||
[physics]
|
||||
|
||||
common/physics_interpolation=true
|
||||
|
||||
[rendering]
|
||||
|
||||
quality/driver/driver_name="GLES2"
|
||||
|
||||
|
Before Width: | Height: | Size: 219 B After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 298 B After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 185 B After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 833 B After Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 212 B After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 817 B After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 604 B After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 543 B After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 146 B After Width: | Height: | Size: 797 B |
BIN
2d/platformer/assets/art/player/robot.png
Normal file
|
After Width: | Height: | Size: 52 KiB |
@@ -2,15 +2,15 @@
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/robot_demo.png-cd7cbcf6d0c47d4a233ea7ce93b142c2.stex"
|
||||
path="res://.import/robot.png-27287450bd4c41a095bcac0b0e7c1704.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/art/player/robot_demo.png"
|
||||
dest_files=[ "res://.import/robot_demo.png-cd7cbcf6d0c47d4a233ea7ce93b142c2.stex" ]
|
||||
source_file="res://assets/art/player/robot.png"
|
||||
dest_files=[ "res://.import/robot.png-27287450bd4c41a095bcac0b0e7c1704.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||