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

Pathfinding and walking tests #10

Open
ivan-mogilko opened this issue Jun 18, 2024 · 0 comments
Open

Pathfinding and walking tests #10

ivan-mogilko opened this issue Jun 18, 2024 · 0 comments

Comments

@ivan-mogilko
Copy link
Contributor

ivan-mogilko commented Jun 18, 2024

Walking / moving test:

  • order object or character to move with certain speed
  • loop with wait(1), and test that new position matches expectations on each game tick.
  • for characters, optionally, test that new loop matches expectation (depends on dir).

Do this test for:

  • room object moving along a straight horizontal, vertical and diagonal line (testing different speed ratios).
  • character doing same.
  • character walking along some path, testing that loops change as it turns.
    in ags4 this last test may be done using newest WalkPath command, but in ags3 we will need a walkable mask set properly to achieve different walking directions.

May do this for very short ranges to avoid test taking long time.
EDIT: or run with very high FPS (GameSpeed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant