UQdeco2800 / 2022-studio-2

MIT License
5 stars 1 forks source link

Player Sprite Artefacts #315

Open IsaacGraham128 opened 1 year ago

IsaacGraham128 commented 1 year ago

Description

Lines present on the edges of the player sprite.

How To Reproduce

Steps to reproduce the behaviour:

  1. Ensure game is in full screen
  2. Press start
  3. Notice lines on character
  4. Walk up (top line disappears)
  5. Walk left (left line disappears)
  6. Walk down (top line darkens)
  7. Walk right (left line darkens)

Expected Behaviour

Edges around the player sprite. They either darken when a player moves in the direction of the opposite side or disappear if moving towards the edge.

Screenshots

image

Additional Context

Unsure of the cause. Could potentially be a sprite misalignment?

Temporary Fix

No temporary fix.

IsaacGraham128 commented 1 year ago

Unable to fix this bug, was unable to identify the cause and find a solution. Suspect it may be due to misaligned hitboxes, asset loading issues, or the player sprite drawing component misaligned the sprite.