Hi,
I hope i can explain this as simple as possible. I am making a game which involves a plane as the main player, and i am currently on hold with my project since i am unable to implement an upgrading system where i can increase the damage/stats of that plane every time i have enough of that currency to upgrade. can anyone give me a simple push to keep going and help me with scripting it??
Nothing about this sounds like a “simple push” to me- you need to think up and attempt the execution of some method for accomplishing what it is you’re after IMO, and then (when an effort has been made) I’m sure everyone here would be more than happy to help you out when you run into a problem. We can’t make the project for you though- we have our own projects.
If you’re truly absolutely clueless as to any method of doing what you want, you have bigger problems than being “pushed”. I’d recommend reading a C# book, watching any and all tutorials on Unity that you can find on the internet, and maybe writing a few simple demo projects.
I’m not trying to be mean-spirited or anything- I tried to make the response sound as far from “annoyed” as possible and yet it still sort of had that vibe to it despite my best efforts. I wasn’t annoyed, I promise. However, there are literally over a hundred ways of doing what it is you want to do, and most of them are very very simple like “one week of programming experience stuff”, which is why I’m unwilling to help you directly to do what it is that you want.
I really do hope that you choose to stick with this and learn a programming language and make a fantastic game some day- I’m of the belief that the world can always use more good games. That said, even as a hobby, making games takes a bit of commitment to learning some things before you even start. It’s just a part of the deal. Put in the effort and you’ll be rewarded, I promise.
The problem is that what you are describing is a very basic mechanic. There are a million ways to tackle this. As was already mentioned, I suggest reading a book on general C# coding (to get a feel for the language) and then to look at existing Unity code. To do so, look at the “Complete Projects” section of the Unity Asset store.
You can also buy NGUI, since some of the included examples adress the problem you are describing. And I am sure other assets on the store do too. Also notice that there are Asset Store assets that solve the problem you are describing directly, i.e. they are providing some Inventory/Power-Up system - thus very likely eliminating most necessary effort required from you.
Stick with C#, the documentation and available knowledge on the forums are way better for it. Also it is more directly the same C# as you might use on other projects, while the JS version Unity uses is a very, extremely, modified version of JS. You really can’t even call it JS anymore…
As for your problem, what do you have currently? What is your idea of getting the currency you need to upgrade weapons? How do you envision spending it? Will upgrades be automatic, or does the player have a choice what and when to upgrade?