Undertale + Conway's Game of Life
Links
Undertale + Conway's Game of Life
Repository
About
I still have no idea if Undertale's combat system uses some sort of collision geometry for collision-detection, or if it uses a per-pixel method. I think the game is perfect for a per-pixel method. From an efficiency standpoint, checking the 186 pixels behind that adorable little heart should be faster than comparing its position and size to a bajillion fireballs. From a development standpoint, there wouldn't have to be any fiddling with bounding boxes or radii. From a game-play standpoint, false positives are icky, and per-pixel collision has none of that nonsense.
So Undertale and per-pixel collision are perfect for each other. I've never developed a per-pixel collision system before, I'm on an HTML Canvas binge, I love Undertale and have been fantasizing about making my own Undertale fights, so I decided to get experimenting over this week's vacation.
I made a little scene with a resolution, bullet board, text, and assets to match Undertale's, implemented movement and per-pixel collision detection for the player, and a Conway's Game of Life segment to test the collision. I even made a little game out of it where the player must survive until the Conway's Segment stops evolving. I'm very happy with the results and am scheming to expand upon the idea to make a full Undertale fight segment, probably with a giant robot monster. Not so sure about the architecture of the whole thing. I'm very new to JavaScript and their are so many weird options in it for object-oriented programming and organization.
- emily
-
1
3 Comments
Recommended Comments
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now