runic-godot/scenes/world.tscn

57 lines
2.0 KiB
Plaintext
Raw Normal View History

2023-11-04 19:21:49 -07:00
[gd_scene load_steps=9 format=3 uid="uid://deus4t8mmx6pp"]
2023-10-07 17:43:33 -07:00
2023-10-07 18:26:10 -07:00
[ext_resource type="Script" path="res://scripts/world.gd" id="1_d5cpg"]
2023-10-07 17:43:33 -07:00
[ext_resource type="PackedScene" uid="uid://4dsm0l7s6vki" path="res://data/character/character.tscn" id="1_gadv2"]
[ext_resource type="Texture2D" uid="uid://vyhureoc5qlp" path="res://textures/world/biome/forest/grass.svg" id="2_xtc31"]
2023-11-04 19:21:49 -07:00
[ext_resource type="Texture2D" uid="uid://bs880ox7qmqui" path="res://textures/world/biome/desert/sand.svg" id="4_gronf"]
2023-10-07 17:43:33 -07:00
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_0fcbb"]
normal = Vector2(0, 1)
2023-10-07 17:58:08 -07:00
distance = -3000.0
2023-10-07 17:43:33 -07:00
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_cl8ds"]
normal = Vector2(-1, 0)
2023-10-07 17:58:08 -07:00
distance = -3000.0
2023-10-07 17:43:33 -07:00
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_5jryn"]
2023-11-04 19:21:49 -07:00
distance = -11000.0
2023-10-07 17:43:33 -07:00
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_j3vu4"]
normal = Vector2(1, 0)
2023-10-07 17:58:08 -07:00
distance = -3000.0
2023-10-07 17:43:33 -07:00
[node name="world" type="Node2D"]
2023-10-07 18:26:10 -07:00
script = ExtResource("1_d5cpg")
2023-10-07 17:43:33 -07:00
[node name="character" parent="." instance=ExtResource("1_gadv2")]
[node name="biomes" type="Node2D" parent="."]
z_index = -10
2023-11-04 19:21:49 -07:00
[node name="forest" type="Sprite2D" parent="biomes"]
2023-10-07 17:43:33 -07:00
texture_repeat = 2
texture = ExtResource("2_xtc31")
region_enabled = true
2023-10-07 17:58:08 -07:00
region_rect = Rect2(0, 0, 8000, 8000)
2023-10-07 17:43:33 -07:00
2023-11-04 19:21:49 -07:00
[node name="desert" type="Sprite2D" parent="biomes"]
texture_repeat = 2
position = Vector2(0, 8000)
texture = ExtResource("4_gronf")
region_enabled = true
region_rect = Rect2(0, 0, 8000, 8000)
2023-10-07 17:43:33 -07:00
[node name="world_boundaries" type="StaticBody2D" parent="."]
[node name="north" type="CollisionShape2D" parent="world_boundaries"]
shape = SubResource("WorldBoundaryShape2D_0fcbb")
[node name="east" type="CollisionShape2D" parent="world_boundaries"]
shape = SubResource("WorldBoundaryShape2D_cl8ds")
[node name="south" type="CollisionShape2D" parent="world_boundaries"]
shape = SubResource("WorldBoundaryShape2D_5jryn")
[node name="west" type="CollisionShape2D" parent="world_boundaries"]
shape = SubResource("WorldBoundaryShape2D_j3vu4")