Tut18 Complete; hearts, shadows, etc.
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://World/Bush.png" type="Texture" id=1]
|
||||
[ext_resource path="res://Shadows/LargeShadow.png" type="Texture" id=2]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
radius = 7.99998
|
||||
@ -8,6 +9,10 @@ height = 12.0
|
||||
|
||||
[node name="Bush" type="StaticBody2D"]
|
||||
|
||||
[node name="ShadowSprite" type="Sprite" parent="."]
|
||||
position = Vector2( 0, 6 )
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
|
22
ActionRPG-HeartBeast/World/Tree.tscn
Normal file
22
ActionRPG-HeartBeast/World/Tree.tscn
Normal file
@ -0,0 +1,22 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://Shadows/LargeShadow.png" type="Texture" id=1]
|
||||
[ext_resource path="res://World/Tree.png" type="Texture" id=2]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
radius = 9.0
|
||||
height = 8.0
|
||||
|
||||
[node name="Tree" type="StaticBody2D"]
|
||||
|
||||
[node name="ShadowSprite" type="Sprite" parent="."]
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( 0, -16 )
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2( 0, -1 )
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 1 )
|
Reference in New Issue
Block a user