Episode 53 - Reconstructing Cave Story: Accelerators
425 views · Published 8 March 2014 · 27:09 · Indexed 30 September 2026
Channel: Christopher Hebert · 2014 · Education
In which we introduce the Accelerator abstraction to ease the burden of updating velocity.
Note on ZeroAccelerator:
C++ Standards require that if you create a
const T t;
you need to provide a user-defined default constructor (compiler constructor doesn't cut it).
This rule is at least partially ignored in g++/MSVC.
The fix is to just create an empty default constructor:
ZeroAccelerator() {}
=================================================
Playlist:
https://www.youtube.com/playlist?list=PL006xsVEsbKjSKBmLu1clo85yLrwjY67X
Content (.bmp files and such):
https://github.com/chebert/cavestory-content/archive/master.zip
Cave Story (freeware version) download page: http://www.cavestory.org/downloads_game.php