Player-field manipulations
This commit is contained in:
parent
9ced321538
commit
74759e9e16
21 changed files with 270 additions and 54 deletions
7
assets/shaders/gui_masking.gdshader
Normal file
7
assets/shaders/gui_masking.gdshader
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
shader_type canvas_item;
|
||||
|
||||
uniform sampler2D mask : filter_nearest;
|
||||
|
||||
void fragment() {
|
||||
COLOR.a = texture(mask, UV).a * COLOR.a;
|
||||
}
|
||||
BIN
assets/sprites/gui/EmptyPlantCard.png
Normal file
BIN
assets/sprites/gui/EmptyPlantCard.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 553 B |
34
assets/sprites/gui/EmptyPlantCard.png.import
Normal file
34
assets/sprites/gui/EmptyPlantCard.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dxyf557m4mq1p"
|
||||
path="res://.godot/imported/EmptyPlantCard.png-1c00937df6b4404c406414f4f4aadc00.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/sprites/gui/EmptyPlantCard.png"
|
||||
dest_files=["res://.godot/imported/EmptyPlantCard.png-1c00937df6b4404c406414f4f4aadc00.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
[gd_resource type="AtlasTexture" load_steps=2 format=3 uid="uid://cmgaryx5wgu14"]
|
||||
[gd_resource type="AtlasTexture" load_steps=2 format=3 uid="uid://iw75j816gbc"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dvldjlg0nr355" path="res://assets/sprites/atlases/atlas1.png" id="1_bxos1"]
|
||||
[ext_resource type="Texture2D" uid="uid://dvldjlg0nr355" path="res://assets/sprites/atlases/atlas1.png" id="1_x8dof"]
|
||||
|
||||
[resource]
|
||||
atlas = ExtResource("1_bxos1")
|
||||
region = Rect2(259, 172, 41, 56)
|
||||
atlas = ExtResource("1_x8dof")
|
||||
region = Rect2(54, 3, 42, 56)
|
||||
BIN
assets/sprites/white_box.png
Normal file
BIN
assets/sprites/white_box.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 99 B |
34
assets/sprites/white_box.png.import
Normal file
34
assets/sprites/white_box.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c1afy0ga6h1ic"
|
||||
path="res://.godot/imported/white_box.png-eab8f329b0dc39a0d0cf36a0bf998644.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/sprites/white_box.png"
|
||||
dest_files=["res://.godot/imported/white_box.png-eab8f329b0dc39a0d0cf36a0bf998644.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
Loading…
Add table
Add a link
Reference in a new issue