19 lines
671 B
Text
19 lines
671 B
Text
|
|
[gd_scene load_steps=4 format=3 uid="uid://jb677rdhbj83"]
|
||
|
|
|
||
|
|
[ext_resource type="Script" uid="uid://cnapenyo7b610" path="res://Prefabs/spinny.gd" id="1_htne5"]
|
||
|
|
[ext_resource type="Texture2D" uid="uid://x8huf40a6dhq" path="res://Sprites/testObstacle.png" id="1_ifkp4"]
|
||
|
|
|
||
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_vef74"]
|
||
|
|
size = Vector2(64, 64)
|
||
|
|
|
||
|
|
[node name="Obstacle" type="RigidBody2D"]
|
||
|
|
gravity_scale = 0.0
|
||
|
|
angular_damp_mode = 1
|
||
|
|
script = ExtResource("1_htne5")
|
||
|
|
|
||
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||
|
|
texture = ExtResource("1_ifkp4")
|
||
|
|
|
||
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
|
shape = SubResource("RectangleShape2D_vef74")
|