top of page

Coding Skills: Future developments

I wanted to write about what all I was planning to add into the game as I worked on it, so that everyone would be on the same page. There will be a list of the things I want to add in, and then for the first blog I will only delve into detail as to how I want to do some of the design aspects on the list.

  • UI Work

  • Inventory Slots

  • Stamina Bars

  • Weapon Stamina Bars

  • Item Pick Up

  • Jump

These are a few of the functions I would like to add, which I will be elaborating on very shortly in this blog.


UI Work:

My plan is to use the existing script for inventory and slot management to create a 27 slot inventory for players to store items. This will require the use of a canvas and image from online sources as a sort of dark background when the inventory is opened.


Inventory Slots: This links very closely with the above topic. In each of the slots, a singular weapon, or multiple items (depending on the items themselves) can be stored. Again, this will have to be coded in using scripts, but also using sprites of the items with a canvas.


Stamina Bars: I've decided to talk about weapon and running stamina in one section. Both act on the same principle, that if the slider reaches 0, then sprinting or attacking for a certain amount of time becomes impossible, and is only reinstated once stamina reaches a certain point or fully recharges.


Item Pick Up:

This yet again links closely with the inventory, however, I will need to code in a certain function that allows the user to click a key to add that item into their inventory, while also playing some animation.


Jump:

While the name is self explanatory, the process of adding it is much harder than it seems. It can be done one of two ways, either by animation or physics. My plan is to use physics, since I already use it for the falling of the player.





Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
bottom of page