Added base template (uninteractive yet)
This commit is contained in:
parent
93aa83dcaa
commit
2d4eb92751
8 changed files with 100 additions and 17 deletions
23
scenes/base_template.tscn
Normal file
23
scenes/base_template.tscn
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://dk3nvl8f0v24e"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://3x77t3kd6v0x" path="res://sprites/triangle_base.png" id="1_nrkxw"]
|
||||
|
||||
[node name="Base" type="StaticBody2D"]
|
||||
collision_layer = 2
|
||||
collision_mask = 7
|
||||
|
||||
[node name="Sprite" type="Sprite2D" parent="."]
|
||||
position = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("1_nrkxw")
|
||||
|
||||
[node name="BaseCollider" type="CollisionPolygon2D" parent="."]
|
||||
position = Vector2(1, -2)
|
||||
polygon = PackedVector2Array(-2, 251, -58, 275, -91, 307, -91, 414, -179, 462, -420, 488, -422, 488, -548, 468, -549, 466, -502, 343, -359, 148, -273, 95, -183, -60, -181, -161, -83, -383, -1, -483, 0, -483, 82, -383, 180, -160, 183, -58, 272, 96, 359, 149, 502, 345, 548, 466, 547, 468, 421, 488, 419, 488, 178, 462, 90, 414, 90, 308, 60, 277, 1, 251)
|
||||
|
||||
[node name="VisibleArea" type="ColorRect" parent="."]
|
||||
z_index = -1
|
||||
offset_left = -181.0
|
||||
offset_top = 248.0
|
||||
offset_right = 177.0
|
||||
offset_bottom = 458.0
|
||||
color = Color(1, 1, 1, 0.352941)
|
||||
Loading…
Add table
Add a link
Reference in a new issue