Skip to content

Improve scrolling #243

@odecay

Description

@odecay

Description

Currently, the scrolling logic is simplistic - it moves forward once one player reaches a certain threshold, unless something is holding back, e.g. the other player is on the left edge (see video).

The logic needs to be improved to work like a real beat'em up:

  • it should follow the player once it reaches a certain threshold, like it's now (although Final Fight's threshold is the center of the screen, for example)
  • it should be blocked if there is a blocker
    • a player on the left edge (like it's now)
    • a boss encounter
  • when blocked, players should be allowed to move across the whole screen
  • when not blocked, it should catch up, if needed.
2022-08-29.13-17-15.mp4

Metadata

Metadata

Assignees

Labels

scope:undeterminedUndetermined size, needs investigation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions