Where does RGSS3 draw? I see a lot of update methods, but never any place where a draw call is explicitly called?
RGSS3: Where are all the draw methods?
Learning Ruby and RGSSxLook up the
Graphics module, in particular Graphics.update, or the Bitmap class depending on the draw target.in each object's own creation function.
objects are drawn one time: at the beginning.
they're only redrawn when needed, as unnecessary redrawing consumes resources.
objects are drawn one time: at the beginning.
they're only redrawn when needed, as unnecessary redrawing consumes resources.
What you need to keep in mind is that in RGSS3 the very top-level methods are built-in and aren't visible in the script editor, so you can't see them or their implementations.
Except for classes like RPG::Sprite that can be found in the Help section or CHM file.
Right, but that's not what OP was asking about so I didn't see a need to specify.
Thank you for the detailed answer!
To be more precise, they will be redrawn for sure every single frame. Engines try to skip redrawing stuff for not having changed at all, but deep in the core of its system it still depends heavily on the OS's choice of whether redrawing it now... or not. And sometimes the OS wins the fight and gets away with it scot free.
Original thread: https://forums.rpgmakerweb.com/threads/rgss3-where-are-all-the-draw-methods.153364/