Phobos

Phobos

Role
Co-founder
Game Engine
Unreal Engine
Programmers
2
Joined
Start of Development

Info

Phobos Concept Art

Phobos is a story driven isometric action RPG built in Unreal Engine 5.

The game started as a game jam entry many years ago that didn’t even reach development. Recently, part of the group decided to start development. On the programming side, the team consists of only two developers including me.

Contributions

Project Setup And Workflow

I started the project and set the repo up along with documentation on our Wiki. These are documentations about setting the project up, systems and conventions that devs should follow for a more maintainable project.

The game is built in Unreal Engine primarily in C++. We sparingly implement in Blueprints for child classes and for a few other cases where they are more suitable.

Core Framework

The project is structured with our core game framework built on top of Unreal’s Gameplay Ability System, logging utility and base classes and functionalities for our Character. In addition, I added the game loop system which manages the flow of the game from initialization to game and to end game. Currently, our end game is just game over as the game is still being developed.

AI

I used Unreal’s State Tree for enemy AI behavior and created State Tree tasks like Move To, Play Animation, Move Around Target and Use Ability among others concerning enemy combat. I chose this to learn the new tech and it can also be used for other things beyond enemy behavior. It can run on a normal Actor and doesn’t necessarily require a Pawn or AIController. We try to make abilities be used by anyone as much as possible.

Boss AI

This is a POC for boss AI. The intro sequence also uses State Tree which makes it very convenient.


Enemy AI

Also a POC for enemy AI just so that our level is more playable.

Enemy does basic string
Enemy does basic string + dodge and strike
Enemy circles around before basic string

Dialog System

This is another one I developed that uses a State Tree since it's more flexible. We can include any State Tree task in between the dialog if needed. Example is adding camera angles during the dialog sequence.

Interaction System

The interaction system is also another system I developed for the project. Interactables are composed of Interactable Actions, which can be added as needed. Each action implements its own logic.

In this example, the Interactable object (blue cube) has 2 actions executed in order:
1. Display the pause menu widget (just for demonstration purposes)
2. Make the camera focus on the BP_Actor_InteractTrigger (white cube)



The Interaction also has other actions as well. Another action executes a State tree which can be a dialog sequence as you will see on the third object interacted in the video.

This approach makes it easier to build interactables by plugging in actions.

Inventory, Equipment And Loadout Systems

The items currently are the Potions (red box) and let's call the other one Power. You can equip 2 powers in your loadout (blue box).

Potions are the typical usable and equippable items. Powers are items that contain multiple abilities once equipped.

You have 2 loadouts that you can cycle through. This switches to the set of abilities from your next loadout.


Showcase of switching loadouts

Serialization, Saving and Loading

In this example shows the following:

  1. Display skill tree with no skill points available
  2. Gain skill points oby interacting with the interactable object
  3. Spend the (3) skill points
  4. Save
  5. Restart the game (stopping and playing in editor)
  6. Load the updated state of the interactable and skill tree

Skill Tree

For the skill tree, I developed a plugin that I’ve been improving over time. It consists of a custom data asset and an editor tool that can modify the asset. Once a node is activated, it executes the logic in its inherited node class. In this case, it applies a GameplayEffect.

This screenshot from the editor corresponds to the left skill tree shown in the 2 videos right after.

Skill Tree Editor Tool
Without Upgrades
With Upgrades

UI

I used the CommonUI plugin to develop our UI with full gamepad support. Input is also managed when switching between the game and the UI menus.

Game HUD

Contains:

  1. Health bar (bottom-left)
  2. Hotbar (bottom-mid)
  3. Loadout (bottom-right)
  4. Stamina bar (orange bar)
  5. Dodge roll indicator (yellow dot below the character).

Pause Menu And Controls autoplay muted Menu

In this example shows the following:

  1. Displays the context switch of keyboard to gamepad input
  2. Changes the input prompts depending on the input of the user
  3. Pause menu and controls autoplay muted menu
  4. Changing input binds

VFX

We used a plugin initially from fab but I’m gradually replacing it one by one. We are targeting a toon-shaded visual style and will continue improving it over time.

Attack

Attack 1-1
Attack 1-2
Attack 1-3
Attack 1-4
Attack 2-1
Attack 2-2
Attack 2-3
Attack 2-4

Skills

Skill 1-4
Skill 2-2
Skill 2-4

Others

  • Audio
  • Camera System
  • Full Gamepad Support
  • Quest System
  • UI
  • Settings

Disclaimer: This is a personal website. Opinions expressed are solely my own and do not express the views or opinions of my employer.

© Raf Formes