top of page

Mobile RPG study

  • Sep 12, 2021
  • 2 min read

As gamedevs, we all wanted to make our RPG's right? I too really wanted to make one so I made one as a gift to my girlfriend for her birthday! Games are a great tool for story telling, and using it for personal enjoyment is super underrated. Games are amazing gifts!






The setup

For this one, I knew I wanted to use Unity's tilemap system. So I jumped right into it, I got some assets off of KennyAssets.com and created my Tile pallet!

Setting up the Tile pallet was TIME CONSUMING. It took me hours just to learn the Tile pallet shortcuts and to arrange my tilesets and fix layering. But in the end, the neat and tidy setup paid off!


Level Design


For the level design, I wanted to mimic Manila bay, So I got totodile to help me draw it on my notebook.

Being the inanimate object that he is, he didnt help much, instead I had to draw and map out my level using pen and paper and also google maps









Once that was done, I proceeded to place my tiles on the corresponding grids!



Systems design


Quests

Designing the quest system was fun, the Observer pattern helped me alot in this. I made a scriptable object that I can attach to stuff that can trigger events!


So I just make different Scriptable objects for different Events such as Quests, Dialogues Etc.,


Then Utilizing the Pawn inspiration again from Unreal engine, I made a Pawn script that can hold different game modules, For this pancake, It is an interactable so he gets another Component script: Interactable that takes in a field which is the dialogue event!


Expanding on the Pawns


"My pawns can do anything!" is what I had in mind when I made this. I really wanted to make it like GameObject or Unreal's Pawn that you can just add the components and only 1 update runs the pawn's overrides! pretty neat huh?



Player Manager


The player is a bit different, the player is now inheriting from Pawn and is now an "Avatar" which is almost the same as Pawn but an Avatar is intended for multi-threaded scripts and other special functions, like a rigid body!



Assembling it all together


With the base systems in place, it was only pure elbow grease to build the town, make the story and make the game!







Final thoughts


Unity's powerful engine capabilities are limitless however its only limitless if one wants to put some time to it and Unity's tile map system is amazing and fun to use! and Lastly, I realized that games are the ultimate form of art that you can share! Paintings give visual feedback, stories give memory feedback or music gives sound feedback, but games can do all of those. So its an amazing way to express one self.



 
 
 

Comments


bottom of page