Open Surge Forum

A fun 2D retro platformer inspired by Sonic games and a game creation system

You are not logged in.


Our community has moved to Discord!

#1 2018-11-02 02:35:45

From: Brazil
Registered: 2009-01-27
Posts: 3,298

Virtual filesystem (backend updates)

Virtual filesystem

I've been improving quite substantially the backend of Open Surge. Build 18.1101-dev includes a virtual filesystem. It allows assets (images, sounds, etc) to be retrieved from disk storage in a flexible way.

Windows users should not see any changes (that is, from the end-user viewpoint), except that, in your scripts, filepaths must always be relative to the game folder (e.g., images/surge.png, musics/aaa.ogg, levels/aaa.lev and so on). There's a whole new system behind the scenes, so if you find any bugs, please let me know.

Linux users shall benefit more, as the game can now read/write files from/to multiple places. Open Surge now takes into account the XDG Base Directory Specification. Not only that, but multiple MODs can be installed on the same system. This is very important, since users generally distribute a Windows-only version of their MODs. Now you can play them.

Ready for a surprise?

Tip for hard users: in the initial screen, press right 3x.


Board footer

Powered by FluxBB  hosted by