Setting battle

Probably i'm pushing hard for nothing but...
Well
First of all, i wanna understand how battle work technically speaking
i want (in long term thing) make my own battle systeme
so if someone know how it work exactly (when battle start : then "xxx" is call, with "yyy" parameter, that make "zzz" appear/happen) i need something like that
If it already exist, i didn't found it but it's probably 'cause it's 4h of the morning for me ^^'
If you want that level of understanding you should probably read the code of Scene_Battle. That will show you the exact flow of battle and direct you to the related objects/codes.

IMHO, depending on how similar or different your battle system is with the default, studying the current system might be good or not so good.

Anyway, if were to talk of the general battle flow:

-Scene start
-Display battlebacks, battlers and UI
-Start player input sequence
-Display player input selection per player battle character
-Process enemy action selection
-Do actions, update UI, check win/lose
-If win/lose -> process win/lose, else repeat from player input sequence if all actions done
If you want that level of understanding you should probably read the code of Scene_Battle
No, you read the BattleManager. Scene_Battle as for in MV only handles the UI.
Also probably Window_BattleLog.
Oh yeah I forgot about that one... He might stumble upon it when reading it though

Noooooooo dont remind me of BattleLog, makes me remember how battlelog calls the animation to begin in MV battles.
No, you read the BattleManager. Scene_Battle as for in MV only handles the UI.
Actually if you start from the Scene_Battle, you'll end up in BattleManager anyway, so it's not wrong, it gives the whole picture.

IMHO, depending on how similar or different your battle system is with the default, studying the current system might be good or not so good.
So very true. For instance if you don't want a turn based system, you can pretty much ignore the default system.
I've started working on my own battle system lately, and as much as it can be interesting to see how the default one is built, there's almost nothing from it I can really use.
If you want that level of understanding you should probably read the code of Scene_Battle. That will show you the exact flow of battle and direct you to the related objects/codes.

IMHO, depending on how similar or different your battle system is with the default, studying the current system might be good or not so good.

Anyway, if were to talk of the general battle flow:

-Scene start
-Display battlebacks, battlers and UI
-Start player input sequence
-Display player input selection per player battle character
-Process enemy action selection
-Do actions, update UI, check win/lose
-If win/lose -> process win/lose, else repeat from player input sequence if all actions done

No, you read the BattleManager. Scene_Battle as for in MV only handles the UI.
Also probably Window_BattleLog.
You've pointed exactly my problem! i know js since only two nights now, so i'm not already esay with travelling from one .js to another and reading a single one make me few minutes to understand.

by the way your answers are exactly what i need for now

and my systeme won't be that "different", just the gamer won't use the defaut system here "-Start player input sequence" i want to have the player draw cards and can play them
the card will be something like "for the cost of xxx, do yyy damage" (later i can made more kind of card, but for now i'll go slow, i want to master this before shearching the moon)

Big thanks guys

Original thread: https://forums.rpgmakerweb.com/threads/setting-battle.105944/