Posted April 23, 2024 by Foxy Of Jungle
#v1.2
This is almost a rewrite of the system! Without affecting its previous behaviour. Now there is no longer that annoying problem of screen flashing to black when resizing the window, among others. Check out:
[ADDED] HTML5 support. [ADDED] HDR Mode can now be enabled or disable in runtime, using the .SetEnable() method/function. [FIXED] Issue where when resizing the window or changing resolution, the screen turns into black very quickly. [FIXED] Much better performance! now using only ~0.01ms (with a single view) on VM Windows. [FIXED] .SetInputSurface() was not working correctly because the internal input variable was always being reset later. [FIXED] Optimized memory usage if you only use 1 view, avoiding creating two identical surfaces. [FIXED] Better explanations in some parts of the code. [CHANGED] Now the asset does not automatically disable application_surface drawing, only when HDR Mode is activated. This allows you to easily switch back to using application_surface at any time by simply setting HDR_ENABLE to false. [CHANGED] Now surfaces are recreated when changing rooms, preventing ghosting issues.
Thanks for listening! :D