Upgrading PlayerState and Interactable Objects (Guardians of RPG v1.03 Update)


Hello everyone!

It's Monday which means it's time for a weekly devlog! For this and future updates I going to keep the devlogs a bit more consice and to the point. For more details on why that is, stick around to the end of the devlog. Without further ado, let's get into it.

PlayerState Update

I have created a class called PlayerState that allows me to set and get the player's state at all times. This is important because knowing which state the player is (PAUSED, MOVING, IN_CUTSCENE, etc.) can be beneficial for determining if a character should be allowed to pick up an item, continue moving, or interact with any other objects in game.

Interactable Object Update

Interactable Objects can now be interacted with by pressing the E and Enter button by means of the InputSystem. In addition to this, you are no longer able to continue to interact with an object after you have pressed it for the first time (For example, spamming the E button on an item no longer gives you infinite amount of items.)

There are many other updates to Interactable Objects as well, such as:

  • Item Objects give you more than one type of item and more than one amount of each
  • All Interactable Objects will check if your player is facing the current direction of the Interactable Object before you have a chance to interact with it.

Future Updates

Here is my agenda for the week:

  • Refine/Add any Interactable Objects
  • Add touch screen feature to game
  • Fix NPC Companion Feature

PATREON AND INSTAGRAM

I want to announce that I have a Patreon and Instagram Page! EO Comics is determined to creating more than just video games, and to keep up to date with all my projects, including more details on the Guardians of RPG video game, than you should consider following me on both accounts. Of course I want to thank everyone who's been supporting me so far on my journey. Every view, like, and comment really does mean a lot. With that out of the way, I will see you all next week.

Leave a comment

Log in with itch.io to leave a comment.