Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cfrankb/cs3-runtime-sdl
CS3 Runtime Module using SDL to port an MSDOS game for a wide range of platforms (desktop, browsers etc)
https://github.com/cfrankb/cs3-runtime-sdl
2d-game 2d-game-engine browser browser-game desktop emscripten map platform sdl sdl2 tilemap tiles
Last synced: about 1 month ago
JSON representation
CS3 Runtime Module using SDL to port an MSDOS game for a wide range of platforms (desktop, browsers etc)
- Host: GitHub
- URL: https://github.com/cfrankb/cs3-runtime-sdl
- Owner: cfrankb
- License: gpl-3.0
- Created: 2023-08-28T21:47:45.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-13T00:30:36.000Z (about 1 month ago)
- Last Synced: 2024-11-13T01:23:51.354Z (about 1 month ago)
- Topics: 2d-game, 2d-game-engine, browser, browser-game, desktop, emscripten, map, platform, sdl, sdl2, tilemap, tiles
- Language: C++
- Homepage:
- Size: 534 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CS3 Runtime SDL
This project aims to port to the CS3 Runtime to a wide variety of platforms.
Using the SDL2 libraries as a base, the game can now run as a desktop app or in the browser.
![alt text](images/Screenshot_2023-12-20_04-29-08.png)
## Building the runtime
### Online version
The online version requires SDL2, zlib and Emscripten.
Build cs3 runtime
First install emscripten : https://emscripten.org/index.html
Run these commands
```
$ python bin/gen.py emsdl
$ emmake make
```Launch the application
```
$ emrun build/cs3v2.html
```### Map Editor
https://github.com/cfrankb/cs3-map-edit
### Play online
https://cfrankb.com/games/ems/cs3v2.html