feat (?) First tries
This commit is contained in:
26
scenes/barrier.tscn
Normal file
26
scenes/barrier.tscn
Normal file
@@ -0,0 +1,26 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://crxp1lat0mj1n"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_7c5k4"]
|
||||
offsets = PackedFloat32Array(0, 0.00371747, 0.736059, 0.754647, 1)
|
||||
colors = PackedColorArray(0, 0, 0, 1, 0.94902, 0.0509804, 0.0509804, 1, 0.15042, 0.503262, 0.834652, 1, 0.117488, 0.521912, 0.866968, 1, 0.94902, 0.0509804, 0.0509804, 1)
|
||||
|
||||
[sub_resource type="GradientTexture2D" id="GradientTexture2D_eesv4"]
|
||||
gradient = SubResource("Gradient_7c5k4")
|
||||
fill_from = Vector2(1, 0)
|
||||
fill_to = Vector2(0, 1)
|
||||
|
||||
[sub_resource type="SegmentShape2D" id="SegmentShape2D_dliv6"]
|
||||
b = Vector2(0, 27.7419)
|
||||
|
||||
[node name="Barrier" type="StaticBody2D"]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
position = Vector2(5.96046e-08, 0)
|
||||
scale = Vector2(0.203125, 2.01563)
|
||||
texture = SubResource("GradientTexture2D_eesv4")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(-3.8147e-06, -65)
|
||||
scale = Vector2(4.65, 4.65)
|
||||
shape = SubResource("SegmentShape2D_dliv6")
|
||||
one_way_collision_margin = 66.3
|
||||
9
scenes/boa1545.tmp
Normal file
9
scenes/boa1545.tmp
Normal file
@@ -0,0 +1,9 @@
|
||||
[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(5, -2)
|
||||
script = ExtResource("1_brclq")
|
||||
tile_scene = null
|
||||
barrier_scene = null
|
||||
8
scenes/boa3EE7.tmp
Normal file
8
scenes/boa3EE7.tmp
Normal file
@@ -0,0 +1,8 @@
|
||||
[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(5, -2)
|
||||
script = ExtResource("1_brclq")
|
||||
tile_scene = null
|
||||
8
scenes/boa51BE.tmp
Normal file
8
scenes/boa51BE.tmp
Normal file
@@ -0,0 +1,8 @@
|
||||
[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(5, -2)
|
||||
script = ExtResource("1_brclq")
|
||||
tile_scene = null
|
||||
8
scenes/boa68D0.tmp
Normal file
8
scenes/boa68D0.tmp
Normal file
@@ -0,0 +1,8 @@
|
||||
[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(5, -2)
|
||||
script = ExtResource("1_brclq")
|
||||
tile_scene = null
|
||||
8
scenes/boa8867.tmp
Normal file
8
scenes/boa8867.tmp
Normal file
@@ -0,0 +1,8 @@
|
||||
[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(5, -2)
|
||||
script = ExtResource("1_brclq")
|
||||
tile_scene = null
|
||||
7
scenes/boa9849.tmp
Normal file
7
scenes/boa9849.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(5, -2)
|
||||
script = ExtResource("1_brclq")
|
||||
9
scenes/boa99FC.tmp
Normal file
9
scenes/boa99FC.tmp
Normal file
@@ -0,0 +1,9 @@
|
||||
[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(5, -2)
|
||||
script = ExtResource("1_brclq")
|
||||
tile_scene = null
|
||||
barrier_scene = null
|
||||
7
scenes/boaB2D7.tmp
Normal file
7
scenes/boaB2D7.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(5, -2)
|
||||
script = ExtResource("1_brclq")
|
||||
8
scenes/boaBB59.tmp
Normal file
8
scenes/boaBB59.tmp
Normal file
@@ -0,0 +1,8 @@
|
||||
[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(5, -2)
|
||||
script = ExtResource("1_brclq")
|
||||
tile_scene = null
|
||||
9
scenes/boaCF4E.tmp
Normal file
9
scenes/boaCF4E.tmp
Normal file
@@ -0,0 +1,9 @@
|
||||
[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(5, -2)
|
||||
script = ExtResource("1_brclq")
|
||||
tile_scene = null
|
||||
barrier_scene = null
|
||||
13
scenes/boat.tscn
Normal file
13
scenes/boat.tscn
Normal file
@@ -0,0 +1,13 @@
|
||||
[gd_scene load_steps=4 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)
|
||||
script = ExtResource("1_brclq")
|
||||
|
||||
[node name="Tile" parent="." instance=ExtResource("2_b8wau")]
|
||||
|
||||
[node name="Barrier" parent="." instance=ExtResource("3_mdatr")]
|
||||
30
scenes/gam25FD.tmp
Normal file
30
scenes/gam25FD.tmp
Normal file
@@ -0,0 +1,30 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://c0s77m0ea3sey"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/game.gd" id="1_g5flc"]
|
||||
[ext_resource type="PackedScene" uid="uid://dy71gkll44btc" path="res://scenes/player.tscn" id="2_3msrq"]
|
||||
[ext_resource type="PackedScene" uid="uid://c7todenm3hn4d" path="res://scenes/boat.tscn" id="3_5kild"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmxg7u37aon0o" path="res://scenes/tile.tscn" id="4_cd0bw"]
|
||||
|
||||
[sub_resource type="SegmentShape2D" id="SegmentShape2D_dliv6"]
|
||||
|
||||
[node name="Game" type="Node2D"]
|
||||
position = Vector2(552, 300)
|
||||
script = ExtResource("1_g5flc")
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource("2_3msrq")]
|
||||
z_index = 1
|
||||
position = Vector2(-546, -300)
|
||||
|
||||
[node name="Boat" parent="." instance=ExtResource("3_5kild")]
|
||||
position = Vector2(-548, -304)
|
||||
|
||||
[node name="Tile" parent="Boat" instance=ExtResource("4_cd0bw")]
|
||||
position = Vector2(6, 6)
|
||||
|
||||
[node name="Barrier" type="StaticBody2D" parent="Boat"]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="Boat/Barrier"]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Boat/Barrier"]
|
||||
shape = SubResource("SegmentShape2D_dliv6")
|
||||
one_way_collision_margin = 63.0
|
||||
20
scenes/plaE0E6.tmp
Normal file
20
scenes/plaE0E6.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")
|
||||
20
scenes/plaE0E7.tmp
Normal file
20
scenes/plaE0E7.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")
|
||||
@@ -1,23 +1,20 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dy71gkll44btc"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://dy71gkll44btc"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/player.gd" id="1_jlots"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_scfaw"]
|
||||
size = Vector2(80, 124)
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_pnm6c"]
|
||||
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 1)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_wyt1d"]
|
||||
gradient = SubResource("Gradient_pnm6c")
|
||||
[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="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("RectangleShape2D_scfaw")
|
||||
[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="Sprite2D" type="Sprite2D" parent="."]
|
||||
scale = Vector2(0.3125, 126)
|
||||
texture = SubResource("GradientTexture1D_wyt1d")
|
||||
[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")
|
||||
|
||||
10
scenes/tile.tscn
Normal file
10
scenes/tile.tscn
Normal file
@@ -0,0 +1,10 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://bmxg7u37aon0o"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bhx36hs83ynqs" path="res://assets/Bordered_Black_Square.png" id="1_bgcjk"]
|
||||
|
||||
[node name="Tile" type="Node2D"]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
position = Vector2(0, 2.28882e-05)
|
||||
scale = Vector2(0.074, 0.0740913)
|
||||
texture = ExtResource("1_bgcjk")
|
||||
Reference in New Issue
Block a user