So, you may or may not have played undertale. If you haven't, I suggest you do, It's a great game, I've talked with the developer, and then some. Some people are trying to make custom battles with in the code, but I've decided just to make an engine you can copy, branch, and make your own battle.
White attacks(Attacks you NEED to dodge)
Blue attacks (Attacks you NEED to stand still for)
Orange attacks (Attacks you NEED to move through)
A simple movement setup
Attacks deal damage(Check heart character for code)
1.0- Hoptale released
1.2-Orange and blue attacks more responsive, UI improvements, Debug info menu(find text and set to one). (Thanks to @Stradyvarious for the code and @intellection74 for the help
1.3-Green attacks added, heals you, Editing UI improvements.
b.1.4- (BETA) Blue Soul added, bit glitchy. @Stradyvarious, you might see what I was trying to make in that.
The credit thing NEEDS to say on it, or else I will report. You may give credit to your self for the level design if you so choose one.
Other engines that have the different playstyle is on its way.
Agenda(battles/playstyles): Toriel, Blue, Papyrus, Green, Undyne, Purple, Muffet, Yellow, Mettaton, Platforms, Sans
Plus any other updates I'm making while making the things above.
Making the Toriel battle is hard. Why? Because I have no idea how to use sin/cos for the most part. I'm able to get a bullet moving left and right using sin, but making it move down....
Search up for Hoptale- 1.3 to get the project, or search up my name- pazon123