![free undertale sprite player hp bar free undertale sprite player hp bar](https://64.media.tumblr.com/4eb76f41dfd3af993599745cb48ccd5b/tumblr_o34mb9ydTc1uiwpaqo3_1280.png)
Now we need to define how characters can interact with each other. You can override functions like "calculate current" or "level up" easily. I don't know anything about the language you're writing in, but if this were a Java-like language, I'd probably have each stat be an instance of a stat object, so that calculations can be calculated quickly. That way you can apply stat boost caps and stuff like that. If we add that, it's also a good idea to include a counter that tracks how much that stat modifier has changed in the course of a battle without having to calculate things in reverse. In addition it's generally a good idea to store other stats so that you can easily reference them for stat modifier calculations.
![free undertale sprite player hp bar free undertale sprite player hp bar](https://img.itch.zone/aW1nLzIzNDU4MjUucG5n/original/%2FPam5T.png)
Now, with some stats, like HP and MP, there's actually two variables responsible for these stats – current and max HP. We need to define how each of them works. Determines when you can attack according to the function speedOrder() Amount of damage removed to an attack you receive. Amount of damage added to an attack you initiate.ĭefense. Amount of points of magic you can use before empty.Īttack. Amount of points of damage you can take before dying. So for example, let's say each character has the following stats: Define your stats and how they interact with each other. We can divide this into enemy/ally characters later. But here are my protips on RPG games:įirst, develop how the rules of the RPG works. Most of the sequences that aren't random encounters are pretty heavily scripted. Undertale plays a lot more like a visual novel than an RPG. I am not responsible for any spoops or weird bugs that happen to you. Mouse is used to select letters when making name, thought it was faster than using the keyboard. Pressing 1 in the area "TEST SCENE" (the area you spawn when you create a file) will bring you to the Battle Test. PAGE UP is to open the wimpy debug menu. C or RIGHT CONTROL are to pause, most of the menu stuff hasn't been done. Timing and such for the fonts, animations, and player speed are all based off an assumption, so it may not feel "right". It's no-where near as good as Unitale, but I tried.Īnd like with all games, it was made with Stencyl, which means everything was build up from scratch, which wasn't fun to make. As you can see from the title, I've tried to make an Undertale engine. Well, I decided to return, since I'm working on a project that sorta needs criticism. Yes, it is I, the worst Shitposter on KYM….