All sorts of fun and games
87
entities/crystal_glow.tscn
Normal file
|
|
@ -0,0 +1,87 @@
|
||||||
|
[gd_scene load_steps=7 format=3 uid="uid://di05lhhav43s7"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://durqtk0juny64" path="res://resources/particles/light_beam.png" id="1_px2l5"]
|
||||||
|
[ext_resource type="Script" path="res://entities/scripts/crystal_glow.gd" id="2_dtblp"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://b0v24ggq57237" path="res://resources/particles/smallcircle.png" id="3_3ioih"]
|
||||||
|
|
||||||
|
[sub_resource type="Animation" id="Animation_trlpq"]
|
||||||
|
resource_name = "CrystalGlow"
|
||||||
|
length = 5.0
|
||||||
|
loop_mode = 1
|
||||||
|
tracks/0/type = "value"
|
||||||
|
tracks/0/imported = false
|
||||||
|
tracks/0/enabled = true
|
||||||
|
tracks/0/path = NodePath(".:energy")
|
||||||
|
tracks/0/interp = 1
|
||||||
|
tracks/0/loop_wrap = true
|
||||||
|
tracks/0/keys = {
|
||||||
|
"times": PackedFloat32Array(0, 2.6, 5),
|
||||||
|
"transitions": PackedFloat32Array(-2, -2, -2),
|
||||||
|
"update": 0,
|
||||||
|
"values": [2.8, 0.1, 2.8]
|
||||||
|
}
|
||||||
|
tracks/1/type = "value"
|
||||||
|
tracks/1/imported = false
|
||||||
|
tracks/1/enabled = true
|
||||||
|
tracks/1/path = NodePath("../CrystalAreaLight:energy")
|
||||||
|
tracks/1/interp = 1
|
||||||
|
tracks/1/loop_wrap = true
|
||||||
|
tracks/1/keys = {
|
||||||
|
"times": PackedFloat32Array(-0.025, 1, 1.8, 2.8, 3.175, 3.875, 4.5, 4.975),
|
||||||
|
"transitions": PackedFloat32Array(-2, -2, -2, -2, -2, -2, -2, -2),
|
||||||
|
"update": 0,
|
||||||
|
"values": [1.0, 0.5, 1.0, 0.6, 0.8, 1.0, 1.2, 1.0]
|
||||||
|
}
|
||||||
|
|
||||||
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_78u0w"]
|
||||||
|
_data = {
|
||||||
|
"CrystalGlow": SubResource("Animation_trlpq")
|
||||||
|
}
|
||||||
|
|
||||||
|
[sub_resource type="Curve" id="Curve_ffgoa"]
|
||||||
|
_data = [Vector2(0, 0), 0.0, 1.4, 0, 0, Vector2(0.203642, 1), 0.0, 0.0, 0, 0, Vector2(0.799669, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||||
|
point_count = 4
|
||||||
|
|
||||||
|
[node name="CrystalGlow" type="Node2D"]
|
||||||
|
script = ExtResource("2_dtblp")
|
||||||
|
|
||||||
|
[node name="CrystalGlowAnimation" type="AnimationPlayer" parent="."]
|
||||||
|
root_node = NodePath("../CrystalGlowLight")
|
||||||
|
libraries = {
|
||||||
|
"": SubResource("AnimationLibrary_78u0w")
|
||||||
|
}
|
||||||
|
autoplay = "CrystalGlow"
|
||||||
|
|
||||||
|
[node name="CrystalGlowLight" type="PointLight2D" parent="."]
|
||||||
|
modulate = Color(1.5, 1.5, 1.5, 1)
|
||||||
|
rotation = 3.14159
|
||||||
|
scale = Vector2(1.71326, 1)
|
||||||
|
color = Color(0.517647, 0.796078, 1, 1)
|
||||||
|
energy = 2.8
|
||||||
|
texture = ExtResource("1_px2l5")
|
||||||
|
offset = Vector2(0, 50)
|
||||||
|
texture_scale = 1.15
|
||||||
|
|
||||||
|
[node name="CrystalAreaLight" type="PointLight2D" parent="."]
|
||||||
|
modulate = Color(1.5, 1.5, 1.5, 1)
|
||||||
|
color = Color(0.372549, 1, 0.996078, 1)
|
||||||
|
texture = ExtResource("3_3ioih")
|
||||||
|
offset = Vector2(0, -6)
|
||||||
|
texture_scale = 1.2
|
||||||
|
|
||||||
|
[node name="CPUParticles2D" type="CPUParticles2D" parent="."]
|
||||||
|
amount = 2
|
||||||
|
lifetime = 5.0
|
||||||
|
randomness = 0.1
|
||||||
|
lifetime_randomness = 0.15
|
||||||
|
emission_shape = 4
|
||||||
|
emission_points = PackedVector2Array(15, 0, -15, -15, 15, -15, -15, 0)
|
||||||
|
emission_colors = PackedColorArray()
|
||||||
|
spread = 180.0
|
||||||
|
gravity = Vector2(0, 0)
|
||||||
|
initial_velocity_min = 1.0
|
||||||
|
initial_velocity_max = 2.0
|
||||||
|
scale_amount_min = 2.0
|
||||||
|
scale_amount_max = 4.0
|
||||||
|
scale_amount_curve = SubResource("Curve_ffgoa")
|
||||||
|
color = Color(1, 1, 1, 0.164706)
|
||||||
67
entities/glowing.tscn
Normal file
|
|
@ -0,0 +1,67 @@
|
||||||
|
[gd_scene load_steps=5 format=3 uid="uid://ddwnkcnncxmjv"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://entities/scripts/glowling.gd" id="1_aq1kk"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://b0v24ggq57237" path="res://resources/particles/smallcircle.png" id="2_s3xbi"]
|
||||||
|
|
||||||
|
[sub_resource type="Animation" id="Animation_01nc3"]
|
||||||
|
resource_name = "GlowingPulse"
|
||||||
|
length = 3.0
|
||||||
|
loop_mode = 1
|
||||||
|
tracks/0/type = "value"
|
||||||
|
tracks/0/imported = false
|
||||||
|
tracks/0/enabled = true
|
||||||
|
tracks/0/path = NodePath("Glowing/Glow:scale")
|
||||||
|
tracks/0/interp = 1
|
||||||
|
tracks/0/loop_wrap = true
|
||||||
|
tracks/0/keys = {
|
||||||
|
"times": PackedFloat32Array(0, 1.5, 3),
|
||||||
|
"transitions": PackedFloat32Array(1, -2, 1),
|
||||||
|
"update": 0,
|
||||||
|
"values": [Vector2(3, 3), Vector2(2, 2), Vector2(3, 3)]
|
||||||
|
}
|
||||||
|
tracks/1/type = "value"
|
||||||
|
tracks/1/imported = false
|
||||||
|
tracks/1/enabled = true
|
||||||
|
tracks/1/path = NodePath("Glowing/Glow/Glower:scale")
|
||||||
|
tracks/1/interp = 1
|
||||||
|
tracks/1/loop_wrap = true
|
||||||
|
tracks/1/keys = {
|
||||||
|
"times": PackedFloat32Array(0.1, 0.9, 2, 3),
|
||||||
|
"transitions": PackedFloat32Array(1, -2, -2, 1),
|
||||||
|
"update": 0,
|
||||||
|
"values": [Vector2(2, 2), Vector2(1.4, 1.4), Vector2(2.1, 2.1), Vector2(2, 2)]
|
||||||
|
}
|
||||||
|
|
||||||
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_bl8d4"]
|
||||||
|
_data = {
|
||||||
|
"GlowingPulse": SubResource("Animation_01nc3")
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="Glowing" type="Node2D"]
|
||||||
|
position = Vector2(547, 321)
|
||||||
|
script = ExtResource("1_aq1kk")
|
||||||
|
|
||||||
|
[node name="GlowlingAnimations" type="AnimationPlayer" parent="."]
|
||||||
|
root_node = NodePath("../..")
|
||||||
|
libraries = {
|
||||||
|
"": SubResource("AnimationLibrary_bl8d4")
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="Glow" type="PointLight2D" parent="."]
|
||||||
|
scale = Vector2(3, 3)
|
||||||
|
color = Color(0.980392, 0, 0.980392, 1)
|
||||||
|
energy = 1.95
|
||||||
|
shadow_enabled = true
|
||||||
|
shadow_filter = 2
|
||||||
|
shadow_filter_smooth = 7.5
|
||||||
|
texture = ExtResource("2_s3xbi")
|
||||||
|
|
||||||
|
[node name="Glower" type="PointLight2D" parent="Glow"]
|
||||||
|
scale = Vector2(2, 2)
|
||||||
|
color = Color(1, 0.176471, 1, 1)
|
||||||
|
energy = 0.7
|
||||||
|
shadow_filter = 2
|
||||||
|
shadow_filter_smooth = 7.5
|
||||||
|
texture = ExtResource("2_s3xbi")
|
||||||
|
|
||||||
|
[node name="Camera2D" type="Camera2D" parent="."]
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=7 format=3 uid="uid://dr3yiqpdu3iox"]
|
[gd_scene load_steps=8 format=3 uid="uid://dr3yiqpdu3iox"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://entities/scripts/mushroom_glow.gd" id="1_erigl"]
|
[ext_resource type="Script" path="res://entities/scripts/mushroom_glow.gd" id="1_erigl"]
|
||||||
[ext_resource type="Texture2D" uid="uid://b0v24ggq57237" path="res://resources/particles/smallcircle.png" id="2_o6y3e"]
|
[ext_resource type="Texture2D" uid="uid://b0v24ggq57237" path="res://resources/particles/smallcircle.png" id="2_o6y3e"]
|
||||||
|
|
@ -46,6 +46,10 @@ _data = {
|
||||||
"OuterGlowPulse": SubResource("Animation_lk3bq")
|
"OuterGlowPulse": SubResource("Animation_lk3bq")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[sub_resource type="Curve" id="Curve_sgxel"]
|
||||||
|
_data = [Vector2(0, 0), 0.0, 1.4, 0, 0, Vector2(0.203642, 1), 0.0, 0.0, 0, 0, Vector2(0.799669, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||||
|
point_count = 4
|
||||||
|
|
||||||
[node name="MushroomGlow" type="Node2D"]
|
[node name="MushroomGlow" type="Node2D"]
|
||||||
script = ExtResource("1_erigl")
|
script = ExtResource("1_erigl")
|
||||||
|
|
||||||
|
|
@ -72,8 +76,25 @@ texture = ExtResource("2_o6y3e")
|
||||||
|
|
||||||
[node name="OuterGlow" type="PointLight2D" parent="."]
|
[node name="OuterGlow" type="PointLight2D" parent="."]
|
||||||
scale = Vector2(2.7, 2.7)
|
scale = Vector2(2.7, 2.7)
|
||||||
color = Color(1, 0.811765, 0.235294, 1)
|
color = Color(0.298039, 0.772549, 0.980392, 1)
|
||||||
energy = 0.7
|
energy = 0.7
|
||||||
shadow_filter = 2
|
shadow_filter = 2
|
||||||
shadow_filter_smooth = 7.5
|
shadow_filter_smooth = 7.5
|
||||||
texture = ExtResource("2_o6y3e")
|
texture = ExtResource("2_o6y3e")
|
||||||
|
|
||||||
|
[node name="CPUParticles2D" type="CPUParticles2D" parent="."]
|
||||||
|
modulate = Color(1.2, 1.2, 1.2, 0.592)
|
||||||
|
amount = 3
|
||||||
|
lifetime = 5.0
|
||||||
|
randomness = 0.1
|
||||||
|
lifetime_randomness = 0.15
|
||||||
|
emission_shape = 1
|
||||||
|
emission_sphere_radius = 40.0
|
||||||
|
spread = 180.0
|
||||||
|
gravity = Vector2(0, 0)
|
||||||
|
initial_velocity_min = 1.0
|
||||||
|
initial_velocity_max = 2.0
|
||||||
|
scale_amount_min = 2.0
|
||||||
|
scale_amount_max = 4.0
|
||||||
|
scale_amount_curve = SubResource("Curve_sgxel")
|
||||||
|
color = Color(1, 1, 1, 0.164706)
|
||||||
|
|
|
||||||
6
entities/scripts/crystal_glow.gd
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
extends Node2D
|
||||||
|
class_name CrystalGlow
|
||||||
|
|
||||||
|
func _ready() -> void:
|
||||||
|
Log.pr("CrystalGlow ready")
|
||||||
|
|
||||||
|
|
@ -75,6 +75,7 @@ func _unhandled_input(event : InputEvent) -> void:
|
||||||
## We spread to a 3x3 area for blowing up walls because it was very
|
## We spread to a 3x3 area for blowing up walls because it was very
|
||||||
## weird with 1x1 cells
|
## weird with 1x1 cells
|
||||||
var update_cells : Array = GridUtil.get_surrounding_tiles(tile_position)
|
var update_cells : Array = GridUtil.get_surrounding_tiles(tile_position)
|
||||||
|
update_cells = filter_indestructible_tiles(update_cells)
|
||||||
set_cells_terrain_connect(0, update_cells, 0, 0)
|
set_cells_terrain_connect(0, update_cells, 0, 0)
|
||||||
|
|
||||||
## Get all the co-ordinates around the given tile_position coordinates
|
## Get all the co-ordinates around the given tile_position coordinates
|
||||||
|
|
@ -85,22 +86,27 @@ func _unhandled_input(event : InputEvent) -> void:
|
||||||
update_passable()
|
update_passable()
|
||||||
check_for_visible_gatherables()
|
check_for_visible_gatherables()
|
||||||
|
|
||||||
# Check if the tile is already highlighted
|
|
||||||
#if highlighted_tiles.has(tile_position):
|
|
||||||
# Change the tile to destroyed tile and remove from highlighted set
|
|
||||||
# set_cellv(tile_position, DESTROYED_TILE)
|
|
||||||
# highlighted_tiles.erase(tile_position)
|
|
||||||
|
|
||||||
func redraw_surrounding_tiles(positions : Array) -> void:
|
func redraw_surrounding_tiles(positions : Array) -> void:
|
||||||
var walls : Array = []
|
var walls : Array = []
|
||||||
|
|
||||||
for cell_pos : Vector2 in positions:
|
for cell_pos : Vector2 in positions:
|
||||||
var tile_data : TileData = get_cell_tile_data(0, cell_pos)
|
var tile_data : TileData = get_cell_tile_data(0, cell_pos)
|
||||||
if tile_data and tile_data.get_custom_data('navtype') == 'wall':
|
if tile_data and tile_data.get_custom_data('navtype') == 'wall' and tile_data.get_custom_data('indestructible') != true:
|
||||||
walls.append(cell_pos)
|
walls.append(cell_pos)
|
||||||
|
|
||||||
set_cells_terrain_connect(0, walls, 0, 1)
|
set_cells_terrain_connect(0, walls, 0, 1)
|
||||||
|
|
||||||
|
func filter_indestructible_tiles(coords : Array) -> Array:
|
||||||
|
var filtered_coords : Array = []
|
||||||
|
for coord : Vector2 in coords:
|
||||||
|
var tile_data : TileData = get_cell_tile_data(0, coord)
|
||||||
|
if tile_data and tile_data.get_custom_data('indestructible') != true:
|
||||||
|
filtered_coords.append(coord)
|
||||||
|
|
||||||
|
Log.pr(filtered_coords)
|
||||||
|
return filtered_coords
|
||||||
|
|
||||||
func check_for_visible_gatherables() -> void:
|
func check_for_visible_gatherables() -> void:
|
||||||
|
|
||||||
# Remove all existing glowing lights
|
# Remove all existing glowing lights
|
||||||
|
|
@ -108,7 +114,7 @@ func check_for_visible_gatherables() -> void:
|
||||||
child.queue_free()
|
child.queue_free()
|
||||||
|
|
||||||
## Loop through the tiles on the gatherables layer and check if the thing on
|
## Loop through the tiles on the gatherables layer and check if the thing on
|
||||||
# the layer below them is a wall, if it is they need to be hidden.
|
# the layer below them is a wall, we don't add a glow - if it is visible then we do
|
||||||
for i in tilemap_size.x:
|
for i in tilemap_size.x:
|
||||||
for j in tilemap_size.y:
|
for j in tilemap_size.y:
|
||||||
var coords : Vector2i = Vector2i(i, j)
|
var coords : Vector2i = Vector2i(i, j)
|
||||||
|
|
@ -121,14 +127,8 @@ func check_for_visible_gatherables() -> void:
|
||||||
else:
|
else:
|
||||||
if tile_data.get_custom_data('glowcolour'):
|
if tile_data.get_custom_data('glowcolour'):
|
||||||
var glow_colour : String = tile_data.get_custom_data('glowcolour')
|
var glow_colour : String = tile_data.get_custom_data('glowcolour')
|
||||||
Log.pr("Glow colour: " + str(glow_colour))
|
|
||||||
var glow : MushroomGlow = mushroom_glow.instantiate()
|
var glow : MushroomGlow = mushroom_glow.instantiate()
|
||||||
glow.set_position(coords * get_tileset().tile_size + get_tileset().tile_size / 2)
|
glow.set_position(coords * get_tileset().tile_size + get_tileset().tile_size / 2)
|
||||||
glow.colour_name = glow_colour
|
glow.colour_name = glow_colour
|
||||||
mushroom_glow_container.add_child.call_deferred(glow)
|
mushroom_glow_container.add_child.call_deferred(glow)
|
||||||
Log.pr(glow)
|
|
||||||
# Log.pr(below_tile_data)
|
|
||||||
#if tile_data and tile_data.get_custom_data('navtype') == 'gatherable':
|
|
||||||
# var below_tile_data : TileData = get_cell_tile_data(0, coords + Vector2i(0, 1))
|
|
||||||
# if below_tile_data and below_tile_data.get_custom_data('navtype') == 'wall':
|
|
||||||
# set_cellv(coords, -1)
|
|
||||||
|
|
|
||||||
|
|
@ -45,3 +45,7 @@ move_to={
|
||||||
"events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":1,"position":Vector2(253, 34),"global_position":Vector2(259, 96),"factor":1.0,"button_index":1,"canceled":false,"pressed":true,"double_click":false,"script":null)
|
"events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":1,"position":Vector2(253, 34),"global_position":Vector2(259, 96),"factor":1.0,"button_index":1,"canceled":false,"pressed":true,"double_click":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[rendering]
|
||||||
|
|
||||||
|
viewport/hdr_2d=true
|
||||||
|
|
|
||||||
BIN
resources/blue_crystal.png
Normal file
|
After Width: | Height: | Size: 355 B |
34
resources/blue_crystal.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bw8wur5rjvosv"
|
||||||
|
path="res://.godot/imported/blue_crystal.png-b78bf4c75d983fcdf65ce8891505ca32.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://resources/blue_crystal.png"
|
||||||
|
dest_files=["res://.godot/imported/blue_crystal.png-b78bf4c75d983fcdf65ce8891505ca32.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
|
||||||
BIN
resources/dark_cave_tiles_expanded.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
34
resources/dark_cave_tiles_expanded.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://b5p33qiq2ymbo"
|
||||||
|
path="res://.godot/imported/dark_cave_tiles_expanded.png-faa17f1622973bd0ced942bed939faba.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://resources/dark_cave_tiles_expanded.png"
|
||||||
|
dest_files=["res://.godot/imported/dark_cave_tiles_expanded.png-faa17f1622973bd0ced942bed939faba.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
|
||||||
BIN
resources/green_crystal.png
Normal file
|
After Width: | Height: | Size: 267 B |
34
resources/green_crystal.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cvpykcfvvv3h8"
|
||||||
|
path="res://.godot/imported/green_crystal.png-1eed2b130cec18842186890636ee8d10.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://resources/green_crystal.png"
|
||||||
|
dest_files=["res://.godot/imported/green_crystal.png-1eed2b130cec18842186890636ee8d10.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
|
||||||
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 74 KiB |
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 71 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 111 KiB After Width: | Height: | Size: 112 KiB |
|
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 86 KiB |
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 67 KiB |
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 91 KiB |
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 91 KiB |
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 98 KiB |
BIN
resources/particles/light_beam.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
34
resources/particles/light_beam.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://durqtk0juny64"
|
||||||
|
path="res://.godot/imported/light_beam.png-a9b38ec9f81e1ea5304d58c9b09c6e56.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://resources/particles/light_beam.png"
|
||||||
|
dest_files=["res://.godot/imported/light_beam.png-a9b38ec9f81e1ea5304d58c9b09c6e56.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
|
||||||
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 73 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 73 KiB |
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 86 KiB |
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 93 KiB |
|
Before Width: | Height: | Size: 98 KiB After Width: | Height: | Size: 99 KiB |
|
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 8.9 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 7.4 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 41 KiB |