Compare commits
No commits in common. "e2682da7fe8a4e4b67cfe2fcfb12377cf11a7694" and "508799552b7f10f99256e325f56ef437455a137f" have entirely different histories.
e2682da7fe
...
508799552b
9 changed files with 1 additions and 97 deletions
Binary file not shown.
|
|
@ -1,36 +0,0 @@
|
||||||
[remap]
|
|
||||||
|
|
||||||
importer="font_data_dynamic"
|
|
||||||
type="FontFile"
|
|
||||||
uid="uid://bce5el6o5igwn"
|
|
||||||
path="res://.godot/imported/Axolotl.ttf-aad5e527b006097534be77d3d860a672.fontdata"
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://assets/fonts/Axolotl.ttf"
|
|
||||||
dest_files=["res://.godot/imported/Axolotl.ttf-aad5e527b006097534be77d3d860a672.fontdata"]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
Rendering=null
|
|
||||||
antialiasing=1
|
|
||||||
generate_mipmaps=false
|
|
||||||
disable_embedded_bitmaps=true
|
|
||||||
multichannel_signed_distance_field=false
|
|
||||||
msdf_pixel_range=8
|
|
||||||
msdf_size=48
|
|
||||||
allow_system_fallback=true
|
|
||||||
force_autohinter=false
|
|
||||||
modulate_color_glyphs=false
|
|
||||||
hinting=1
|
|
||||||
subpixel_positioning=4
|
|
||||||
keep_rounding_remainders=true
|
|
||||||
oversampling=0.0
|
|
||||||
Fallbacks=null
|
|
||||||
fallbacks=[]
|
|
||||||
Compress=null
|
|
||||||
compress=true
|
|
||||||
preload=[]
|
|
||||||
language_support={}
|
|
||||||
script_support={}
|
|
||||||
opentype_features={}
|
|
||||||
|
|
@ -11,7 +11,6 @@ config_version=5
|
||||||
[application]
|
[application]
|
||||||
|
|
||||||
config/name="girl will never sing again"
|
config/name="girl will never sing again"
|
||||||
run/main_scene="uid://5wfpwjykqson"
|
|
||||||
config/features=PackedStringArray("4.5", "GL Compatibility")
|
config/features=PackedStringArray("4.5", "GL Compatibility")
|
||||||
config/icon="uid://4aq8ekc6sruc"
|
config/icon="uid://4aq8ekc6sruc"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,6 @@
|
||||||
extends Node
|
extends Node
|
||||||
|
|
||||||
|
|
||||||
func start_game() -> void:
|
|
||||||
print("starting game")
|
|
||||||
get_tree().change_scene_to_file("res://scenes/worlds/yukotsukis_room/yukotsukis_room.tscn")
|
|
||||||
|
|
||||||
|
|
||||||
func goto_room(previous_room: Room, waypoint: RemoteWaypoint, config: RoomConfig = null) -> void:
|
func goto_room(previous_room: Room, waypoint: RemoteWaypoint, config: RoomConfig = null) -> void:
|
||||||
print("changing rooms")
|
print("changing rooms")
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
extends Node2D
|
|
||||||
|
|
||||||
|
|
||||||
func _unhandled_input(event: InputEvent) -> void:
|
|
||||||
if event.is_action_pressed("interact"):
|
|
||||||
GameDirector.start_game()
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
uid://xuibr7dn2qtw
|
|
||||||
|
|
@ -1,44 +0,0 @@
|
||||||
[gd_scene load_steps=7 format=3 uid="uid://5wfpwjykqson"]
|
|
||||||
|
|
||||||
[ext_resource type="FontFile" uid="uid://bce5el6o5igwn" path="res://assets/fonts/Axolotl.ttf" id="1_ob46e"]
|
|
||||||
[ext_resource type="Script" uid="uid://xuibr7dn2qtw" path="res://scenes/main_menu/main_menu.gd" id="1_uqeha"]
|
|
||||||
[ext_resource type="Shader" uid="uid://bxvmsjxx0tj21" path="res://shaders/palette.gdshader" id="2_uqeha"]
|
|
||||||
[ext_resource type="Texture2D" uid="uid://h5523ru86vrd" path="res://assets/palettes/forgotten-120.png" id="3_wem23"]
|
|
||||||
|
|
||||||
[sub_resource type="LabelSettings" id="LabelSettings_3ovsr"]
|
|
||||||
font = ExtResource("1_ob46e")
|
|
||||||
|
|
||||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_5seab"]
|
|
||||||
shader = ExtResource("2_uqeha")
|
|
||||||
shader_parameter/palette = ExtResource("3_wem23")
|
|
||||||
shader_parameter/palette_size = 120
|
|
||||||
|
|
||||||
[node name="MainMenu" type="Node2D"]
|
|
||||||
script = ExtResource("1_uqeha")
|
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="."]
|
|
||||||
anchors_preset = 7
|
|
||||||
anchor_left = 0.5
|
|
||||||
anchor_top = 1.0
|
|
||||||
anchor_right = 0.5
|
|
||||||
anchor_bottom = 1.0
|
|
||||||
offset_left = 24.0
|
|
||||||
offset_top = 208.0
|
|
||||||
offset_right = 99.0
|
|
||||||
offset_bottom = 224.0
|
|
||||||
grow_horizontal = 2
|
|
||||||
grow_vertical = 0
|
|
||||||
size_flags_horizontal = 4
|
|
||||||
text = "press z to start"
|
|
||||||
label_settings = SubResource("LabelSettings_3ovsr")
|
|
||||||
|
|
||||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
||||||
|
|
||||||
[node name="PaletteShader" type="ColorRect" parent="CanvasLayer"]
|
|
||||||
material = SubResource("ShaderMaterial_5seab")
|
|
||||||
anchors_preset = 15
|
|
||||||
anchor_right = 1.0
|
|
||||||
anchor_bottom = 1.0
|
|
||||||
grow_horizontal = 2
|
|
||||||
grow_vertical = 2
|
|
||||||
metadata/_edit_lock_ = true
|
|
||||||
|
|
@ -21,9 +21,7 @@ class_name RoomConfig extends Resource
|
||||||
## Color of the canvas modulate.
|
## Color of the canvas modulate.
|
||||||
@export var modulate_color: Color
|
@export var modulate_color: Color
|
||||||
## Color palette for the room.
|
## Color palette for the room.
|
||||||
@export var room_palette: Texture2D = preload("uid://h5523ru86vrd")
|
@export var room_palette: Texture2D
|
||||||
## Number of colors in palette.
|
|
||||||
@export var palette_size: int = 120
|
|
||||||
|
|
||||||
@export_group('Room Loop')
|
@export_group('Room Loop')
|
||||||
## Whether the room loops itself or not.
|
## Whether the room loops itself or not.
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,6 @@ func _enter(_previous_state_path: String, _data: Dictionary = {}) -> void:
|
||||||
var ps_material: ShaderMaterial = room.palette_shader.material as ShaderMaterial
|
var ps_material: ShaderMaterial = room.palette_shader.material as ShaderMaterial
|
||||||
assert(ps_material != null, "palette shader is null")
|
assert(ps_material != null, "palette shader is null")
|
||||||
ps_material.set_shader_parameter("palette", room.config.room_palette)
|
ps_material.set_shader_parameter("palette", room.config.room_palette)
|
||||||
ps_material.set_shader_parameter("palette_size", room.config.palette_size)
|
|
||||||
|
|
||||||
room.player.enable_point_light(true, 0.4)
|
room.player.enable_point_light(true, 0.4)
|
||||||
room.player.point_light.texture_scale = 0
|
room.player.point_light.texture_scale = 0
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue