AllureOfTheStars / Allure

Allure of the Stars is a near-future Sci-Fi roguelike and tactical squad combat game written in Haskell; please offer feedback, e.g., after trying out the web frontend version at
http://allureofthestars.com
GNU Affero General Public License v3.0
211 stars 16 forks source link

Use CI to automatically generate screenshots and pick the best and post on various platforms as #screenshotsaturday #113

Open Mikolaj opened 3 years ago

Mikolaj commented 3 years ago

Either I'd need to manually start CI on Saturday or perhaps it could gather interesting screenshots all the time and Saturday just pick one with highest score (and remove it from the pool).

Mikolaj commented 3 years ago

And for this I'd need a frontend that initializes SDL and creates all the textures including the big texture for the whole game window, but does not display it (only dumps it as a screenshot, which I already can do). I hope it would not complain about lack of access to a graphics card if I set it to software renderer. For now I successfully test general SDL init, ttf init and fonts manipulation and it works fine on a headless CI sever. I'd need to also test SDL.InitVideo, createWindow, createRenderer, renderReadPixels.

Mikolaj commented 3 years ago

A friendly NPC says: Did you look into GitHub Actions? I've heard that you can do silly things with it.