modification de l'UI en 3D et renommage des particules
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://dadg6o6dl2k6t"
|
||||
path="res://.godot/imported/ship_music.ogg-9496fd8314c31c04e252e4204e84e292.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/morceaux/autres/ship_music.ogg"
|
||||
dest_files=["res://.godot/imported/ship_music.ogg-9496fd8314c31c04e252e4204e84e292.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://dadg6o6dl2k6t"
|
||||
path="res://.godot/imported/truck_music.ogg-71e4f19f9a59a19e62e72df06380f7df.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/morceaux/autres/truck_music.ogg"
|
||||
dest_files=["res://.godot/imported/truck_music.ogg-71e4f19f9a59a19e62e72df06380f7df.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://bg7jmrwdgdqg4"]
|
||||
[gd_scene format=3 uid="uid://bg7jmrwdgdqg4"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://baaujfw8piywi" path="res://common/icons/dna.svg" id="1_88fy1"]
|
||||
[ext_resource type="Script" uid="uid://bddlpqlfrydn8" path="res://common/vfx/particles/scripts/particles.gd" id="1_faap1"]
|
||||
[ext_resource type="Texture2D" uid="uid://baaujfw8piywi" path="res://common/icons/dna.svg" id="1_d4jao"]
|
||||
[ext_resource type="Script" uid="uid://bddlpqlfrydn8" path="res://common/vfx/particles/scripts/effect_particles.gd" id="2_u4sse"]
|
||||
|
||||
[sub_resource type="Curve" id="Curve_xmi7c"]
|
||||
_limits = [-200.0, 200.0, 0.0, 1.0]
|
||||
@@ -16,9 +16,9 @@ point_count = 2
|
||||
offsets = PackedFloat32Array(0, 0.80172414, 1)
|
||||
colors = PackedColorArray(1, 1, 1, 0.65882355, 1, 1, 1, 0.72156864, 1, 1, 1, 0)
|
||||
|
||||
[node name="Particles" type="CPUParticles2D"]
|
||||
[node name="Particles" type="CPUParticles2D" unique_id=222001900]
|
||||
amount = 1
|
||||
texture = ExtResource("1_88fy1")
|
||||
texture = ExtResource("1_d4jao")
|
||||
randomness = 0.3
|
||||
emission_shape = 1
|
||||
emission_sphere_radius = 30.0
|
||||
@@ -30,4 +30,4 @@ scale_amount_min = 0.4
|
||||
scale_amount_max = 0.6
|
||||
scale_amount_curve = SubResource("Curve_22a4c")
|
||||
color_ramp = SubResource("Gradient_li6gc")
|
||||
script = ExtResource("1_faap1")
|
||||
script = ExtResource("2_u4sse")
|
||||
12
common/vfx/particles/explosion_particles.tscn
Normal file
12
common/vfx/particles/explosion_particles.tscn
Normal file
@@ -0,0 +1,12 @@
|
||||
[gd_scene format=3 uid="uid://drf23tyb65cpc"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://rdrhi3r11ey6" path="res://common/icons/square-rounded.svg" id="1_60vma"]
|
||||
|
||||
[node name="ExplosionParticles" type="CPUParticles2D" unique_id=1558673457]
|
||||
emitting = false
|
||||
texture = ExtResource("1_60vma")
|
||||
one_shot = true
|
||||
direction = Vector2(0, -10)
|
||||
spread = 60.41
|
||||
initial_velocity_min = 156.29
|
||||
initial_velocity_max = 252.19
|
||||
@@ -1,5 +1,5 @@
|
||||
extends CPUParticles2D
|
||||
class_name Particles
|
||||
class_name EffectParticles
|
||||
|
||||
func setup_particles(param : Parameters):
|
||||
texture = param.texture
|
||||
Reference in New Issue
Block a user