by AFADoomer » Sat May 10, 2025 10:11 am
Requesting the ability to define canvas textures via ZScript instead of being limited to ANIMDEFS-defined values.
Maybe a new function under the Canvas class and lifting the code from ParseCameraTexture?
native static Canvas Create(String canvasname, int width, int height, int offsetx = 0, int offsety = 0, int usetype = TexMan.Type_Wall);
Requesting the ability to define canvas textures via ZScript instead of being limited to ANIMDEFS-defined values.
Maybe a new function under the Canvas class and lifting the code from ParseCameraTexture?
[c]native static Canvas Create(String canvasname, int width, int height, int offsetx = 0, int offsety = 0, int usetype = TexMan.Type_Wall);[/c]