Undertale Battle System (Beta 1.20)


Undertale Battle System
​


Beta 1.20
​


SumRndmDde
​


 
​


To start off, let me just say that the "Undertale Battle System" at least in terms of this Plugin refers to the "bullet-hell" style dodging system that Undertale contained. I will hopefully add the other aspects of Undertale Battle System such as the timed attacking system and stuff like that, but for the time being, the goal is to recreate the most difficult, and most famous part of Undertale's battle system, which is the bullet-hell dodging thingy.


















Old Video Demonstrations:






























BETA DOWNLOAD


Currently the Plugin is in Beta.


You can download it here!


https://sumrndmdde.wordpress.com/undertale-battle-system/


Furthermore, you can find the online Attack Creator Tool here:


http://sumrndmdde.github.io/UTB-Attack-Creator/


GOALS


The goal of the Plugin is as follows:


 - Recreate the ability to dodge enemy attacks


 - Give the Player the ability to customize the attacks based off of the "Skill" used by the Enemy


 - Add the ability to give the "Player Icon" different abilities like shown in Undertale


 - Have the abilities based on the Actor currently dodging the attack and their status, equips, class, etc...


 - Have some sort of way to customize the image of the attacks


 - Have the horizontal and vertical speeds be based off of a formula the user inputs


 - Hopefully have some sort of way to make different "playing fields"


KNOWN BUGS


None Currently 😛


(Find dem for me!)


SUGGESTIONS AND COMMENTS


If you have any good ideas on how the attacks can be customized or how anything else in the Plugin should be done in terms of user interaction, comment below and let me know!


TERMS OF USE (for Beta Plugins)



– This Plugin may be used in free or commercial games.
– If used in a publicly released game, an easily accessible link to a forum post/video where the Beta Plugin can be found is mandatory.
– You are allowed to edit for personal usage.
– You may NOT steal code for your own released Plugins without credit.
– If used in any publicly released game, then “SumRndmDde” must be given credited.



Detailed Changelog

Spoiler
Version Beta 1.20


– Damage is now based on the damage a Skill would normally do as opposed to consistently doing 50 damage.



– “Delete Distance” can be used to specify a specific distance outside the box an attack may go before it is deleted.


Ex: <UTB Attack 1>


      ...


      Delete Distance: 250


      </UTB Attack 1>



– Added YELLOW mode. It let’s you shoot bullets when pushing “Z”. Use


<UTB Mode: 4> to set the Skill to have YELLOW mode.
 


Version Beta 1.10
– Added “message” function to be used in UTB Code


this.message(“message”);



– Added “createAttack” function to be used in UTB Code


this.createAttack(id);



– Added JavaScript Code Notetag for Code that will
be called every frame the Skill is Active


<UTB Code>…</UTB Code>



– Fixed Compatbility Issue with YEP Battle Engine Core
– Upgraded the Attack Deletion System
– Preload Face Images


Version Beta 1.00
- Added Parameters for various customization
- Fixed various bugs
- Created an individual class for the Player
- Beta Plugin Released at this version


Version Alpha 1.40


 - Added the ability to give objects custom images


 - Added "modes" to the Player


 - Added the ability to customize "mode" per attack


 - Added "blue mode" aka. gravity game


 - Demo Created at this version


Version Alpha 1.30


 - Added Custom Spawn Rates


 - Added Spawn Delay


 - Custom Color


 - Added the ability to have 9 desperate UTB objects per attack


 - Further improved upon collision system


Version Alpha 1.20


 - Improved upon collision system


 - Made collisions cusomizable per UTB attack object


 - Added the ability to view collision masks of objects


Version Alpha 1.10


 - Build UTB Attacks based on Skills used by Enemy


 - Added Notetag system for customizing UTB attacks


 - Added customizable durations for the UTB attacks


 - Added "Dynamic" and "Static" movement


Version Alpha 1.00


 - Initial reveal version


 - Created the basic system with hard-coded attacks for each enemy


 - Demo Created at this version





SCREEN SHOTS

Spoiler
UTB Pic 2.PNGUTB Pic 3.PNG



Thanks for reading!


If you wish to support this Plugin's development, please leave a comment! 🙂
Dude, this is amazing. Hoping that this eventually becomes playable, because I'm considering using this. :3
Dude, this is amazing. Hoping that this eventually becomes playable, because I'm considering using this. :3



Thanks for the support!


Should be available for beta use before the end of this week. (hopefully)


From then on, things can be tested by everyone! Yay...


(Also Alpha 1.4 demo added.)
UPDATE


The Beta version is now available to download and use in your own projects!


Please feel free to do so!


Be sure to keep up to date with this Plugin's progress!
Technically impressing and something different than the regular stuff. Congrats on recreating this!
Technically impressing and something different than the regular stuff. Congrats on recreating this!



Thanks for the support!


