For tutorials and more info, visit The Proton SDK wiki
License: BSD style with attribution required
Seth's GL/GLES messy multi-platform C++ game SDK. Can output to Windows, Linux (including the Raspberry Pi), HTML5, OS X, iOS, Android
A component based toolbox of useful things built up over the last ten years. Instead of a giant .lib you link only the .cpp files used when possible to simplify multiplatform support as well as keep code size down.
It's kind of an SDL-like on steroids (while also being able to target SDL2 for setup/input/audio itself when needed) but generally gets the best results with its own native implementations of things. For example, it can target the following audio subsystems: SDL2_mixer, Audiere, FMOD, FMODStudio, Native iOS, Native Android, Denshion, Native Flash
It's designed with a "Write stuff in Windows with Visual Studio 2017, then compile/export to other platforms as needed" mentality.
Deprecated platforms no longer actively supported: Flash, BBX, WebOS
I had to make a breaking change - I updated the Boost library to the latest for proper C++20 support and it doesn't support signal anymore, just signals2.
If you're updating an old project, When you get this error:
1>c1xx : fatal error C1083: Cannot open source file: '....\shared\util\boost\libs\signals\src\connection.cpp': No such file or directory 1>named_slot_map.cpp 1>c1xx : fatal error C1083: Cannot open source file: '....\shared\util\boost\libs\signals\src\named_slot_map.cpp': No such file or directory 1>signal_base.cpp 1>c1xx : fatal error C1083: Cannot open source file: '....\shared\util\boost\libs\signals\src\signal_base.cpp': No such file or directory 1>slot.cpp 1>c1xx : fatal error C1083: Cannot open source file: '....\shared\util\boost\libs\signals\src\slot.cpp': No such file or directory 1>trackable.cpp 1>c1xx : fatal error C1083: Cannot open source file: '....\shared\util\boost\libs\signals\src\trackable.cpp': No such file or directory
Remove references to those files, they don't exist anymore, signals2 is header-only, no source needed.
If you get errors like "1>D:\projects\proton\UGT\Source\App.h(132,9): error C2039: 'signal': is not a member of 'boost'" in your code, you'll need to change it.
From this:
boost::signal<void(void)> m_sig_target_language_changed;
To this:
boost::signals2::signal<void(void)> m_sig_target_language_changed;
Some things written with Proton:
- Growtopia - 2D MMO, a good example of using Proton's GUI for many screen sizes.
- Dungeon Scroll - A word game. (HTML5 version)
- Dink Smallwood - Good example of porting old code to Proton to add touch controls and multiplatform support. Open source. HTML5 version
- Mind Wall - 3D puzzle game
- Tanked - 3D multiplayer tank combat game including four player split screen support as well as internet match making.
- Arduboy Simulator - Allows you to write and debug Arduboy apps with MSVC as well as output HTML5 playable versions (included with Proton SDK) HTML5 Example game
Credits and links
- Proton SDK wiki/tutorial site
- Seth A. Robinson ([email protected]) (Wrote most of Proton SDK) (Codedojo, Seth's blog)
- Aki Koskinen (Contibutions to Linux support, SpriteAnim, documentation)
- Clanlib team (Some math functions were taken from Clanlib)
- Dan Walma (contributions to SoftSurface)
- Fatalfeel's Proton SDK forks for GLES 2 support and Cocos2D integration
- Vita platform support by @NabsiYa
Feel free to submit a pull request! At this point the goal is that all changes be non-breaking to existing projects.