Giter Site home page Giter Site logo

narxim-gas-example's Introduction

Narxim's GAS Example

A bare-bones Gameplay Ability System (GAS) example project to help you get started

GitHub Repo stars GitHub last commit GitHub Unreal

Preview Image

Features

A fully-setup example project!


GAS has a lot of moving parts and can be quite daunting to wrap your head around at first glance. I am providing this example project as a basis for learning how to properly set up your project to utilize all of its components. There are obviously many ways to set up your project, but I believe this example provides a simple, versatile base to build upon.


Note: The 5.4 update of this project has introduced significant changes in an attempt to simplify the setup and add some commonly used / requested features!


Other Features include:

  • Thoroughly commented C++ code
  • Example Blueprints
  • Health Attribute Set (Includes Damage / Healing)
  • Stamina Attribute Set
  • Stamina Regeneration example (Based on Stamina Regeneration Attribute)
  • (New) "Ability System Initialization Data" structure for initializing the Ability System Component
  • (New) Ability Trigger / Release bindings tied directly to Enhanced Input (Not Gameplay Tag Based... yuck!)
  • (New) Commonly used example Ability Tasks (Wait Enhanced Input Event / On Tick Event)
  • (New) Native Gameplay Tags example (NativeGameplayTags.h)
  • (New) Health Regeneration block after damage (3 seconds - Damage Volume)
  • (Updated) Example UI elements with Attribute event bindings (In Game UI / Nameplate)
  • GA Jump example with Stamina cost
  • Player Character and Non Player Character class examples
  • Example external Gameplay Effect application (Damage / Healing Volumes)

Ability System Initialization Data can be found in the Character class Blueprints.

Ability System Initialization Data


Dan's (Tranek) GAS Documentation covers all of these concepts and provides a great breakdown of GAS overall. This repo was made as a starting point for getting set up and should be used alongside Dan's documentation. My intent is for devs who may not be as familiar with C++ or are just starting with GAS to have access to a more easily digestible setup example. Cheers!


Check out the Unreal Source Discord if you have any questions!

narxim-gas-example's People

Contributors

narxim avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.