Rotating character and object graphics #995
Labels
ags 4
related to the ags4 development
context: graphics
context: script api
type: enhancement
a suggestion or necessity to have something improved
Sometimes, I find myself in need of rotating sprites in AGS.
In AGS though, the ags object graphics is defined by either their graphic property or the current view applied (along with frame and loop), and a character has a view set, that also decides which sprite to use for that character (again, depending on that character frame and loop). Thus, for me, rotating sprites in an AGS script api level, belongs either to the view or the viewframe - I would argue the view itself is better.
For the backend implementation of this, it appears it's best to have #968 and #967 solved so that the code is simpler to deal with.
I also found an alternative algorithm for CPU based rendering that could work IF rotated sprites were to be supported by software renderer at all (or if it still existed). https://www.ocf.berkeley.edu/~fricke/projects/israel/paeth/rotation_by_shearing.html
The text was updated successfully, but these errors were encountered: