Dev 0.2.0
* Ajout de la déblocage des mutation du mode infini dans le mode histoire * Ajout de plus de caverne * Rework de l'emplacement des distributeurs/cavernes * Rework de l'influence, plus de clarté sur les plantes influencées * 4 d'inventaire dans le mode infini * Fix du tuto de mouvement en 3D * Déblocage de toutes le mutations à la fin du jeu * Fix de bug de chargelent de scène multiple
This commit is contained in:
@@ -30,8 +30,6 @@ func _ready():
|
||||
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
|
||||
set_room_part_number()
|
||||
|
||||
arrive_player()
|
||||
|
||||
func spawn_player():
|
||||
chosen_incubator_id = randi_range(0, len(%Incubators.get_children()) - 1)
|
||||
var new_player_incubator := %Incubators.get_children()[chosen_incubator_id] as Incubator
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -67,7 +67,7 @@ func update_dialogs():
|
||||
phone_dialogs.append(story_dialog)
|
||||
|
||||
|
||||
if len(phone_dialogs):
|
||||
if len(phone_dialogs) and Dialogic.current_timeline == null:
|
||||
await get_tree().create_timer(randf_range(0.5,3.)).timeout
|
||||
ring_phone()
|
||||
|
||||
|
||||
@@ -46,6 +46,7 @@ func get_incubators() -> Array[Incubator]:
|
||||
return incubators
|
||||
|
||||
func _on_exit_clicked():
|
||||
%Exit.interactable = false
|
||||
if dead_orchid:
|
||||
GameInfo.game_data.dead_orchid_position = dead_orchid.position
|
||||
GameInfo.game_data.dead_orchid_rotation = dead_orchid.rotation
|
||||
|
||||
@@ -437,6 +437,7 @@ unique_name_in_owner = true
|
||||
custom_maximum_size = Vector2(-1, 1080)
|
||||
layout_mode = 2
|
||||
stream = ExtResource("8_ovhgo")
|
||||
volume_db = -10.0
|
||||
expand = true
|
||||
bus = &"Sfx"
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
extends Sprite2D
|
||||
class_name PlantGrid
|
||||
|
||||
const GRID_SHIFT : int = roundi(Region.TILE_SIZE / 3.)
|
||||
const GRID_SHIFT : int = roundi(Region.TILE_SIZE / 2.)
|
||||
const GRID_SIZE : int = Region.TILE_SIZE
|
||||
const POINT_RADIUS : int = 5
|
||||
const POINT_COLOR : Color = Color.WHITE
|
||||
const POINT_VISIBILITY_RADIUS : int = 200
|
||||
const POINT_FULL_OPACITY_RADIUS : int = 100
|
||||
const POINT_RANDOM_SHIFT = roundi(Region.TILE_SIZE / 2.)
|
||||
const POINT_RANDOM_SHIFT = roundi(Region.TILE_SIZE / 3.)
|
||||
|
||||
const REFRESH_TIME : float = 2.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user