Chris' Tutorials
Docs/Item Vault

Class

SpawnMoveInitializer2D

Generated GDScript class reference for ItemVault.SpawnMoveInitializer2D.

StatusDraft
Versionv1.0
UpdatedDevelopment docs generated from GDScript source

This is unreleased documentation in active development. APIs, class names, and behavior may change before the final release.

Draft — Unreleased:This page is in active development. APIs, class names, and behavior may change before the release is finalized. Use it as a preview of what's coming — not as a stable integration target.

Source: addons/item_vault/scene_spawner/2d/move_on_spawn_2d.gd

Syntax

class SpawnMoveInitializer2D extends Node

Members

NameKindSummary
spawnerPropertyAttaches a MoveOnSpawn component to scenes spawned by a SceneSpawner2D, enabling them to move in a direction for a set duration after instantiation. The spawner this script is attaching itself to the spawned signal for. When the spawner spawns a scene, this script will trigger by adding a MoveOnSpawn Node to the spawned scene.
settingsPropertySettings that describe how a SpawnMoveInitializer2D should behave.
spawner_nodeProperty
instanceProperty
spawner_posProperty
instance_posProperty
move_directionProperty
move_on_spawnProperty
node_to_movePropertyA component that moves its parent node in a specified direction for a set duration.
settingsProperty
move_directionProperty
remove_on_stopProperty
movingProperty
time_since_launchProperty
start_posProperty
time_progressProperty
current_sampleProperty

Source

addons/item_vault/scene_spawner/2d/move_on_spawn_2d.gd

Plugin docs root:gdscript/plugins/item_vault_dev/addons/item_vault/guides