Closed 2021rkim closed 6 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)
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.
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.
Oops I forgot I finished this at the end of break
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.