pawbyte / Game-Pencil-Engine-Editor

Game Pencil Engine a game engine written from the ground up.
https://gamepencil.net/
MIT License
101 stars 20 forks source link

Render Texture Quads #155

Closed nhurde closed 6 months ago

nhurde commented 6 months ago

This implementation will be nearly 1:1 for Sprite/Animation Render Texture Quads, the main difference is that it can or not accept a sub-rectangle or kept null for the full width of the texture.

Texture target may not need to be changed since it's rendering the texture itself.

nhurde commented 6 months ago

Merged via https://github.com/pawbyte/Game-Pencil-Engine-Editor/pull/159

Module implementations would be next.

nhurde commented 6 months ago

Re-opened issue. Should just rename the overloaded function to render_tex_quad_clipped for the clipped version. render_tex_quad existed already, was mistakenly looking for render_quad signature to be more of a 1:1 with sprite, but function names can differ.