Please share and continue to keep up with this Plugin's progress! 🙂
Is it possibile to add text between attacks? Such an Undertale battle 🙂
Is it possibile to add text between attacks? Such an Undertale battle 🙂



That should be completely possible without using a Plugin by manipulating the events in the Troops.


Unless you mean having dialogue while the attack is happening? 😮
No, a text that says something like "Ahahah now I'll kill you" and then the attack starts 🙂
And how can you use a random number? I mean, if I want that some balls fall from up to down randomly, how can I do this? 🙂
And how can you use a random number? I mean, if I want that some balls fall from up to down randomly, how can I do this? 🙂



Well, first of all, let me just tell you that you don't want to post two comments in a row in this forum site.


I don't really care, but if a moderator sees that, they'll jump on your butt about it. XD


Next time, use the edit button located on the bottom of your comment to add things to the comment you forgot.


Anyway, if you wanted to add dialogue before an enemy attacks, you need to go to the "Troops" tab in the Database.


You should see a box called "Battle Event". Set the condition of a page to occur on a certain turn number, and set the span to "moment", and it should allow you to add dialogue in the middle of a battle.


On the other hand, if you wish dialogue to only occur on a certain attack, then I also have just the thing.


Next update (Beta 1.1) to this Plugin will allow: <UTB Code> ... </UTB Code>


This will allow you to call direct code every frame for a specific Skill.


You can do this with individual attacks, but not with an overall Skill.


If you wanted a dialogue to appear at the beginning, you'd do:
 

Code:
<UTB Code>

if(f === 0) this.message("Ahahahaha \\! I will kill you!");

</UTB Code>



If you wanted to make an Attack spawn randomly, you'd do:

Code:
<UTB Code>

if(Math.randomInt(200) === 1) {
  this.createAttack(1);
}

</UTB Code>



Which would make it so there is a 1 in 200 chance each frame for an attack to spawn.


Remember this will only be available next update, so can't do it with the current release.


But once the system is polished up a little more, 1.1 will be released, so keep watch!
UPDATE BETA 1.1


Beta 1.1 is now available

Version Beta 1.10
– Added “message” function to be used in UTB Code


this.message(“message”)



– Added “createAttack” function to be used in UTB Code


this.createAttack(id)



– Added JavaScript Code Notetag for Code that will
be called every frame the Skill is Active


<UTB Code>…</UTB Code>



– Fixed Compatbility Issue with YEP Battle Engine Core
– Upgraded the Attack Deletion System
– Preload Face Images
UPDATE BETA 1.2


Beta 1.2 is now available

Version Beta 1.20


– Damage is now based on the damage a Skill would normally do as opposed to consistently doing 50 damage.



– “Delete Distance” can be used to specify a specific distance outside the box an attack may go before it is deleted.


Ex: <UTB Attack 1>


      ...


      Delete Distance: 250


      </UTB Attack 1>



– Added YELLOW mode. It let’s you shoot bullets when pushing “Z”. Use


<UTB Mode: 4> to set the Skill to have YELLOW mode.
Hi! I'm actually rather new in the whole creating a game thing but I was wondering if I can use this battle system on the RPG Maker MV and if I can... how? Sorry I'm just... really new haha 
Hi! I'm actually rather new in the whole creating a game thing but I was wondering if I can use this battle system on the RPG Maker MV and if I can... how? Sorry I'm just... really new haha 



Here ya go:
Thank you! I'm already trying to make some attacks haha.. another question: could there be more than one things in the attack in a way in which every attack works diffrently?


Here ya go:
Will you be adding a menu/hitpoints/lv showing system like the undertale one? This looks like it would be amazing for use in a fangame, and it'd be cool if that was an option!
Would it be possible too use this for RPG Maker XP?
Hi! I'm trying to make an attack but for some reason I can't dodge it (my character doesn't move). Do you know how to solve this? 
*amazing plugin tho, congrats xD

Edit: I think this bug happens when you set the initial X position to box.left + Math.randomInt(box.width)
Will you be adding a menu/hitpoints/lv showing system like the undertale one? This looks like it would be amazing for use in a fangame, and it'd be cool if that was an option!



Wow, sorry for late response. It has been so long since I've updated this page. Better do that now.


Anyway, I'm not exactly sure what you mean, though I guess you want Hitpoints and Lv to be displayed in battle the same was it was in Undertale?


That probably...won't happen. I'm only interested in replicating and creating a customizable Battle System, but I'm not a huge fan of completely copying things from games as those types of things have quite restrictive usage.

Would it be possible too use this for RPG Maker XP?



This will never be available to be used in anything besides RPG Maker MV or possibility any future RPG Makers.


In other words, this will never happen in XP, VX, or VX Ace. Sorry :headshake:


If you wish to use this, get RPG Maker MV. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/undertale-battle-system-beta-1-20.61546/