2021rkim / aepi-booth-24-arcade

Repo for 2d game
0 stars 0 forks source link

Add proper collision handling #3

Closed 2021rkim closed 6 months ago

2021rkim commented 9 months ago

Since this is a mario platforming engine, the engine is designed around mario type collisions. We need to change this to be more like the joust game, where if you hit someone/thing from the top right, they die.

The collision handling will likely be different for player on player vs player on enemy.

Check https://docs.codehaus.moe/#/reference/Colliders to start.

MaroonCoffee commented 8 months ago

You should also bounce off of platforms when you hit them similar to the game (see https://www.youtube.com/watch?v=2Ga2Dtkg92I)

2021rkim commented 8 months ago

Almost done, just need to do the height difference checking to see whether you get hurt, die, or bounce off of an enemy. Currently just making the enemies give you knockback as a proof of concept.

2021rkim commented 8 months ago

https://www.smbxgame.com/forums/viewtopic.php?t=25011 Turns out I need to make a custom npc & AI for the enemies in order for this to properly work, similar to the bully npc, so I will be doing this difficult task.

2021rkim commented 6 months ago

Oops I forgot I finished this at the end of break