This template and tutorial allows you to build your own Currency Counter System in GB Studio for Buying and Selling in game.
The main feature of this template is the Currency Counter on the upper right of the in game screen. The sample shop, buying and selling feature and +1 coin feature (from interacting with the coin) are all extra stuff for you to get the entire feel of this system.
Below are downloadable files that contain the Currency Counter template.
(Made in GB Studio 3.1)
_____________________________________________________________________
_____________________________________________________________________
Before you begin using this template I would like to give you a few reminders.
1. I highly recommend for you to start your project with this template first then build your game from then on. Because the script 'Player Coin Counter' resets whenever you copy the Event onto another project. Therefore a very tedious process switching all animation states of all digits. (You'll understand once you see the script). You may also just duplicate the sample mart I made and just change the background, the Currency Counter wont be affected. *It is only when you copy the digits actors onto another scene or project messes the animation states up.
2. I made all variables far down the list between Variables 118-125 so it won't affect any of your variables that are near the numbers 1-10 if you do copy the scenes in this template to your projects.
3. Make sure you place the 'Player Coin Counter' Event on "Init" scene, on actor and/or trigger if you want it to update properly as you interact with everything in scene, also - depending on what you want to achieve.
You can't place too many in one list though because the build won't run properly since the currency counter has a lot of topdown events inside.
4. I have tested using the increment variable by 1 adding +1 (coin) to the Currency Counting System from 1-999 and was successful. Also tested going beyond 999 and going below 0 and it's all good.
5. Make sure your animation states for the numbers sprites are adjusted if you do choose to transfer this template to another project. (*The number digits are behind the coin banner if you are wondering where they are during gameworld mode)
(November 12, 2023 Update)
I made the counters appear simultaneously on each 0.1 tick after every interaction.
By supporting what I do, it encourages me to do more!
Thanks for dropping by!
Special Thanks to:
Jan Schneider of Murder Mansion (Assets used for Sample Mart)
This asset has not received any reviews yet.
You must be logged in and have bought this asset to leave a review.
Great news! All assets on GameDev Market come with our standard Pro Licence.
Whereas some asset stores have multiple licence versions, we believe having only one licence keeps things as simple as possible for our users, so that you can keep on doing what you love without any doubts over where and how you can use your assets.
At a glance, here are some of the key points from the licence:
You can:
You cannot:
You can check out the full Pro Licence here.
Please login/signup to add this product to your wishlist.
Name | Value |
---|---|
Version | GB Studio 3.1 |
Last updated | April 24, 2025 |
Included formats | gbsproj |
Created in | GB Studio |
File size | 290.44 KB |
Changelog | N/A |
Vector | |
Layered | |
Sprite |
Name | Value |
---|---|
Version | GB Studio 3.1 |
Last updated | April 24, 2025 |
Included formats | gbsproj |
Created in | GB Studio |
File size | 290.44 KB |
Changelog | N/A |
Vector | |
Layered | |
Sprite |
*You will receive an email once per week when any Followed Creators list new assets
Log in and Share this asset and your Alliance link will be included, meaning you will earn money back on any sales/purchases made by new members joining through your link! See the Referral Guide for more details.
GameDev Market is a marketplace for high quality, affordable game assets handcrafted by talented creators from all around the world.
GameDev Network Limited is registered in England & Wales (08951892). Registered office: Baltic Co-Working Space, 12 Jordan Street, Liverpool, UK. L1 0BP. ICO registered (ZA122213).
© 2025 GameDev Network Limited. All rights reserved.
Be the first to leave a comment.