Skip to content
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.

[BUG] Image files cannot be loaded as SaltyVolatileImage #28

Open
sanj0 opened this issue Jul 3, 2019 · 4 comments
Open

[BUG] Image files cannot be loaded as SaltyVolatileImage #28

sanj0 opened this issue Jul 3, 2019 · 4 comments
Assignees
Labels
bug Something isn't working TODO A todo item

Comments

@sanj0
Copy link
Owner

sanj0 commented Jul 3, 2019

Describe the bug
You cannot load image files (e.g. the SpriteSheets in the testing package) as SaltyVolatileImages, however, all the other images (lights, and the final render) are shwon as usual.

To Reproduce
Steps to reproduce the behavior:

  1. Set SaltySystem#preferredImageType to ImageType.VOLATILE
  2. Run testing.Tester

Expected behavior
The exact same thing as with ImageType.BUFFERED

Screenshots
Bildschirmfoto 2019-07-03 um 07 29 44

Desktop:

  • OS: MacOS

Additional context
Running 0.14.16-local

@sanj0 sanj0 added the bug Something isn't working label Jul 3, 2019
@sanj0 sanj0 self-assigned this Jul 3, 2019
@sanj0 sanj0 changed the title [BUG] Image files canot be loaded as SaltyVolativeImage [BUG] Image files cannot be loaded as SaltyVolativeImage Jul 3, 2019
@sanj0 sanj0 pinned this issue Jul 3, 2019
@sanj0 sanj0 added the TODO A todo item label Jul 3, 2019
@sanj0
Copy link
Owner Author

sanj0 commented Jan 11, 2020

Setting the preferred image type to VOLATILE produces an even weirder result now.
Bildschirmfoto 2020-01-11 um 15 12 38

@sanj0 sanj0 changed the title [BUG] Image files cannot be loaded as SaltyVolativeImage [BUG] Image files cannot be loaded as SaltyVolatileImage Apr 6, 2020
@sanj0
Copy link
Owner Author

sanj0 commented Apr 6, 2020

Setting the preferred image type to VOLATILE produces an even weirder result now.
Bildschirmfoto 2020-01-11 um 15 12 38

This still happens with SaltySystem.prefferedImageType = SaltySystem.ImageType.VOLATILE in 0.14.19

@sanj0
Copy link
Owner Author

sanj0 commented Sep 2, 2021

As because of this bug, SaltySystem.prefferedImageType has become irrelevant for development, I am no longer sure where it is even respected and where the library just produces 'SaltyBufferedImages' per default.

@sanj0
Copy link
Owner Author

sanj0 commented Sep 2, 2021

Using Salty Engine 0.15-SNAPSHOT, a prototype for my game renders very laggy with SaltySystem.prefferedImageType = SaltySystem.ImageType.VOLATILE and only shows custom rendered UI and a single sprite (which is the only one to have pixels with transparency != 0 or 1 - coincidence?)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working TODO A todo item
Projects
None yet
Development

No branches or pull requests

1 participant