Episode 52.1 - Reconstructing Cave Story: Intro to Map Collidable Abstraction

486 views · Published 7 March 2014 · 15:33 · Indexed 30 September 2026

Channel: Christopher Hebert · 2014 · Education

Watch on YouTube

Part 1 / 4
In this episode we introduce the MapCollidable abstraction, and the steps that we will take to implement it.

10:42 1 - Create Kinematics Struct
11:59 2 - Player uses Kinematics Struct
14:41 1 - Create Kinematics Struct

https://github.com/chebert/cavestory-screencast

In this part, we take care of steps 1-2, creating/using Kinematics.

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

=================================================
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

More from this channel