-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
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.
IMPORTANT: do SetGameSpeed(1000) in order to maximize fps for this test, as we don't need real-time test, but a logical test of game updates.
Metadata
Metadata
Assignees
Labels
No labels