This week, I've been working on win conditions. I've added both win conditions: MERCY and FIGHT. Win by MERCY becomes available when the "sparable" boolean class variable is set to true. The monster's name and the "spare" option will turn yellow, indicating that the monster can be spared. Win by FIGHT happens when the monster's health reaches zero. The monster will disintegrate, and when the animation is over, it will display that the player has won. This animation was especially difficult. I built it entirely from the ground up, moving the image pixel by pixel. I also ended up with some funny bugs, one of them resulting in a "closing shades" animation:
I did eventually get the real animation working, though it's slightly different than it is in Undertale. Turns out that it's a really hard effect to duplicate.
Hey do you know if the java code would work similar in greenfoot because i have a school project and i want to make an undertale battle. Thx
ReplyDeleteIt might work, but this program may be a little too complicated for you right now. Give it a try, but don't spend too much of your project time on it.
DeleteWhere can I find a download for javatale?
ReplyDeleteГде скачать?
ReplyDelete