Hi i am kinda new to coding and i was wandering how i would be able to make a script that displays a skill at the bottom right of the screen i want to have like a building skill that would say some thing like Building: 1 for example 1 as the level and i would like to be able to add more levels like if for example the player clicks on a cube or something it would add 1 point to the building skill as i want to be able to make different houses as the building skill goes up thanks in advance ![]()
There is a lot of work ahead of you
The community here can help you with a specific roblem, such as finding not so obvious bugs in your code or giving you a nudge in the right direction – it is very unlikelly however that they will supply such code for you.
The Support page has many excellent tutorials, assets and script references you can use
Also, look at the Support section here in the forums – the pinned topics have even more user made tutorials of professional quality that can be very informative for the beginner ![]()
Good luck!
Thank you! ![]()
You just need to think thru the steps. It’s not trivial, what you are asking, but very doable.
Before I go any farther, I’d suggest you run some of the tutorials - a list can be found in the teaching section. Also, you can take one of the online classes to get you started - Learn
For displaying your information you need to read the GUI Tutorial:
http://unity3d.com/support/documentation/Components/GUI%20Scripting%20Guide.html
For what to display, in the most simple form (and I’m sure you will need to be more complicated in the end), you will need a variable to hold the players building skill level.
Then you will need to logic / code to collect clicks and test the clicks the player makes. The test would be to check if the click was on an object that would increase the player’s skill.
Let me know if this is not enough to get you started.
Great thanks i am looking at a few GUI tutorials now it just sucks my internet ran out yesterday and is on dialup speed haha so sadly i cant watch videos but i’ll let you know how i go thanks ![]()