gmuGADIG / FetchQuest

woof woof (Game created by GMU GADIG in Fall 2024)
8 stars 0 forks source link

Scene entrance points #130

Open Justin1L8 opened 6 days ago

Justin1L8 commented 6 days ago

When the player goes to a new scene, the player could be spawned in multiple positions, depending on which door they took.

You'll want to add this into level_base.tscn, since it applies to every level scene. User-friendliness is very important in creating the entry-points, since design team will be interacting with it. (possible implementation: each world scene has an EntryPoints node, and all Node2D children of that node are entry points. when specifying an entry point, you could use the name of a node) Since this involves carrying information between scenes, you'll need to use a static variable or an autoload.