Skip to content

A sample Unity project that utilizes the SlimeBattleSystem library

License

Notifications You must be signed in to change notification settings

Joshalexjacobs/SlimeBattleSystemSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slime Battle System Unity Sample

A sample Unity project that utilizes the SlimeBattleSystem library.

Unity Sample Gif

To run, just clone this repo and open it with Unity version 2021.3.5f1 or later.

This project currently features 2 example scenes that allows the player to fight a Slime or a Skeleton. I also included the ability to cast Hurt or Heal, use an Herb, and attempt to flee from combat. The combat logic is handled by the SlimeBattleSystem and takes very few liberties (eg. handling item drops).

The combat loop can be found in BattleController.cs.

All battle system methods can easily be accessed via the SlimeBattleSystem namespace:

using SlimeBattleSystem;

...

var orderedParticipants = BattleSystem.DetermineTurnOrder(participants);

About

A sample Unity project that utilizes the SlimeBattleSystem library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages