Undertale Battle System (Beta 1.20)

Discussion in 'JS Plugins In Development' started by SumRndmDde, May 8, 2016.

  1. SumRndmDde

    SumRndmDde Follower of RNGesus Veteran

    Messages:
    224
    Likes Received:
    409
    Location:
    an alternate dimension.
    First Language:
    English
    Primarily Uses:
    RMMV

    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 :p


    (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

    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

    UTB Pic 2.PNG UTB Pic 3.PNG



    Thanks for reading!


    If you wish to support this Plugin's development, please leave a comment! :)
     
    Last edited by a moderator: May 29, 2016
    #1
  2. Nocturnic

    Nocturnic Designer and Story Writer Veteran

    Messages:
    39
    Likes Received:
    17
    Location:
    United States
    First Language:
    English
    Dude, this is amazing. Hoping that this eventually becomes playable, because I'm considering using this. :3
     
    #2
  3. SumRndmDde

    SumRndmDde Follower of RNGesus Veteran

    Messages:
    224
    Likes Received:
    409
    Location:
    an alternate dimension.
    First Language:
    English
    Primarily Uses:
    RMMV


    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.)
     
    #3
  4. SumRndmDde

    SumRndmDde Follower of RNGesus Veteran

    Messages:
    224
    Likes Received:
    409
    Location:
    an alternate dimension.
    First Language:
    English
    Primarily Uses:
    RMMV
    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!
     
    #4
  5. gRaViJa

    gRaViJa Veteran Veteran

    Messages:
    732
    Likes Received:
    265
    Location:
    Belgium
    First Language:
    Dutch
    Technically impressing and something different than the regular stuff. Congrats on recreating this!
     
    #5
  6. SumRndmDde

    SumRndmDde Follower of RNGesus Veteran

    Messages:
    224
    Likes Received:
    409
    Location:
    an alternate dimension.
    First Language:
    English
    Primarily Uses:
    RMMV


    Thanks for the support!


    Please share and continue to keep up with this Plugin's progress! :)
     
    #6
  7. Oklahoma33

    Oklahoma33 Warper Member

    Messages:
    4
    Likes Received:
    0
    First Language:
    Italian
    Is it possibile to add text between attacks? Such an Undertale battle :)
     
    #7
  8. SumRndmDde

    SumRndmDde Follower of RNGesus Veteran

    Messages:
    224
    Likes Received:
    409
    Location:
    an alternate dimension.
    First Language:
    English
    Primarily Uses:
    RMMV


    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? :o
     
    #8
  9. Oklahoma33

    Oklahoma33 Warper Member

    Messages:
    4
    Likes Received:
    0
    First Language:
    Italian
    No, a text that says something like "Ahahah now I'll kill you" and then the attack starts :)
     
    #9
  10. Oklahoma33

    Oklahoma33 Warper Member

    Messages:
    4
    Likes Received:
    0
    First Language:
    Italian
    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? :)
     
    #10
  11. SumRndmDde

    SumRndmDde Follower of RNGesus Veteran

    Messages:
    224
    Likes Received:
    409
    Location:
    an alternate dimension.
    First Language:
    English
    Primarily Uses:
    RMMV


    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!
     
    #11
  12. SumRndmDde

    SumRndmDde Follower of RNGesus Veteran

    Messages:
    224
    Likes Received:
    409
    Location:
    an alternate dimension.
    First Language:
    English
    Primarily Uses:
    RMMV
    UPDATE BETA 1.1


    Beta 1.1 is now available

     
    #12
  13. SumRndmDde

    SumRndmDde Follower of RNGesus Veteran

    Messages:
    224
    Likes Received:
    409
    Location:
    an alternate dimension.
    First Language:
    English
    Primarily Uses:
    RMMV
    UPDATE BETA 1.2


    Beta 1.2 is now available

     
    Last edited by a moderator: May 29, 2016
    #13
  14. ScaredPumpkinAri

    ScaredPumpkinAri Warper Member

    Messages:
    4
    Likes Received:
    6
    First Language:
    Russian
    Primarily Uses:
    N/A
    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 
     
    Last edited by a moderator: Jun 4, 2016
    #14
  15. SumRndmDde

    SumRndmDde Follower of RNGesus Veteran

    Messages:
    224
    Likes Received:
    409
    Location:
    an alternate dimension.
    First Language:
    English
    Primarily Uses:
    RMMV


    Here ya go:
     
    #15
  16. ScaredPumpkinAri

    ScaredPumpkinAri Warper Member

    Messages:
    4
    Likes Received:
    6
    First Language:
    Russian
    Primarily Uses:
    N/A
     
    #16
  17. Estherbunny

    Estherbunny Jellynerd Member

    Messages:
    15
    Likes Received:
    0
    First Language:
    English
    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!
     
    #17
  18. AwshomeHat

    AwshomeHat Warper Member

    Messages:
    1
    Likes Received:
    0
    First Language:
    English
    Would it be possible too use this for RPG Maker XP?
     
    #18
  19. Zer0Thunder

    Zer0Thunder Warper Member

    Messages:
    2
    Likes Received:
    0
    First Language:
    Portuguese
    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)
     
    Last edited by a moderator: Jul 31, 2016
    #19
  20. SumRndmDde

    SumRndmDde Follower of RNGesus Veteran

    Messages:
    224
    Likes Received:
    409
    Location:
    an alternate dimension.
    First Language:
    English
    Primarily Uses:
    RMMV


    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.



    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. :)
     
    #20

Share This Page