Fixing Portal System

 

 

Xodius Studios Blog #4

Fixing Portal System

Author:Justin Palmer
Published: 03/10/2023 20:30

The Problem:

    The main problem this week for me was getting the portal system integrated for easy use by game designers.  The Portals would stay active when placed and were required to always be a pink color.  This would pose an issue for the player and designer as they can't differentiate which portal they will teleported to, if there are more than 2 portals.  The game would quickly become very hard to navigate in bigger levels.



Problem Solution:

    Adding some creative coding and making the variables public, I was able to make some quick change variables, such as active/activeColor/IdleColor/RespawnTimer/TargetPortal.  With these Variables exposed to the designer they can choose with the simple click of a button what color the portal is when it is off and on, how long until the portal is able to be active again, and just a simple click to determine where the portal will teleport.  This makes it much easier for the designer and player to navigate the level, and makes the game more enjoyable.





Comments

Popular posts from this blog

Xodius Studios Blog #5 Notification Pop Up, Intro-Level Design, Menu Indicator, Pause Menu UI Bug, and Interaction Bug

Importing assets and animations from Unreal 5.0 to Unreal 4.27.2

AI Adventures #14 Polishing the game for demo release - "Forgotten Memories" - By Michael Marquez