finalising void card visuals
This commit is contained in:
parent
e248979390
commit
5650f53ed6
|
|
@ -0,0 +1,142 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
width="1024"
|
||||||
|
height="1024"
|
||||||
|
viewBox="0 0 270.93333 270.93333"
|
||||||
|
version="1.1"
|
||||||
|
id="svg5"
|
||||||
|
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
|
||||||
|
sodipodi:docname="void_overlay.svg"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="namedview7"
|
||||||
|
pagecolor="#505050"
|
||||||
|
bordercolor="#eeeeee"
|
||||||
|
borderopacity="1"
|
||||||
|
inkscape:showpageshadow="0"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pagecheckerboard="0"
|
||||||
|
inkscape:deskcolor="#505050"
|
||||||
|
inkscape:document-units="px"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="0.64693624"
|
||||||
|
inkscape:cx="-183.17106"
|
||||||
|
inkscape:cy="428.17203"
|
||||||
|
inkscape:window-width="3840"
|
||||||
|
inkscape:window-height="2095"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="layer1" />
|
||||||
|
<defs
|
||||||
|
id="defs2">
|
||||||
|
<linearGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
id="linearGradient925">
|
||||||
|
<stop
|
||||||
|
style="stop-color:#000000;stop-opacity:0;"
|
||||||
|
offset="0.83069605"
|
||||||
|
id="stop923" />
|
||||||
|
<stop
|
||||||
|
style="stop-color:#000000;stop-opacity:1;"
|
||||||
|
offset="1"
|
||||||
|
id="stop921" />
|
||||||
|
</linearGradient>
|
||||||
|
<radialGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
xlink:href="#linearGradient925"
|
||||||
|
id="radialGradient927"
|
||||||
|
cx="61.507626"
|
||||||
|
cy="103.71676"
|
||||||
|
fx="61.507626"
|
||||||
|
fy="103.71676"
|
||||||
|
r="37.458996"
|
||||||
|
gradientTransform="matrix(1.0848971,-0.01406165,0.0138466,1.0683051,-22.35128,-66.298143)"
|
||||||
|
gradientUnits="userSpaceOnUse" />
|
||||||
|
<filter
|
||||||
|
inkscape:collect="always"
|
||||||
|
style="color-interpolation-filters:sRGB"
|
||||||
|
id="filter978"
|
||||||
|
x="-0.01480182"
|
||||||
|
y="-0.01480182"
|
||||||
|
width="1.0296036"
|
||||||
|
height="1.0296036">
|
||||||
|
<feGaussianBlur
|
||||||
|
inkscape:collect="always"
|
||||||
|
stdDeviation="0.45032961"
|
||||||
|
id="feGaussianBlur980" />
|
||||||
|
</filter>
|
||||||
|
<radialGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
xlink:href="#linearGradient925"
|
||||||
|
id="radialGradient988"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
gradientTransform="matrix(1.0848971,-0.01406165,0.0138466,1.0683051,-170.87366,-73.433246)"
|
||||||
|
cx="61.507626"
|
||||||
|
cy="103.71676"
|
||||||
|
fx="61.507626"
|
||||||
|
fy="103.71676"
|
||||||
|
r="37.458996" />
|
||||||
|
<radialGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
xlink:href="#linearGradient925"
|
||||||
|
id="radialGradient992"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
gradientTransform="matrix(1.0848971,-0.01406165,0.0138466,1.0683051,-170.87366,-73.433246)"
|
||||||
|
cx="61.507626"
|
||||||
|
cy="103.71676"
|
||||||
|
fx="61.507626"
|
||||||
|
fy="103.71676"
|
||||||
|
r="37.458996" />
|
||||||
|
<radialGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
xlink:href="#linearGradient925"
|
||||||
|
id="radialGradient996"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
gradientTransform="matrix(1.0848971,-0.01406165,0.0138466,1.0683051,-170.87366,-73.433246)"
|
||||||
|
cx="61.507626"
|
||||||
|
cy="103.71676"
|
||||||
|
fx="61.507626"
|
||||||
|
fy="103.71676"
|
||||||
|
r="37.458996" />
|
||||||
|
</defs>
|
||||||
|
<g
|
||||||
|
inkscape:label="Layer 1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1">
|
||||||
|
<circle
|
||||||
|
style="mix-blend-mode:normal;fill:url(#radialGradient927);fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:4, 7.99999;paint-order:stroke fill markers;filter:url(#filter978)"
|
||||||
|
id="path234"
|
||||||
|
cx="46.295574"
|
||||||
|
cy="40.149464"
|
||||||
|
r="36.50872"
|
||||||
|
transform="matrix(3.1115622,0,0,3.1115622,5.288915,8.187228)" />
|
||||||
|
<circle
|
||||||
|
style="mix-blend-mode:normal;fill:url(#radialGradient988);fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:4, 7.99999;paint-order:stroke fill markers;filter:url(#filter978)"
|
||||||
|
id="circle986"
|
||||||
|
cx="-102.22681"
|
||||||
|
cy="33.014359"
|
||||||
|
r="36.50872"
|
||||||
|
transform="matrix(-0.80533158,3.0055383,-3.0055383,-0.80533158,163.1273,460.36095)" />
|
||||||
|
<circle
|
||||||
|
style="mix-blend-mode:normal;fill:url(#radialGradient992);fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:4, 7.99999;paint-order:stroke fill markers;filter:url(#filter978)"
|
||||||
|
id="circle990"
|
||||||
|
cx="-102.22681"
|
||||||
|
cy="33.014359"
|
||||||
|
r="36.50872"
|
||||||
|
transform="matrix(-2.4562477,-1.9101484,1.9101484,-2.4562477,-189.30339,20.919674)" />
|
||||||
|
<circle
|
||||||
|
style="mix-blend-mode:normal;fill:url(#radialGradient996);fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:4, 7.99999;paint-order:stroke fill markers;filter:url(#filter978)"
|
||||||
|
id="circle994"
|
||||||
|
cx="-102.22681"
|
||||||
|
cy="33.014359"
|
||||||
|
r="36.50872"
|
||||||
|
transform="matrix(-2.6962828,1.5530224,-1.5530224,-2.6962828,-89.765778,394.04656)" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 5.0 KiB |
|
|
@ -1,7 +1,8 @@
|
||||||
[gd_scene load_steps=3 format=3 uid="uid://bvowj4l8dtceu"]
|
[gd_scene load_steps=4 format=3 uid="uid://bvowj4l8dtceu"]
|
||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://dy5rd437h5hsw" path="res://logic-scenes/board/card.tscn" id="1_xrckx"]
|
[ext_resource type="PackedScene" uid="uid://dy5rd437h5hsw" path="res://logic-scenes/board/card.tscn" id="1_xrckx"]
|
||||||
[ext_resource type="PackedScene" uid="uid://vkcdj8c3ytbq" path="res://logic-scenes/board/post-it.tscn" id="2_ucudl"]
|
[ext_resource type="PackedScene" uid="uid://vkcdj8c3ytbq" path="res://logic-scenes/board/post-it.tscn" id="2_ucudl"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://dp4eps03igd3w" path="res://logic-scenes/board/void_card.tscn" id="3_10nsr"]
|
||||||
|
|
||||||
[node name="board of devs" type="Control"]
|
[node name="board of devs" type="Control"]
|
||||||
layout_mode = 3
|
layout_mode = 3
|
||||||
|
|
@ -170,7 +171,7 @@ offset_left = 318.0
|
||||||
offset_top = 13.0
|
offset_top = 13.0
|
||||||
offset_right = 618.0
|
offset_right = 618.0
|
||||||
offset_bottom = 113.0
|
offset_bottom = 113.0
|
||||||
text = ", that gives me a lot of confidence."
|
text = "..., that gives me a lot of confidence."
|
||||||
|
|
||||||
[node name="p_vent" parent="c_hit" instance=ExtResource("2_ucudl")]
|
[node name="p_vent" parent="c_hit" instance=ExtResource("2_ucudl")]
|
||||||
offset_left = 321.0
|
offset_left = 321.0
|
||||||
|
|
@ -179,21 +180,20 @@ offset_right = 621.0
|
||||||
offset_bottom = 215.0
|
offset_bottom = 215.0
|
||||||
text = "and that’s a great vent."
|
text = "and that’s a great vent."
|
||||||
|
|
||||||
[node name="c_backlash2" parent="." instance=ExtResource("1_xrckx")]
|
[node name="card" parent="." instance=ExtResource("3_10nsr")]
|
||||||
offset_left = 1338.0
|
offset_left = 1338.0
|
||||||
offset_top = 501.0
|
offset_top = 501.0
|
||||||
offset_right = 1638.0
|
offset_right = 1638.0
|
||||||
offset_bottom = 721.0
|
offset_bottom = 721.0
|
||||||
text = "Despite the backlash, I protected my friend "
|
|
||||||
|
|
||||||
[node name="p_wet" parent="c_backlash2" instance=ExtResource("2_ucudl")]
|
[node name="p_wet" parent="card" instance=ExtResource("2_ucudl")]
|
||||||
offset_left = 320.0
|
offset_left = 320.0
|
||||||
offset_top = 7.0
|
offset_top = 7.0
|
||||||
offset_right = 620.0
|
offset_right = 620.0
|
||||||
offset_bottom = 107.0
|
offset_bottom = 107.0
|
||||||
text = "… I was wet, so I must have been into it."
|
text = "… I was wet, so I must have been into it."
|
||||||
|
|
||||||
[node name="p_stop" parent="c_backlash2" instance=ExtResource("2_ucudl")]
|
[node name="p_stop" parent="card" instance=ExtResource("2_ucudl")]
|
||||||
offset_left = 323.0
|
offset_left = 323.0
|
||||||
offset_top = 109.0
|
offset_top = 109.0
|
||||||
offset_right = 623.0
|
offset_right = 623.0
|
||||||
|
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 151 KiB |
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bqilajx05t0eb"
|
||||||
|
path="res://.godot/imported/void_nomotion.png-feea4a00de7607ab1e264c944eff6917.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://logic-scenes/board/particle_textures/void_nomotion.png"
|
||||||
|
dest_files=["res://.godot/imported/void_nomotion.png-feea4a00de7607ab1e264c944eff6917.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,9 +1,10 @@
|
||||||
[gd_scene load_steps=17 format=3 uid="uid://dp4eps03igd3w"]
|
[gd_scene load_steps=20 format=3 uid="uid://dp4eps03igd3w"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://logic-scenes/board/card.gd" id="1_6ceun"]
|
[ext_resource type="Script" path="res://logic-scenes/board/card.gd" id="1_6ceun"]
|
||||||
[ext_resource type="Texture2D" uid="uid://sv0nhkkur1tt" path="res://logic-scenes/board/card-textures/cardsheet.png" id="2_buevv"]
|
[ext_resource type="Texture2D" uid="uid://sv0nhkkur1tt" path="res://logic-scenes/board/card-textures/cardsheet.png" id="2_buevv"]
|
||||||
[ext_resource type="Texture2D" uid="uid://kpmk21d8rlso" path="res://logic-scenes/board/particle_textures/star.png" id="3_8wu8j"]
|
[ext_resource type="Texture2D" uid="uid://kpmk21d8rlso" path="res://logic-scenes/board/particle_textures/star.png" id="3_8wu8j"]
|
||||||
[ext_resource type="Theme" uid="uid://b056fn288p8ha" path="res://logic-scenes/themes/messy.theme" id="3_mi4ah"]
|
[ext_resource type="Theme" uid="uid://b056fn288p8ha" path="res://logic-scenes/themes/messy.theme" id="3_mi4ah"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bqilajx05t0eb" path="res://logic-scenes/board/particle_textures/void_nomotion.png" id="4_jam8u"]
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ykk13"]
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ykk13"]
|
||||||
atlas = ExtResource("2_buevv")
|
atlas = ExtResource("2_buevv")
|
||||||
|
|
@ -51,20 +52,40 @@ animations = [{
|
||||||
[sub_resource type="GDScript" id="GDScript_8bs16"]
|
[sub_resource type="GDScript" id="GDScript_8bs16"]
|
||||||
script/source = "extends AnimatedSprite2D
|
script/source = "extends AnimatedSprite2D
|
||||||
|
|
||||||
func _ready():
|
@onready var particles = $GPUParticles2D
|
||||||
if not State.reduce_motion: play(\"default\")
|
@onready var initial_position = position
|
||||||
|
var noise_position = randf()
|
||||||
|
var noise: Noise = FastNoiseLite.new()
|
||||||
|
|
||||||
|
|
||||||
|
func _process(delta):
|
||||||
|
if not State.reduce_motion:
|
||||||
|
noise_position += delta * 10
|
||||||
|
|
||||||
|
var random_position = Vector2(noise.get_noise_1d(noise_position*2), noise.get_noise_1d(-noise_position))
|
||||||
|
|
||||||
|
random_position = random_position.normalized() * pow(random_position.length()*2, 3) * 5
|
||||||
|
|
||||||
|
position = initial_position - random_position
|
||||||
|
|
||||||
|
rotation = noise.get_noise_1d(noise_position*10) * random_position.length() * 0.01
|
||||||
|
|
||||||
|
particles.position = random_position
|
||||||
|
|
||||||
|
else: position = initial_position
|
||||||
"
|
"
|
||||||
|
|
||||||
[sub_resource type="Gradient" id="Gradient_v70nd"]
|
[sub_resource type="Gradient" id="Gradient_v70nd"]
|
||||||
offsets = PackedFloat32Array(0, 0.213483, 1)
|
interpolation_mode = 2
|
||||||
colors = PackedColorArray(1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0)
|
offsets = PackedFloat32Array(0, 0.0529197, 0.191606, 1)
|
||||||
|
colors = PackedColorArray(1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0.491329, 1, 1, 1, 0)
|
||||||
|
|
||||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_xxq8p"]
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_xxq8p"]
|
||||||
gradient = SubResource("Gradient_v70nd")
|
gradient = SubResource("Gradient_v70nd")
|
||||||
|
|
||||||
[sub_resource type="Curve" id="Curve_q6cmf"]
|
[sub_resource type="Curve" id="Curve_q6cmf"]
|
||||||
_data = [Vector2(0, 0.354545), 0.0, 0.117786, 0, 0, Vector2(1, 1), 2.34788, 0.0, 0, 0]
|
_data = [Vector2(0, 0), 0.0, 3.16529, 0, 0, Vector2(0.241056, 0.191336), 0.132446, 0.132446, 0, 0, Vector2(1, 1), 3.94797, 0.0, 0, 0]
|
||||||
point_count = 2
|
point_count = 3
|
||||||
|
|
||||||
[sub_resource type="CurveTexture" id="CurveTexture_cg0w1"]
|
[sub_resource type="CurveTexture" id="CurveTexture_cg0w1"]
|
||||||
curve = SubResource("Curve_q6cmf")
|
curve = SubResource("Curve_q6cmf")
|
||||||
|
|
@ -83,15 +104,31 @@ initial_velocity_max = 10.0
|
||||||
angular_velocity_max = 50.0
|
angular_velocity_max = 50.0
|
||||||
orbit_velocity_min = 0.0
|
orbit_velocity_min = 0.0
|
||||||
orbit_velocity_max = 0.0
|
orbit_velocity_max = 0.0
|
||||||
radial_accel_min = -50.0
|
radial_accel_min = -20.0
|
||||||
|
radial_accel_max = -5.0
|
||||||
|
tangential_accel_min = 20.0
|
||||||
|
tangential_accel_max = 30.0
|
||||||
|
scale_min = 2.0
|
||||||
|
scale_max = 2.0
|
||||||
scale_curve = SubResource("CurveTexture_cg0w1")
|
scale_curve = SubResource("CurveTexture_cg0w1")
|
||||||
color_ramp = SubResource("GradientTexture1D_xxq8p")
|
color_ramp = SubResource("GradientTexture1D_xxq8p")
|
||||||
turbulence_noise_strength = 0.1
|
turbulence_noise_strength = 0.1
|
||||||
anim_speed_min = 1.0
|
|
||||||
anim_speed_max = 1.0
|
|
||||||
anim_offset_max = 1.0
|
|
||||||
attractor_interaction_enabled = false
|
attractor_interaction_enabled = false
|
||||||
|
|
||||||
|
[sub_resource type="GDScript" id="GDScript_vjwk7"]
|
||||||
|
script/source = "extends GPUParticles2D
|
||||||
|
|
||||||
|
func _process(_delta):
|
||||||
|
self.visible = !State.reduce_motion
|
||||||
|
"
|
||||||
|
|
||||||
|
[sub_resource type="GDScript" id="GDScript_tgc0b"]
|
||||||
|
script/source = "extends Sprite2D
|
||||||
|
|
||||||
|
func _process(_delta):
|
||||||
|
self.visible = State.reduce_motion
|
||||||
|
"
|
||||||
|
|
||||||
[node name="card" type="Control"]
|
[node name="card" type="Control"]
|
||||||
layout_mode = 3
|
layout_mode = 3
|
||||||
anchors_preset = 0
|
anchors_preset = 0
|
||||||
|
|
@ -108,13 +145,24 @@ clip_children = 2
|
||||||
position = Vector2(150, 110)
|
position = Vector2(150, 110)
|
||||||
scale = Vector2(0.6, 0.6)
|
scale = Vector2(0.6, 0.6)
|
||||||
sprite_frames = SubResource("SpriteFrames_ckivt")
|
sprite_frames = SubResource("SpriteFrames_ckivt")
|
||||||
frame = 1
|
frame = 2
|
||||||
script = SubResource("GDScript_8bs16")
|
script = SubResource("GDScript_8bs16")
|
||||||
|
|
||||||
[node name="GPUParticles2D" type="GPUParticles2D" parent="BackgroundSprite"]
|
[node name="GPUParticles2D" type="GPUParticles2D" parent="BackgroundSprite"]
|
||||||
amount = 400
|
amount = 500
|
||||||
process_material = SubResource("ParticleProcessMaterial_by44l")
|
process_material = SubResource("ParticleProcessMaterial_by44l")
|
||||||
texture = ExtResource("3_8wu8j")
|
texture = ExtResource("3_8wu8j")
|
||||||
|
lifetime = 2.0
|
||||||
|
speed_scale = 1.3
|
||||||
|
explosiveness = 0.3
|
||||||
|
randomness = 0.14
|
||||||
|
script = SubResource("GDScript_vjwk7")
|
||||||
|
|
||||||
|
[node name="Sprite2D" type="Sprite2D" parent="BackgroundSprite"]
|
||||||
|
visible = false
|
||||||
|
scale = Vector2(0.4, 0.4)
|
||||||
|
texture = ExtResource("4_jam8u")
|
||||||
|
script = SubResource("GDScript_tgc0b")
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="."]
|
[node name="Label" type="Label" parent="."]
|
||||||
layout_mode = 1
|
layout_mode = 1
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=10 format=3]
|
[gd_scene load_steps=10 format=3 uid="uid://gldtxysavetf"]
|
||||||
|
|
||||||
[ext_resource type="Texture2D" uid="uid://d0ucjqi8tx6vt" path="res://logic-scenes/startup/start_frame.png" id="1_8giso"]
|
[ext_resource type="Texture2D" uid="uid://d0ucjqi8tx6vt" path="res://logic-scenes/startup/start_frame.png" id="1_8giso"]
|
||||||
[ext_resource type="Theme" uid="uid://b056fn288p8ha" path="res://logic-scenes/themes/messy.theme" id="1_b01tw"]
|
[ext_resource type="Theme" uid="uid://b056fn288p8ha" path="res://logic-scenes/themes/messy.theme" id="1_b01tw"]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue