Ganglock
This commit is contained in:
45
demo_level.tscn
Normal file
45
demo_level.tscn
Normal file
@@ -0,0 +1,45 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://bio5pq0w6ttfw"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c5dp757bqjhel" path="res://icon.svg" id="1_2gqtv"]
|
||||
[ext_resource type="Script" path="res://character_body.gd" id="2_kbwnv"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_6vcao"]
|
||||
size = Vector2(1153, 74)
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_86nkv"]
|
||||
|
||||
[node name="DemoLevel" type="Node2D"]
|
||||
|
||||
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
||||
position = Vector2(574, 612)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
||||
shape = SubResource("RectangleShape2D_6vcao")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="StaticBody2D"]
|
||||
position = Vector2(1.50002, -0.499984)
|
||||
scale = Vector2(8.99219, 0.570313)
|
||||
texture = ExtResource("1_2gqtv")
|
||||
|
||||
[node name="Body" type="CharacterBody2D" parent="."]
|
||||
position = Vector2(540, 88)
|
||||
script = ExtResource("2_kbwnv")
|
||||
move_speed = 100.0
|
||||
bullet_velocity = 5000.0
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Body"]
|
||||
shape = SubResource("CapsuleShape2D_86nkv")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="Body"]
|
||||
position = Vector2(-4.17233e-07, 1.19209e-07)
|
||||
scale = Vector2(0.15625, 0.234375)
|
||||
texture = ExtResource("1_2gqtv")
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="Body"]
|
||||
rotation = 0.00909587
|
||||
limit_bottom = 650
|
||||
drag_horizontal_enabled = true
|
||||
drag_left_margin = 0.1
|
||||
drag_right_margin = 0.1
|
||||
editor_draw_limits = true
|
||||
editor_draw_drag_margin = true
|
||||
Reference in New Issue
Block a user