Ruin0x11 / OpenNefia

(Archived) Moddable engine reimplementation of the Japanese roguelike Elona.
MIT License
115 stars 18 forks source link

Screen scrolling (α version) #353

Closed Ruin0x11 closed 2 years ago

Ruin0x11 commented 2 years ago

Purpose of this PR

Related issues

195.

Description

Mostly implements screen scrolling, but the implementation still has some issues to work out. It may require a significant overhaul of the tile renderer to work because its architecture doesn't seem to play well with sub-tile coordinate resolution.

Still, it's a nice effect, so I want it in anyways as a purely motivating factor. It's disabled by default to avoid throwing anyone else off.

There are two rendering modes: one for 60FPS scrolling and one that emulates HSP Elona's scrolling. There is also a new option to scroll all characters that move during a turn, not just the player.