-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding sound effects, refactoring, making cards in hand nicely spread
- Loading branch information
Showing
17 changed files
with
129 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
shader_type canvas_item; | ||
|
||
// Declare the screen texture | ||
uniform sampler2D screen_texture : hint_screen_texture; | ||
|
||
void fragment() { | ||
// Sample the mask texture | ||
vec4 mask_color = texture(TEXTURE, UV); | ||
|
||
// Sample the screen texture (what's currently rendered beneath this shader) | ||
vec4 screen_color = texture(screen_texture, SCREEN_UV); | ||
|
||
// Choose your blend mode: | ||
//COLOR = screen_color; | ||
// Normal blending (just display the mask) | ||
COLOR = mask_color; | ||
|
||
// Additive blending | ||
//COLOR = mask_color + screen_color; | ||
|
||
// Subtractive blending | ||
//COLOR = screen_color - mask_color; | ||
|
||
// Multiplicative blending | ||
if(mask_color.a != 1.0) { | ||
COLOR = screen_color; | ||
} else { | ||
COLOR = screen_color * mask_color; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[remap] | ||
|
||
importer="oggvorbisstr" | ||
type="AudioStreamOggVorbis" | ||
uid="uid://ddgw2ir3mmqr8" | ||
path="res://.godot/imported/draw.ogg-f8371bc8f12c92fb5d70bd8495eb0e32.oggvorbisstr" | ||
|
||
[deps] | ||
|
||
source_file="res://sounds/draw.ogg" | ||
dest_files=["res://.godot/imported/draw.ogg-f8371bc8f12c92fb5d70bd8495eb0e32.oggvorbisstr"] | ||
|
||
[params] | ||
|
||
loop=false | ||
loop_offset=0 | ||
bpm=0 | ||
beat_count=0 | ||
bar_beats=4 |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[remap] | ||
|
||
importer="oggvorbisstr" | ||
type="AudioStreamOggVorbis" | ||
uid="uid://bmbahxmv63kr4" | ||
path="res://.godot/imported/plop.ogg-63993b6765b5c7880e34f9d974582ae5.oggvorbisstr" | ||
|
||
[deps] | ||
|
||
source_file="res://sounds/plop.ogg" | ||
dest_files=["res://.godot/imported/plop.ogg-63993b6765b5c7880e34f9d974582ae5.oggvorbisstr"] | ||
|
||
[params] | ||
|
||
loop=false | ||
loop_offset=0 | ||
bpm=0 | ||
beat_count=0 | ||
bar_beats=4 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[remap] | ||
|
||
importer="oggvorbisstr" | ||
type="AudioStreamOggVorbis" | ||
uid="uid://l72p4xa51evd" | ||
path="res://.godot/imported/yoink.ogg-4945adf8eb20a40e9058c94afe5aaca3.oggvorbisstr" | ||
|
||
[deps] | ||
|
||
source_file="res://sounds/yoink.ogg" | ||
dest_files=["res://.godot/imported/yoink.ogg-4945adf8eb20a40e9058c94afe5aaca3.oggvorbisstr"] | ||
|
||
[params] | ||
|
||
loop=false | ||
loop_offset=0.0 | ||
bpm=0.0 | ||
beat_count=0 | ||
bar_beats=4 |