First godot-ci commit
This commit is contained in:
36
scenes/Player.tscn
Executable file
36
scenes/Player.tscn
Executable file
@@ -0,0 +1,36 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/Player.gd" type="Script" id=1]
|
||||
[ext_resource path="res://scenes/Cannon.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://resources/img/cat0.png" type="Texture2D" id=3]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
|
||||
custom_solver_bias = 0.0
|
||||
radius = 79.0755
|
||||
height = 89.5214
|
||||
|
||||
[node name="Player" type="Node2D" groups=[
|
||||
"ColoredEntity",
|
||||
]]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="Cannon" parent="." instance=ExtResource( 2 )]
|
||||
position = Vector2( -50.0759, 40.2842 )
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
scale = Vector2( 0.5, 0.5 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="Body" type="CharacterBody2D" parent="."]
|
||||
input_pickable = false
|
||||
collision_layer = 1
|
||||
collision_mask = 1
|
||||
collision/safe_margin = 0.08
|
||||
motion/sync_to_physics = false
|
||||
|
||||
[node name="Collision" type="CollisionShape2D" parent="Body"]
|
||||
position = Vector2( -6.08298, -9.86302 )
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[connection signal="unblock" from="." to="." method="_on_Player_unblock"]
|
||||
Reference in New Issue
Block a user