When enemies spawn in, they should move around the screen a little bit and then move away.
Pre-flight Checklist
Verify all before submitting
Sub-tasks
Smaller individual tasks required for completion:
Planned procedure
Chronological list of planned work:
- Create Enemy/path0.tscn to serve as a generic reusable path.
- Add path0.tscn to the enemy spawning process.
- After traversing the path, make enemy exit the screen to de-spawn.
Task research, planning and notes
The easiest method seems to be using the Path2D node. This allows you to draw a path which can be followed using the PathFollow2D node.
Links
- API Reference page for Path2D
- More info about paths and curves
- Very short video showing how it is used
When enemies spawn in, they should move around the screen a little bit and then move away.
Pre-flight Checklist
Sub-tasks
Smaller individual tasks required for completion:
Planned procedure
Chronological list of planned work:
Task research, planning and notes
The easiest method seems to be using the
Path2Dnode. This allows you to draw a path which can be followed using thePathFollow2Dnode.Links