Skip to content

TagsExt.PixelHUD #1007

@SunsetQuasar

Description

@SunsetQuasar

I am planning on implementing this myself

No

Describe your request

A tag that allows rendering entities above everything except for the HUD and SubHUD layers, but with a 320x180 resolution just like regular entities.

I've had many instances where I would like a HUD kind of entity above everything else, but that has exposed a few problems:

  • No matter how low the entity's Depth is, it is always rendered below FG Stylegrounds.
  • Non-HUD entities are always affected by darkness, which is not ideal for this kind of entity.
  • HUD entities have linear filtering, which prevents a simple 6x scale fix. Changing the SamplerState not only still doesn't look 100% pixelated under certain window scales such as 4x, but also requires ending the current SpriteBatch.

The current best fix is by rendering the entity as a styleground, which is something that would need a separate implementation for every single helper that intends on making pixelated HUD elements, so Everest PR it is.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions