Skybox loader
So, the skyboxes eat a fair amount of memory, I assume, and I have all 6 loaded into memory at startup. It's slow and they take a lot of memory when not being used. So, I sat down and wrote a background loader.
- 1. Decompresses PNG files into byte arrays in the background thread.
- 2. Run glGenTexture/glBindTexture/glTexImage2D in the main thread (it won't work otherwise).
- I do only 1 texture per frame to keep this from slowing down the UI too much
Achievements
The preliminary list of achievements has been written up:
Single Player
Level completions Complete 10 levels 10Complete 20 levels 20Complete 40 levels 30Complete 80 levels 40 Combo level completions - complete in a row Complete 5 SP levels in a row 10Complete 10 SP levels in a row 40Complete 15 SP levels in a row 90Complete 20 SP levels in a row 180 SP Robot destruction Destroy 10 robots 5Destroy 50 robots 10Destroy 100 robots 20Destroy 200 robots 30Destroy 500 robots 40
Multiplayer
De-rez opponents without dying 6x 1512x 2518x 4024x 60 Combos - de-rez opponents within 6 seconds of last de-rez 3x 54x 105x 156x 207x 258x 359x 5010x 100 Total 925
Leaderboards
- 1 Spectre Classic
- 3 for each difficulty in Spectre VR