SGD300-Hearstone Item or Function


1. Introduction

It is true that most of functions of our game has developed. So, I choose to work on some skills or items which could enhance the game content for the users.

2. What is it?

In many RPG genre, player can move other to places without spending much time.

For example, In game WOW (World of Warcraft) there is an item named "Hearstone" that allows user to move to the safe area (Inn) by clicking the item. 

I believe our game needs some levels or stages where player can encounter different types of monsters. So, If player does not have enough Hp or Mana; It could be very stressful for them to go to the village without facing monsters.

3. How to implement it

I found out that this function can be implemented by simply re-direction or re-position the player character to the specific area where is safe place.

So, I planned to use player.postition.transform = safe area position.

And It works perfectly as I expected

4. Whats left?

I would like to make this function to an Item. 

I have checked that Inventory system has completed. So, I am suer that it can be made by referencing inventory script

5. Lesson learned

- Method for redirecting player position

- After reading Inventory script, I had some insightful idea about implementing this function in my game

Get SGD300-Dungeon Siege Semester long Project / Task3

Leave a comment

Log in with itch.io to leave a comment.