Nov 2016

Metoria Games Programming: Character Stats Set up

RPG Hack Slash Game: Characters Stats Setup

This today and this month I am working on the character stats setup. In RPG games this is the most important set before i ever think of producing the game. It is vital that there is a system in place for the player to select a character and level up their stats. In the screenshot a character selection screen along with the initial stats is created.

Screen Shot 2016-12-13 at 16.36.08

Figure 1: Create Character Selection + stats

Screen Shot 2016-12-13 at 16.35.32

Figure 2: Character Base Stats

Screen Shot 2016-12-13 at 16.35.22

Figure 3: Character Exp / Level System

Screen Shot 2016-12-13 at 16.35.15

Figure 4: Character Attribute Names and Exp Modifier

Screen Shot 2016-12-13 at 16.34.58

Figure 5: Character Skills

Screen Shot 2016-12-13 at 16.34.49

Figure 6: Character Generator(Loads the model)

Screen Shot 2016-12-13 at 16.34.22

Figure 7: Character Save data( Stores and saves the Character and Username)

Metoria Games Programming: Early Progress the Player Controls and Enemy Movement

RPG Hack Slash Game: Early Progress the Player Controls and Enemy Movement

The next step is create a couple of scripts that controls the players and enemies movements. Also the attack script is implemented into both the players and enemy game object.

To do this firstly a third person controller and script is attached to the Player game object. This will allow the object (which is the player game object in this case) to be control using the keyboard controls. Below is an example of the script.

Screen Shot 2017-01-17 at 17.09.02
Figure 1: Third person Controller Script

The next step is to implement a way for the enemy to move towards the player. This is achieved by using a function that allows the enemy to see the player and then rotate and move towards the player. When the player moves away the enemy will continue to follow them. Below is the script i used for the enemy chase.

Screen Shot 2017-01-17 at 17.10.03
Figure 2: Enemy Attack Script: Chasing the Player

Once the script is created the next step is to implement the player attack script. This will allow the player to able to attack the enemy. Down the line it will be developed into a more complex structure such as selecting which enemies to attack and maybe potential interacting with objects. Below is the script.

Screen Shot 2017-01-17 at 17.09.35
Figure 3: Player Attack Script.