TheYellowArchitect / doubledamnation

Exclusively Co-Op Metroidvania with Movement as smooth as Smash Bros Melee
GNU General Public License v3.0
19 stars 2 forks source link

Level Browser #13

Open TheYellowArchitect opened 2 years ago

TheYellowArchitect commented 2 years ago

Sharing levels is as important as making them. Currently, you only play levels made by your friends. But the best would be for someone to make a level, and its shared globally, hence one-by-one player creating levels, true replayability is achieved. Because currently, you can literally run out of levels to play!!

I have not determined exactly how to integrate this browser into the game. Ideally, the database is accessible by more than just DoubleDamnation.exe For example, a website storing levels uploaded by users, or steam workshop

Steam Workshop

JS Website Bloated as it needs JS. Remove Javascript bloat, and you get the peak of user-made sharing levels, which has a static site generator. See https://www.epicwar.com Given I don't have the following fields:

It becomes a lot simpler. No one should be able to delete the levels (even their uploaders) except server admins ofc.

Final Implementation MySQL. Every map submitted has an internal unique ID as its filename, hence thats how they are retrieved. https://www.geeksforgeeks.org/retrieve-image-and-file-stored-as-a-blob-from-mysql-table-using-python/

Anyway, data url, SQL databases or whatever, having a website for this ftw!

And obviously, you can access this website's back-end from in-game with a brand new UI (themed on current level editor UI)