Maps of square tiles in three layers plus a collision layer, mounted over the 2D shell when their scene is entered. WASD walking, E/F action events, touch teleports, story-flag conditions, random encounters, rpg.battle and rpg.teleport actions, position saving. Integration suite rpg_walk.
24 lines
531 B
Plaintext
24 lines
531 B
Plaintext
[gd_scene format=3]
|
|
|
|
[ext_resource type="Script" path="res://mods/rpg/src/World/RpgWorldHost.cs" id="1_host"]
|
|
|
|
[node name="RpgWorldHost" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
script = ExtResource("1_host")
|
|
|
|
[node name="Backdrop" type="ColorRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
color = Color(0.06, 0.07, 0.09, 1)
|