Lead your nubs into unknown territory in search of Gold Gems and Shiny loot, then expand your kingdom so that one day you and your tiny minions may seize all of the treasure in the world. Build your base with the gold you horde from your adventures, construct buildings to train your Nubs in the art of combat, then Lead your force into to world to fight enemies, monsters and to retrieve magical Loot. to new frontiers.

Post news Report RSS Third week of develoment, focus on inventory

A short summary of what I've been working on this week, which includes integrating the item generator from last week into the main game, and fixing some other things.

Posted by on

In this past week of development I continued working on the item generator I started last week. This involved a lot of things and consumed my entire week. The first thing I had to work on is the grid which shows which items the player owns.


This was donw using 16 buttons which are arranged using the layout tools in Unity. As you can see this also includes multiple pages which can be flicked through at the bottom of the screen. The way this works is that while all the items are in one long list, only 16 of those items are shown at a time by being transferred to an array.


Each item is also generated randomly with a certain range in stats. This includes things like damage, defence, elemental type (if there is one), and of course which type of item it is (sword, bow etc.). There are also four different rarities for the items, ranging from the standard normal to legendary (with different names however).


The bow I got here is of "Shiny!" rarity, which is the rarest, and only has a 1% chance of dropping, so that's pretty lucky.

Next to this inventory stuf I also worked on mobile integration of the game. This meant adding touch support for the dragging of the camera, and also pinch zooming. These did not take nearly as long as he inventory as Unity makes it quite simple. I did learn a lot about the possibilities on mobile though; touch devices can check for a lot of information regarding the touch of the player.

Next week I should be adding the training of different units from different buildings, which includes drag and dropping units.

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Report Profile
Icon
Loot Nubs
Platforms
Windows, Android
Developer & Publisher
Dungeon Door Games
Engine
Unity
Contact
Send Message
Release date
Game watch
Follow
Purchase
News
Browse
News
New
Post news
Report
Report
Views
53 (1 today)
Share
Related Games
Loot Nubs
Loot Nubs Adventure
Related Engines
Unity
Unity Commercial
Related Groups
Android Fans
Android Fans Hardware & Tech
Dungeon Door Games
Dungeon Door Games Developer