Advanced Doodads (Conveyer Belts) #43
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SketchyMaze/doodle#43
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Brainstorming ideas to support "advanced doodads" such as:
Companion Doodad
The Doodad data struct could add top-level storage for a "Companion Doodad" where it would name a doodad that it should be created with, and linked to, when dropped into your level for the first time.
Example:
The Companion Doodad data would contain:
Movable Platform
These would be platforms you drag into your level which move back and forth between two locations.
There would be two doodads involved:
Dragging a Platform into your level will bring its own Target companion, already linked together. The player drags the two where they want the platform to start and end, and the platform will move between the two points during gameplay.
Conveyer Belt
The Doodad in the drawer will be called Conveyer Belt Wheel and you should drag two of them into your level and link them together.
Somehow, the belt between the wheels will need to be drawn. This may be doable by exposing the Strokes API of the Canvas to the JavaScript engine, so a doodad could draw simple lines using the same system that draws links in the Editor Mode.
It might look silly in the level editor though.