Episode 52.4 - Reconstructing Cave Story: Implementing MapCollidable
283 views · Published 7 March 2014 · 11:13 · Indexed 30 September 2026
Channel: Christopher Hebert · 2014 · Education
Part 4 / 4 Part 1: http://www.youtube.com/watch?v=IzmqW-EMT8U&list=UULNTFHb8gz7ag7XnnV3o05Q&feature=share&index=1 In this part we complete the abstraction by implementing the MapCollidable. https://github.com/chebert/cavestory-screencast Private Inheritance: http://stackoverflow.com/questions/860339/difference-between-private-public-and-protected-inheritance-in-c Implementation Plan: 1 - Create Kinematics 2 - Player uses kinematics_x_, kinematics_y_ 3 - Create CollisionRectangle 4 - Player uses CollisionRectangle 5 - implement onCollision/onDelta in Player class 6 - move collision code into MapCollidable object, have player implement ================================================= 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