diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-11-26 12:47:12 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-11-26 12:47:12 +0200 |
| commit | 864722c02a36b860de23c52277f56d2692dff111 (patch) | |
| tree | 1e1c6e83aac74d1928f73bd0d6a96d801d0b2196 /room_main_menu.tscn | |
| parent | 5adc7200bd684447ba8e65bbb088d3379c00e91c (diff) | |
Add some screen shader stuff
Diffstat (limited to 'room_main_menu.tscn')
| -rw-r--r-- | room_main_menu.tscn | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/room_main_menu.tscn b/room_main_menu.tscn index 99ac7cd..bad7ab6 100644 --- a/room_main_menu.tscn +++ b/room_main_menu.tscn @@ -1,27 +1,12 @@ -[gd_scene load_steps=4 format=3 uid="uid://cjdhfl70fgt6m"] +[gd_scene load_steps=3 format=4 uid="uid://cjdhfl70fgt6m"] [ext_resource type="Script" uid="uid://dufnvsfxreqq8" path="res://room_main_menu.gd" id="1_rbk04"] - -[sub_resource type="Gradient" id="Gradient_n14lx"] -colors = PackedColorArray(0.2509804, 0.15686275, 0.34901962, 1, 1, 0.8980392, 0.7490196, 1) - -[sub_resource type="GradientTexture2D" id="GradientTexture2D_ftmdk"] -gradient = SubResource("Gradient_n14lx") -width = 16 -height = 16 +[ext_resource type="TileSet" uid="uid://0cd30n67d6k5" path="res://tileset_kenney_platformer.tres" id="2_ftmdk"] [node name="MainMenu" type="Node2D"] process_mode = 1 script = ExtResource("1_rbk04") -[node name="Bg" type="TextureRect" parent="."] -offset_left = -30.0 -offset_top = -81.0 -offset_right = -14.0 -offset_bottom = -65.0 -scale = Vector2(16, 16) -texture = SubResource("GradientTexture2D_ftmdk") - [node name="ColorRect" type="ColorRect" parent="."] anchors_preset = 8 anchor_left = 0.5 @@ -61,3 +46,7 @@ offset_bottom = 47.0 scale = Vector2(0.5, 0.5) text = "Metroidvania" horizontal_alignment = 1 + +[node name="TileMapLayer" type="TileMapLayer" parent="."] +tile_map_data = PackedByteArray("AAABAAYAAQAPAAIAAAABAAUAAQAPAAEAAAABAAQAAQAPAAAAAAAKAAAAAQATAAAAAAAKAAEAAQATAAAAAAAKAAIAAQATAAEAAAAJAAYAAQARAAAAAAAIAAYAAQAQAAAAAAA=") +tile_set = ExtResource("2_ftmdk") |
