Skip to content

SlirigHorcrux/CapabilityExample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

CapabilityExample

Dependencies

The project requires unreal with angelscript https://angelscript.hazelight.se/getting-started/installation/

Capabilities is a design pattern / structure developed at Hazelight.

This project is the simplest example of Capabilities.

The Capability folder holds the system / structure itself. This is just an example of how a CapabilityTickManager could be implemented. I strongly encourage you to modify the classes to suit your specific needs. The Bow actor is an example of how capabilities can look like in action.

Simple definition of what capabilities are:

  • Philosophy of Components vs Actor decision making
  • Components aren't allowed to make decisions
  • But we don't want blob actorns
  • Capabilities are extensions of the actors decision making
  • Capabilities makes decisions / behavior instead of components
  • Components are instead data which capabilities share and can act on
  • Capabilities are isolated files <- No spaghetti or awareness of other capabilities!
  • One way street communication

You could describe a capability as a state which decides on its own when to be active.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • AngelScript 88.1%
  • ActionScript 11.9%