Added rough CRT enemy; roughed in wave tracking and enemy switching; new
game resets wave_count to 0.
This commit is contained in:
parent
1da24eb0e6
commit
26803702b1
14 changed files with 383 additions and 16 deletions
18
shaders/flash_white.gdshader
Normal file
18
shaders/flash_white.gdshader
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
shader_type canvas_item;
|
||||
|
||||
uniform float flash_value : hint_range(0.0, 1.0) = 0.0;
|
||||
|
||||
void vertex() {
|
||||
// Called for every vertex the material is visible on.
|
||||
}
|
||||
|
||||
void fragment() {
|
||||
vec4 original_color = COLOR;
|
||||
vec4 flash_color = vec4(1.0, 1.0, 1.0, 1.0); // White color
|
||||
COLOR = mix(original_color, flash_color, flash_value);
|
||||
}
|
||||
|
||||
//void light() {
|
||||
// // Called for every pixel for every light affecting the CanvasItem.
|
||||
// // Uncomment to replace the default light processing function with this one.
|
||||
//}
|
||||
Loading…
Add table
Add a link
Reference in a new issue