more palette stuff

This commit is contained in:
pennyrigate 2024-03-08 20:18:37 -05:00
parent f88e8e0110
commit b032eea7ea
8 changed files with 144 additions and 14 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=20 format=2]
[gd_scene load_steps=27 format=2]
[ext_resource path="res://shaders/ska_plane.gdshader" type="Shader" id=1]
[ext_resource path="res://ui/theme.tres" type="Theme" id=2]
@ -9,12 +9,14 @@
[ext_resource path="res://graphics/player/palettes/default.png" type="Texture" id=7]
[ext_resource path="res://shaders/wibble_wobble.gdshader" type="Shader" id=8]
[ext_resource path="res://graphics/hud/pause_arrow.png" type="Texture" id=9]
[ext_resource path="res://graphics/player/sg_idle.png" type="Texture" id=10]
[ext_resource path="res://graphics/player/sg.png" type="Texture" id=10]
[ext_resource path="res://graphics/player/palettes/msx.png" type="Texture" id=11]
[ext_resource path="res://graphics/player/palettes/lasertag.png" type="Texture" id=12]
[ext_resource path="res://graphics/player/palettes/strawberry.png" type="Texture" id=13]
[ext_resource path="res://graphics/player/palettes/db32.png" type="Texture" id=14]
[ext_resource path="res://graphics/player/palettes/trans_pride.png" type="Texture" id=14]
[ext_resource path="res://menus/level_select_scholar.tscn" type="PackedScene" id=15]
[ext_resource path="res://graphics/player/palettes/cosmological_redshift.png" type="Texture" id=16]
[ext_resource path="res://graphics/player/palettes/gravitational_redshift.png" type="Texture" id=17]
[sub_resource type="ShaderMaterial" id=1]
shader = ExtResource( 1 )
@ -29,9 +31,33 @@ shader_param/uv_transform = Transform2D( 0.5, -0.5, 0.5, 1, 0, 0 )
[sub_resource type="ShaderMaterial" id=2]
shader = ExtResource( 4 )
shader_param/border_color = Color( 0, 0, 0, 1 )
shader_param/border_corners = false
shader_param/border_corners = true
shader_param/palette = ExtResource( 7 )
[sub_resource type="AtlasTexture" id=5]
atlas = ExtResource( 10 )
region = Rect2( 0, 32, 32, 32 )
[sub_resource type="AtlasTexture" id=6]
atlas = ExtResource( 10 )
region = Rect2( 32, 32, 32, 32 )
[sub_resource type="AtlasTexture" id=7]
atlas = ExtResource( 10 )
region = Rect2( 64, 32, 32, 32 )
[sub_resource type="AtlasTexture" id=8]
atlas = ExtResource( 10 )
region = Rect2( 96, 32, 32, 32 )
[sub_resource type="SpriteFrames" id=9]
animations = [ {
"frames": [ SubResource( 5 ), SubResource( 6 ), SubResource( 7 ), SubResource( 8 ) ],
"loop": true,
"name": "default",
"speed": 10.0
} ]
[sub_resource type="ShaderMaterial" id=3]
shader = ExtResource( 8 )
shader_param/speed = Vector2( 4, 0 )
@ -51,8 +77,8 @@ anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 2 )
script = ExtResource( 3 )
titles = [ "Default", "Dawnbringer", "Lasertag", "Ms. X", "Strawberry" ]
palettes = [ ExtResource( 7 ), ExtResource( 14 ), ExtResource( 12 ), ExtResource( 11 ), ExtResource( 13 ) ]
titles = [ "Default", "Lasertag", "Ms. X", "Strawberry", "Trans Pride", "Cosmological Redshift", "Gravitational Redshift" ]
palettes = [ ExtResource( 7 ), ExtResource( 12 ), ExtResource( 11 ), ExtResource( 13 ), ExtResource( 14 ), ExtResource( 16 ), ExtResource( 17 ) ]
previous_screen = ExtResource( 15 )
[node name="ColorRect" type="ColorRect" parent="."]
@ -68,14 +94,13 @@ text = "Choose your colors"
align = 1
valign = 1
[node name="SG" type="TextureRect" parent="."]
[node name="SG" type="AnimatedSprite" parent="."]
material = SubResource( 2 )
margin_left = 101.0
margin_top = 112.0
margin_right = 121.0
margin_bottom = 132.0
rect_scale = Vector2( 2, 2 )
texture = ExtResource( 10 )
position = Vector2( 128, 128 )
scale = Vector2( 3, 3 )
frames = SubResource( 9 )
frame = 2
playing = true
[node name="PanelContainer" type="PanelContainer" parent="."]
margin_left = 57.0