Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TASK - Implement enemy movement patterns #10

Open
8 of 12 tasks
mfreidel opened this issue Aug 19, 2022 · 0 comments
Open
8 of 12 tasks

TASK - Implement enemy movement patterns #10

mfreidel opened this issue Aug 19, 2022 · 0 comments
Labels
enemy component Related to the "Enemy" object task A planned project task
Milestone

Comments

@mfreidel
Copy link
Contributor

mfreidel commented Aug 19, 2022

When enemies spawn in, they should move around the screen a little bit and then move away.

Pre-flight Checklist

Verify all before submitting

  • I have performed and documented some basic research and planning before opening this task.
  • This task implements a new core feature, or substantially alters an existing one.
  • I have confirmed that this is not a duplicate task.
  • I have confirmed that this task is not already being worked on or completed.
  • This issue has an assignee.
  • This issue is assigned to the learn2shmup project.
  • This issue is assigned to the appropriate milestone in GitHub.
  • This issue has appropriate labels to identify components this may alter.
  • I have read, selected, and verified the above checkmarks accurately.

Sub-tasks

Smaller individual tasks required for completion:

  • Implement feature
  • Write documentation and/or notes
  • Manual testing

Planned procedure

Chronological list of planned work:

  1. Create Enemy/path0.tscn to serve as a generic reusable path.
  2. Add path0.tscn to the enemy spawning process.
  3. 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

  1. API Reference page for Path2D
  2. More info about paths and curves
  3. Very short video showing how it is used
@mfreidel mfreidel added this to the Version 0.1.x milestone Aug 19, 2022
@mfreidel mfreidel moved this from Backlog to Waiting in learn2shmup Aug 20, 2022
@mfreidel mfreidel moved this from Waiting to Backlog in learn2shmup Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enemy component Related to the "Enemy" object task A planned project task
Projects
Status: Backlog
Development

No branches or pull requests

1 participant