Closed ekrebs5 closed 6 years ago
after a bit of thought this makes the handling of images and sound a lot more inconvenient for the swa students
another option: dont use global state. will measure how much time it takes to load images from disk and decide if its okay to do this every time a game starts
description of user story and requirements from eva is not up to date. we removed the resource locator because game objects will need a reference to the game anyways (because of keyhandling), so access is easy. each game instantiates it's own resource managers at startup
accepted
Story
If I have multiple games that have a "player"/"player.png" (or similiar), it should still work (files are still in different paths).
I want to reset the cache (best case for only one folder or game prefix) if I changed the pictures.
(Maybe) I want to get all pictures of one game / prefix
Description
Why:
In SWA, all games are loaded into one image What: