Skip to content

v6.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 31 Oct 20:50
· 300 commits to master since this release

6.0.0 (2020-10-31)

Code Refactoring

  • Made BoxDefinitionBase the default assumed class. (1bf3769)
  • Removed deltatime from Simulation method variables. (389c187)
  • Removed status effects. (1b6076d)
  • Removed styleGain variable from BoxGroup. (5e02bf1)
  • Removed variables from AttackDefinition. (f3ed16f)
  • Replaced GetCenter for GetGameObject in ITargetable. (30de643)
  • Take InputDefinition directly for CheckStickDirection. (48d7c65)

Features

  • Added EntityPhysicsManagerBase. (1f6d586)
  • Added HurtInfoBase to store hurt information. (b28032b)
  • Added StateHurtboxDefinition. (36e3dff)
  • Editor for StateHurtboxDefinition. (9d26e39)
  • Functionally of EntityHurtboxManager. (8d7e273)

BREAKING CHANGES

  • Status effects should be handled user-side, outside of what CAF needs to do.
  • PhysicsManager now allows for your own implementation, with two given implementations for 3D and 2D.
  • Instead of passing the huirt variables directly in OnHurt, instead allow the user to define what should be passed in their own HurtInfoBase. Avoids assuming how the user will implement this method.
  • Take InputDefinition directly now for CheckStickDirection. Avoids forcing floats in the user's system.
  • With this, the center of the object and any other needed data can be grabbed, while also not assuming the numeric type to be a Vector3.
  • Removed deltatime variables from method relating to the simulation. Part of changes to make using fixed point variables easier.
  • BoxDefinition was replaced with BoxDefinitionBase in any case that it was reference. This change was made mainly to allow changing the type of the variables used (important if you want fixed point variables).
  • Removed both heightRestriction and gravityScaleAdded from AttackDefinition. Should be implemented by the user.
  • Removed styleGain variable from BoxGroup. This should be defined by the user as they might either not use a style meter at all or not want to use floats.