-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
436061a
commit 039090e
Showing
9 changed files
with
191 additions
and
50 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
game/main/element_manager/custom_element/custom_element.gd
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 @@ | ||
class_name CustomElement | ||
extends Resource | ||
|
||
@export var display_name: String | ||
@export var id: int | ||
# 0: flat, 1: fancy | ||
@export var style: int | ||
@export var color_a: Color | ||
@export var color_b: Color | ||
@export var color_c: Color | ||
# 0: powder, 1: solid, 2: liquid, 3: gas | ||
@export var state: int | ||
@export var density: float = 0.2 | ||
@export var viscosity: float = 0.5 | ||
@export var conductivity: float = 0.0 | ||
@export var temperature: float = 0.5 | ||
@export var flammability: float = 0.0 | ||
@export var reactivity: float = 0.5 | ||
@export var durability: float = 0.5 |
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 |
---|---|---|
@@ -1,18 +1,6 @@ | ||
extends Element | ||
class_name Fluid | ||
|
||
@export_enum("WATER", "FIRE", "CRYSTAL") var noise_texture: int | ||
@export var color_a: Color | ||
@export var color_b: Color | ||
@export var color_c: Color | ||
|
||
@export var noise_scale: float = 2.0 | ||
@export var noise_speed: float = 15.0 | ||
@export var current_size: float = 16.0 | ||
@export var wave_cycle: float = 3.0 | ||
@export var contraction_size: float = 16.0 | ||
@export var wave_density: float = 2.0 | ||
@export var shimmer_speed: float = 24.0 | ||
@export var shimmer_density: float = 1.5 | ||
@export var shimmer_opacity: float = 0.5 | ||
@export var shimmer_cycle: float = 2.0 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,34 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="CompressedTexture2D" | ||
uid="uid://l1h1lwsmjxdv" | ||
path="res://.godot/imported/icon_circle.png-a254992dfc200b87316861d4ced5fa20.ctex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://main/ui/_icons/icon_circle.png" | ||
dest_files=["res://.godot/imported/icon_circle.png-a254992dfc200b87316861d4ced5fa20.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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,34 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="CompressedTexture2D" | ||
uid="uid://cwrw6b4hfr57h" | ||
path="res://.godot/imported/icon_circle2.png-66203458bd9959c80b999bc3d3521e6e.ctex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://main/ui/_icons/icon_circle2.png" | ||
dest_files=["res://.godot/imported/icon_circle2.png-66203458bd9959c80b999bc3d3521e6e.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 |
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
Oops, something went wrong.