flixel icon indicating copy to clipboard operation
flixel copied to clipboard

RenderFrontEnd

Open Geokureli opened this issue 1 year ago • 2 comments

  • Adds FlxG.render.pixelMode. Possible values:
    • PIXELATED: Sets all rendering options to be pixel-perfect
    • SMOOTH: Enabled anti-Aliasing, disables pixel-perfect
    • CUSTOM: The default value, changes nothing
  • Adds FlxG.render.tile and blit to replace FlxG.renderTile and renderBlit

To Do

  • [ ] Rethink these names
  • [ ] add a pixel shader?

Geokureli avatar Dec 23 '24 03:12 Geokureli

Maybe renderTile could be renamed to renderQuads or something as the old name is a remnant from when Flixel used OpenFL's tilesheet for rendering (could also rename the flixel.graphics.tile package to something like flixel.graphics.render or flixel.graphics.draw for consistency)

ACrazyTown avatar Dec 23 '24 12:12 ACrazyTown

Maybe renderTile could be renamed to renderQuads or something as the old name is a remnant from when Flixel used OpenFL's tilesheet for rendering (could also rename the flixel.graphics.tile package to something like flixel.graphics.render or flixel.graphics.draw for consistency)

It was actually requested that I look into openfl's tilemaps, as they have been working on them as of late

Also I think "quad" isn't accurate because it can either be quads or triangles

Geokureli avatar Dec 23 '24 15:12 Geokureli