Fix (?) Barrier and tile in boat
This commit is contained in:
parent
bd91fe76b7
commit
e0fb5dbac0
@ -12,4 +12,4 @@ script = ExtResource("1_41a5u")
|
||||
position = Vector2(-685, -433)
|
||||
|
||||
[node name="Boat" parent="." instance=ExtResource("2_qmvsn")]
|
||||
position = Vector2(-642, -351)
|
||||
position = Vector2(-738, -357)
|
||||
|
||||
7
scenes/boaD346.tmp
Normal file
7
scenes/boaD346.tmp
Normal file
@ -0,0 +1,7 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://c7todenm3hn4d"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/boat.gd" id="1_brclq"]
|
||||
|
||||
[node name="Boat" type="Node2D"]
|
||||
position = Vector2(-1, 0)
|
||||
script = ExtResource("1_brclq")
|
||||
@ -1,13 +1,7 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://c7todenm3hn4d"]
|
||||
[gd_scene load_steps=2 format=3 uid="uid://c7todenm3hn4d"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/boat.gd" id="1_brclq"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmxg7u37aon0o" path="res://scenes/tile.tscn" id="2_b8wau"]
|
||||
[ext_resource type="PackedScene" uid="uid://crxp1lat0mj1n" path="res://scenes/barrier.tscn" id="3_mdatr"]
|
||||
|
||||
[node name="Boat" type="Node2D"]
|
||||
position = Vector2(5, -2)
|
||||
position = Vector2(-1, 0)
|
||||
script = ExtResource("1_brclq")
|
||||
|
||||
[node name="Tile" parent="." instance=ExtResource("2_b8wau")]
|
||||
|
||||
[node name="Barrier" parent="." instance=ExtResource("3_mdatr")]
|
||||
|
||||
20
scenes/plaC3C8.tmp
Normal file
20
scenes/plaC3C8.tmp
Normal file
@ -0,0 +1,20 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://dy71gkll44btc"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/player.gd" id="1_jlots"]
|
||||
[ext_resource type="Texture2D" uid="uid://s4iiumvei5wc" path="res://assets/triangle.svg" id="2_jjceo"]
|
||||
|
||||
[node name="Player" type="CharacterBody2D"]
|
||||
motion_mode = 1
|
||||
script = ExtResource("1_jlots")
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
|
||||
position = Vector2(-14, 2.86102e-06)
|
||||
rotation = 1.58969
|
||||
scale = Vector2(0.998311, 1.01563)
|
||||
polygon = PackedVector2Array(-9.03255, -0.816984, -0.51107, -26.5797, 8.99469, -1.15189)
|
||||
|
||||
[node name="Sprite2D2" type="Sprite2D" parent="."]
|
||||
position = Vector2(0, -9.53674e-07)
|
||||
rotation = -1.5708
|
||||
scale = Vector2(0.230709, 0.642787)
|
||||
texture = ExtResource("2_jjceo")
|
||||
@ -67,4 +67,4 @@ func spawn_boat_barriers():
|
||||
|
||||
func _physics_process(delta):
|
||||
#Just spinning
|
||||
rotation += delta/2
|
||||
rotation += delta/6
|
||||
|
||||
Loading…
Reference in New Issue
Block a user