In Undertale, the very first "battle screen" is "against" Flowey. One thing though, there's no in-battle options available such as "FIGHT", "ACT", "ITEM", or "MERCY". I understand that the BattleManager module is taking up most of the memory reserved for the application, but I'm not saying I want to add a million little things to that module, or huge changes. I just want to completely revise it so that it is completely aesthetic to Undertale. For example, in this "battle screen", where there's no prompted options, just an enemy sprite saying some dialogue, I want to make it to where the player can have control over a small... bitmap picture, i suppose? and that represents the aesthetic Undertale SOUL.
The sprite can move, just like the player can in the overworld, with the arrow keys, etc., and has collision to where it cannot exit the "info" window, more commonly called the "bullet box". also, I'm not worrying much about bullets right now, because I know it would take up waaaaay too much CPU. All I'm worrying about here is controlling this sprite and having the text at the top of the screen. This might need like 3 different windows for the battle scene altogether;
one for the commands (FIGHT, ACT, ITEM, MERCY)
one for the info (basically just the window with actor names and guages and stuff, but a little higher for the commands to have room)
and one for the bullet box that has configurable width and height, position, etc. that is all made by a defined function (i'll make the function)
I know there's 5 playable SOULS in Undertale, but all i'm wanting is the Red and the Blue SOUL physics.
red = move around of free will (pixel movement)
blue = platformer physics
please don't tell me to just make a map for the battle screen, because that's a little too much.
Also, I can do fine with the Red and Blue SOUL physics in the battle scene, but that's all i need, nothing else yet.
So in summary:
I have the backgrounds, and enemy sprites; and I even have the SOUL sprite;
I just need these conditions:
- The player must be able to move the in-battle SOUL sprite with arrow keys, ONLY when it is the enemy's turn.
- It must be movable during show text commands in the fake battle screen (the one with just dialogue)
- It cannot be movable during dialogue in real battles (where the commands are visible)
- It must have collision to the sides of the "bullet box" window.
- When it is NOT the enemy's turn in the battle (aka, when the player chooses commands):
- cursor is the SOUL that appears in the area that the icon for the command boxes would be when selected
- the commands FIGHT, ACT, ITEM, MERCY must be the orange box with the icon when deselected
- and be yellow when the cursor is hovering on it / when it is selected
- upon selection of a command:
- remains yellow
- no SOUL cursor inside the command box
- cursor goes to the choices in the main info window
- If FIGHT: shows enemy(ies) to choose to fight
- if ACT: shows specific options that can be pre-programmed with a script before the encounter/battle
- if ITEM: shows list of items to use
- if MERCY: shows the "spare" option (and "flee" if not a boss; can specify with script before battle that its a boss), but i don't want to worry about how to make the game depend on "mercy" and how many "kills" yet; I'll get there later.
- "cancel" goes back to the 4 commands
that's about it.