Simple JRPG: Turn-Based combat API-Classic, ATB, CTB, Action Points & Press Turn
Living Failure
$0.0
(no ratings)
Jump AssetStore
Lean runtime battle architecture API for JRPGs.
Instance-based battle orchestration with 5 pluggable turn systems, 20 events, before-event interception, and combat verbs.
Your rules, your formulas.Still writing JRPG battle systems from scratch?Seriously. Stop it.Simple JRPG handles the battle flow so you can focus on what makes your game unique — your damage formulas, your status effects, your UI.Set up your characters, pick a turn system, and start calling actions.Simple JRPG manages turn order, tracks battle state, and notifies you whenever something happens so you can react however you want.OFFLINE DOCUMENTATION HERE! HOW IT WORKSCreate a battle, add your characters, pick a turn system — your choice.Call actions like DealDamage, Heal, Revive, or Flee. You calculate the numbers, Simple JRPG applies them and tells your game what happened.Every action triggers an event — damage dealt, character knocked out, status applied, battle ended.Hook into any of these to update your UI, play animations, trigger sound effects, or run custom logic.Simple JRPG doesn't care what your stats look like, what "Fire" means in your game, or how you calculate damage. That's all yours.5 TURN SYSTEMS INCLUDED• Classic — Characters act in speed order, one round at a time. The standard JRPG turn system.• ATB (Active Time Battle) — Each character has a gauge that fills based on their speed. When it's full, they can act. Faster characters act more often.• Timeline / CTB — Every action has a cost. Heavy attacks push your next turn further away. Light actions let you act again sooner. A visible timeline shows who acts when.• Press Turn — Teams take turns in phases. Each phase starts with a pool of action points. Smart plays conserve points; mistakes waste them.• Action Point — Characters can save points by skipping their turn, then spend those saved points later for multiple actions in a row.• Want something different? Implement the turn system interface and build your own. You can just do that if you want.ACTIONSDealDamage — hit one target or a whole groupHeal — restore HP to one target or a whole groupKill — instantly knock out a characterRevive — bring a knocked-out character backApplyStatus — apply any status effect (poison, stun, whatever you define)RemoveStatus — remove a status effect from a characterApplyBuff — apply any buff or debuff (attack up, defense down, your call)RemoveBuff — remove a buff or debuff from a characterFlee — escape from battleRemoveCombatant — pull a character out of battle entirelyEndBattle — manually end the battle with a specific outcomeYou could add more events if you want.20 EVENTSBattle started, battle endedTurn started, turn endedBefore damage, before heal (intercept and modify or cancel)Damage dealt, healedCharacter knocked out, character revivedStatus applied, status removedBuff applied, buff removedFled, character removedGroup damage dealt, group healed, group status applied, group buff appliedEvery action fires an event.There's no built-in UI or animation system — you listen for the events you care about and handle them your way.INTERCEPT ACTIONS BEFORE THEY HAPPENThe "before damage" and "before heal" events fire before the action goes through.Change the damage amount, boost healing, or cancel the action entirely.Use these to build dodge mechanics, shields, damage reduction, healing amplification — anything.BUILT-IN HELPERSGet all enemies, allies, alive characters, or dead characters with one callFull battle history — every action recorded with turn number and sequenceBattle result summary — outcome, total turns, survivorsAutomatic win/loss detectionTEMPLATE GENERATORWindow > Simple JRPG > Generate Battle ControllerPick a turn system, name your script, hit Generate.Get a complete, ready-to-run script with placeholder logic and clear TODO comments showing you exactly what to customize.Attach it to a GameObject, hit Play, and you have a working battle.YOUR CHARACTERS, YOUR RULESYour character class just needs to provide: a name, whether they're alive, which team they're on, their speed, and methods to take damage and heal.Beyond that, add whatever you want — MP, defense, elemental resistances, equipment, level, anything.Simple JRPG never touches your custom stats. It only uses what it needs to run the battle.CLEAN, PORTABLE CODENo singletons, no global state, no MonoBehaviours, no ScriptableObjects.Create a battle, use it, done. Run multiple battles at the same time if you need to.11-page HTML documentation (multi-page + single-page format, light/dark mode) Cookbook with 15 copy-paste recipes (mana costs, elemental weakness, status timers, buff stacking, critical hits, drain, instant kill, damage formulas, and more) 5 interactive demo scenes (Classic, ATB, Timeline, Press Turn, Action Point) + Demo Hub Template Generator — generates a ready-to-run battle controller for any turn system Pure C# — zero engine dependencies, zero third-party dependencies Works on all platforms — no platform-specific code Unity 2021.3+ compatible 5 turn system implementations 1 interface to implement on your character class 20 events, 11 actions, 4 query helpersCreated with AIThis package utilized Claude AI for code generation assistance and documentation drafting.However, all AI-generated content was thoroughly human-reviewed, modified, and validated over three months of intensive development. No AI-generated code or documentation was used without significant human modification and verification.All technical decisions, architecture choices, and design patterns were made by me, as the sole developer of this project. Each component was rigorously tested and painstakingly refined through both automated and manual testing procedures under my oversight.As the developer, I firmly acknowledge and attest that the completed final product represents extensive human oversight, testing, refinement, and validation.I take full responsibility for the technical integrity and overall quality of the codebase, and I affirm that the AI-generated elements were only used as a tool for assistance, not as a substitute for human expertise.




