- Home /
Question is off-topic or not relevant
Looking for a forum or group to discuss UnityScript
I've been coding with UnityScript for a few years now, and I've gotten the jist of how things work with it. All the things I have set out to do I have found a way to do through tutorials or this site. I'd say I have a pretty good handle on all the moving parts and how to make them work together. What I'm not sure I have such a good handle on is how best to fit all those parts together.
Like I said, everything I've set out to functions correctly, but I have little to no idea if the systems I've put together are the most effective way to get things accomplished with the unity engine. I have yet to get my game in a state were I've actually got every piece working at the same time. For example I have a combat script that works great in its own scene, and I have a non-combat script that works well in its own scene, but Im not sure what the best way to put them both in a scene together that switches between combat and non-combat as I encounter enemies and kill them all.
Would it be better to have the two scripts each with similar input keys that do different things on the same object and have a third script that turns one off and the other on as I enter and leave combat, or have a third script that handles all input and sends the information to the two different scripts? Does it matter if the scripts are on the avatar I am moving or is it just as effective to put them on a separate game object that sends the information to the player avatar? If so should I use SendMessage(); to get the info the the player avatar or is it more efficient and accurate to assign the components through variables?
As I've gotten to the place where Im actually starting to piece my game together I am having to make these decisions (that I think will be very time consuming and difficult to go back and change once Ive started building new code around them) I have really no idea where to find this stuff out. I was wondering if there was a forum or group somewhere out there on the internet for discussing larger game design using the unity engine and UnityScript.
I feel like its too broad a subject for the ask a question and get an answer format of the UnityAnswers forum.
Another example: I was trying to find a way to get my inventory system working correctly a few months (years?) back. I have it set up with static variables, and the answer I got was NEVER EVER use static variables or classes for anything. I tried to ask why and the guy pretty much told me I don't know enough about them to even discuss it, this was not the question I asked switch it to non-static variables ASAP. I couldn't get it work with non static variables at all, and so far everything I have done works very well with them. I never got any kind of answer on why I shouldn't be using them.
So does anyone know a place I could go where people discuss the way they have their game structured and can offer advice to people looking for help and advice? Or somewhere where people just discuss the way they have things set up and get some dialogue going? I don't want to spaghetti my code, but I have no idea what that means or how to avoid it. I would be eternally grateful for any leads or points in the right direction.
Normally I would close this off with "discussion topics are better for the forums"
Today that actually the answer. Top of your screen, blue bar. Right next to where you click to get to answers? Click on forums. The forums are digned for the type of discussion you are after.
Follow this Question
Related Questions
Text clearing issue- game breaking 1 Answer
Hide the ImageTraget in Real world 0 Answers
What can i do? Unity no responding when i load a list. 1 Answer
UnityScript auto-format? 0 Answers