make arrows follow player's palette :)

This commit is contained in:
Haze Weathers 2024-03-09 13:52:12 -05:00
parent f1ad9d5825
commit 7993b1d4e5
14 changed files with 94 additions and 13 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=19 format=2]
[gd_scene load_steps=21 format=2]
[ext_resource path="res://shaders/wibble_wobble.gdshader" type="Shader" id=1]
[ext_resource path="res://shaders/ska_plane.gdshader" type="Shader" id=2]
@ -10,6 +10,8 @@
[ext_resource path="res://graphics/hud/final_score.png" type="Texture" id=8]
[ext_resource path="res://ui/2ndpuberty_outline.tres" type="Material" id=9]
[ext_resource path="res://ui/theme.tres" type="Theme" id=10]
[ext_resource path="res://shaders/recolor_border.shader" type="Shader" id=11]
[ext_resource path="res://graphics/player/palettes/default.tex" type="Texture" id=12]
[ext_resource path="res://menus/results.gd" type="Script" id=13]
[ext_resource path="res://menus/results_icon.tscn" type="PackedScene" id=14]
@ -24,9 +26,10 @@ shader_param/cycle_alternation = Vector2( 2, 0 )
shader_param/uv_transform = Transform2D( 1, 1, 0, 1, 0, 0 )
[sub_resource type="ShaderMaterial" id=7]
shader = ExtResource( 3 )
shader = ExtResource( 11 )
shader_param/border_color = Color( 0, 0, 0, 1 )
shader_param/border_corners = false
shader_param/palette = ExtResource( 12 )
[sub_resource type="ShaderMaterial" id=8]
shader = ExtResource( 3 )
@ -470,6 +473,7 @@ theme = ExtResource( 10 )
text = "+500"
[node name="ArrowBonus" type="Sprite" parent="ShardsAndBonuses/Bonuses"]
unique_name_in_owner = true
material = SubResource( 7 )
position = Vector2( 24, 120 )
rotation = -1.5708