Dev 0.1
* Structure de l'histoire principale * Line sur le perso principal * Agrandissement de la zone de détection des cellules * Ajout du spray de Talion (+1 points de plante de base) * Ajout de feedback sur l'usage des cellules d'énergie
This commit is contained in:
BIN
entities/player/assets/sprites/robot_big_line.png
Normal file
BIN
entities/player/assets/sprites/robot_big_line.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 424 KiB |
40
entities/player/assets/sprites/robot_big_line.png.import
Normal file
40
entities/player/assets/sprites/robot_big_line.png.import
Normal file
@@ -0,0 +1,40 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cwjixsd8nssnl"
|
||||
path="res://.godot/imported/robot_big_line.png-5ca66c48d2c95407c22b892fe8eab474.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://entities/player/assets/sprites/robot_big_line.png"
|
||||
dest_files=["res://.godot/imported/robot_big_line.png-5ca66c48d2c95407c22b892fe8eab474.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
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/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
entities/player/assets/sprites/robot_big_line.png~
Normal file
BIN
entities/player/assets/sprites/robot_big_line.png~
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 312 KiB |
@@ -15,9 +15,9 @@ const DOOR_ICON = preload("res://common/icons/logout.svg")
|
||||
const PLANT_ICON = preload("res://common/icons/seedling.svg")
|
||||
const SOUND_SOURCE : AudioStreamMP3 = preload("res://common/audio_manager/assets/sfx/signal/signal.mp3")
|
||||
const SOUND_BASE_PITCH = 1.
|
||||
const SOUND_NIVEL_LEVEL = 6
|
||||
const SOUND_NIVEL_LEVEL = 8
|
||||
|
||||
const CELL_DETECTION_MAX_DISTANCE = 2000.
|
||||
const CELL_DETECTION_MAX_DISTANCE = 3000.
|
||||
const CELL_DETECTION_COLOR : Color = Color("#ff006e")
|
||||
const CELL_DETECTION_MAX_PITCH = 1.5
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
[ext_resource type="Script" uid="uid://das7twcy5153p" path="res://entities/player/scripts/player.gd" id="1_abrql"]
|
||||
[ext_resource type="Texture2D" uid="uid://dompaj451gklw" path="res://entities/player/assets/sprites/movement_particles.png" id="2_bls4j"]
|
||||
[ext_resource type="Texture2D" uid="uid://ys5fis3gsnoy" path="res://entities/player/assets/sprites/shadow.png" id="2_fkugw"]
|
||||
[ext_resource type="Texture2D" uid="uid://c7ff87jniga5m" path="res://entities/player/assets/sprites/robot.png" id="4_bls4j"]
|
||||
[ext_resource type="Texture2D" uid="uid://cwjixsd8nssnl" path="res://entities/player/assets/sprites/robot_big_line.png" id="3_26q78"]
|
||||
[ext_resource type="Texture2D" uid="uid://drgl0d51d4cf7" path="res://entities/player/assets/sprites/radial-gradient.png" id="5_8fjmc"]
|
||||
[ext_resource type="Script" uid="uid://b1mmtgmi5oq86" path="res://entities/player/scripts/player_sprite.gd" id="5_fkugw"]
|
||||
[ext_resource type="Texture2D" uid="uid://51255tpyl6vj" path="res://common/icons/no-bolt.svg" id="7_26q78"]
|
||||
@@ -27,101 +27,101 @@ fill = 1
|
||||
fill_from = Vector2(0.5, 0.5)
|
||||
fill_to = Vector2(0.5, 0)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_fkugw"]
|
||||
atlas = ExtResource("4_bls4j")
|
||||
region = Rect2(3048, 0, 762, 1080)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_8fjmc"]
|
||||
atlas = ExtResource("4_bls4j")
|
||||
region = Rect2(3810, 0, 762, 1080)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_qiwj3"]
|
||||
atlas = ExtResource("4_bls4j")
|
||||
region = Rect2(2286, 0, 762, 1080)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_26q78"]
|
||||
atlas = ExtResource("4_bls4j")
|
||||
region = Rect2(0, 0, 762, 1080)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_bectd"]
|
||||
atlas = ExtResource("4_bls4j")
|
||||
region = Rect2(5334, 0, 762, 1080)
|
||||
atlas = ExtResource("3_26q78")
|
||||
region = Rect2(1388, 0, 347, 347)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_wvtmh"]
|
||||
atlas = ExtResource("4_bls4j")
|
||||
region = Rect2(762, 0, 762, 1080)
|
||||
atlas = ExtResource("3_26q78")
|
||||
region = Rect2(1735, 0, 347, 347)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_7thud"]
|
||||
atlas = ExtResource("4_bls4j")
|
||||
region = Rect2(4572, 0, 762, 1080)
|
||||
atlas = ExtResource("3_26q78")
|
||||
region = Rect2(1041, 0, 347, 347)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_a1qjk"]
|
||||
atlas = ExtResource("4_bls4j")
|
||||
region = Rect2(1524, 0, 762, 1080)
|
||||
atlas = ExtResource("3_26q78")
|
||||
region = Rect2(0, 0, 347, 347)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_j3ovn"]
|
||||
atlas = ExtResource("3_26q78")
|
||||
region = Rect2(2429, 0, 347, 347)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_afbqv"]
|
||||
atlas = ExtResource("3_26q78")
|
||||
region = Rect2(347, 0, 347, 347)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_gx6sm"]
|
||||
atlas = ExtResource("3_26q78")
|
||||
region = Rect2(2082, 0, 347, 347)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_yqrof"]
|
||||
atlas = ExtResource("3_26q78")
|
||||
region = Rect2(694, 0, 347, 347)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_a1qjk"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_fkugw")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"back",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_8fjmc")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"back_left",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_qiwj3")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"back_right",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_26q78")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"front",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_bectd")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"front_left",
|
||||
"loop": 1,
|
||||
"name": &"back",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_wvtmh")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"front_right",
|
||||
"loop": 1,
|
||||
"name": &"back_left",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_7thud")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"left",
|
||||
"loop": 1,
|
||||
"name": &"back_right",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_a1qjk")
|
||||
}],
|
||||
"loop": true,
|
||||
"loop": 1,
|
||||
"name": &"front",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_j3ovn")
|
||||
}],
|
||||
"loop": 1,
|
||||
"name": &"front_left",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_afbqv")
|
||||
}],
|
||||
"loop": 1,
|
||||
"name": &"front_right",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_gx6sm")
|
||||
}],
|
||||
"loop": 1,
|
||||
"name": &"left",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_yqrof")
|
||||
}],
|
||||
"loop": 1,
|
||||
"name": &"right",
|
||||
"speed": 5.0
|
||||
}]
|
||||
@@ -130,7 +130,7 @@ animations = [{
|
||||
blend_mode = 1
|
||||
|
||||
[sub_resource type="Curve" id="Curve_fkugw"]
|
||||
_data = [Vector2(0, 0.14473677), 0.0, 0.0, 0, 0, Vector2(0.972549, 0.2654798), 0.0, 0.0, 0, 0]
|
||||
_data = [Vector2(0.006711416, 0.21238941), 0.0, 0.0, 0, 0, Vector2(1, 0.5083333), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_bls4j"]
|
||||
@@ -142,7 +142,7 @@ length = 0.001
|
||||
tracks/0/type = "bezier"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:position:y")
|
||||
tracks/0/path = NodePath(".:offset:y")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
@@ -157,12 +157,12 @@ loop_mode = 1
|
||||
tracks/0/type = "bezier"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:position:y")
|
||||
tracks/0/path = NodePath(".:offset:y")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"handle_modes": PackedInt32Array(2, 2),
|
||||
"points": PackedFloat32Array(-1097.2793, 0, 0, 0, -139.75659, -1097.2793, 0, -112.66321, 0, 0),
|
||||
"points": PackedFloat32Array(0, -0.24854341, 55.161533, 0.2, -44.387848, 0, -0.23333335, -52.649887, 0, 0),
|
||||
"times": PackedFloat32Array(0, 1)
|
||||
}
|
||||
|
||||
@@ -314,13 +314,13 @@ texture = SubResource("GradientTexture2D_26q78")
|
||||
[node name="PlayerSprite" type="AnimatedSprite2D" parent="." unique_id=638545037]
|
||||
unique_name_in_owner = true
|
||||
position = Vector2(0.99999994, -17)
|
||||
scale = Vector2(0.0656168, 0.065616846)
|
||||
scale = Vector2(0.221, 0.221)
|
||||
sprite_frames = SubResource("SpriteFrames_a1qjk")
|
||||
animation = &"front_left"
|
||||
frame_progress = 0.15805355
|
||||
offset = Vector2(0, -370)
|
||||
animation = &"left"
|
||||
frame_progress = 0.2383069
|
||||
offset = Vector2(0, -150)
|
||||
script = ExtResource("5_fkugw")
|
||||
wanted_orientation = 2
|
||||
wanted_orientation = 7
|
||||
|
||||
[node name="Light" type="Sprite2D" parent="PlayerSprite" unique_id=1768327734]
|
||||
modulate = Color(0.70603025, 0.5959886, 0.33971557, 0.09019608)
|
||||
@@ -331,8 +331,7 @@ texture = ExtResource("5_8fjmc")
|
||||
|
||||
[node name="CPUParticles2D" type="CPUParticles2D" parent="PlayerSprite" unique_id=1489736082]
|
||||
z_index = -1
|
||||
position = Vector2(-15.239999, -60.95996)
|
||||
scale = Vector2(3.4752407, 3.4752383)
|
||||
position = Vector2(-4.5248866, -46.816402)
|
||||
amount = 3
|
||||
texture = ExtResource("2_bls4j")
|
||||
lifetime = 0.4
|
||||
@@ -343,8 +342,8 @@ color_ramp = SubResource("Gradient_bls4j")
|
||||
[node name="NoEnergyLeftIcon" type="Sprite2D" parent="PlayerSprite" unique_id=1059424679]
|
||||
unique_name_in_owner = true
|
||||
modulate = Color(1, 0, 0.43137255, 1)
|
||||
position = Vector2(-15.239998, 0)
|
||||
scale = Vector2(10.16, 10.16)
|
||||
position = Vector2(-4.5248866, -377.13315)
|
||||
scale = Vector2(3, 3)
|
||||
texture = ExtResource("7_26q78")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="PlayerSprite/NoEnergyLeftIcon" unique_id=390014722]
|
||||
|
||||
Reference in New Issue
Block a user