Post news Report RSS The Wanderer - Bloodlust : Gold Mechanics

Implemented gold mechanics. Single coins and gold stacks that can be gathered from the ground or from containers.

Posted by on

Gold Mechanics - Picking up gold coins


Implemented gold mechanics. Single coins and gold stacks that can be gathered from the ground or from containers. Gathering them will display a gold "+1" Effect on top of the character, or near the cursor when gathering from containers.

Picking Up Gold


There are single coins or stacks of multiple coins ranging from 2 to 500+

Gold Stacks Graphics


Stacks graphics for 1 coin, 2-9, 10-49, and 50+ coins.

They also work in containers.

Container Gold

Container Gold Large

Looting various gold stashes from a container:

Container Gold Stashes

For the gold in containers we added a special property on some items, that increases the amount of gold dropped in them by a percentage.

Greedy Jewel


One such item is a trinket called "Greedy Sealord's Jewel", which increases gold from containers by +12%

Video example:

There will be more items of this type, but pretty rare. This game is all about creating unique and custom builds, so may these types of items be of help in that endeavor.

This wasn't too big of a deal but it needed some extra coding. Mostly populating containers, which was a lot of work as shown in the last article. Adding multiple gold images was pretty easy to do. Handling how the gold behaves as an item needed some work.

Overall there wasn’t too much work with the gold itself but more with the containers.

Adding gold stashes in containers from the editor:

Adding Gold In Containers

--Ppreda , the Programmer.

Post comment Comments
Guest
Guest - - 689,075 comments

luvit bruv

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: