Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by JoshMBeyer · Mar 06, 2015 at 07:48 AM · programming-basics

How To Design Scripts/Systems

So I've watched several videos on how to make specific scripts, game creation tutorials, c# tutorials.. etc. In these videos they talk about the "Planning" for the scripts. In there presentation it will show a web like layout showing what the system will do, and basic explaination of how it works. And they say you need to plan out your scripts or design their structure. But they never explain "how" they come up with these designs. When I make a script, I create it, create some variables, and some functionality. No planning what so ever, and just add variables, methods, and so on as I need them through the process of making the script. After watching all these videos I feel I need to learn about designing a system. For example an inventory, combat system, or even a network system. I don't care about what the system does, just how to design it and think about it before just jumping in hoping when I come out the scripts work. Does anyone have an advice, or know of any tutorials/courses that will help me with this?

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image AmazingDeveloper2 · Mar 06, 2015 at 08:30 AM 1
Share

You need to read the book about program$$anonymous$$g patterns. It isn't about Unity, it is about whole program$$anonymous$$g sphere. Try this

avatar image christophfranke123 · Mar 06, 2015 at 11:54 AM 0
Share

That's a wide and complex area every programmer has to struggle with. There are some helpful principles like DRY (don't repeat yourself) and Orthogonality (building modules, that take care of themselves with $$anonymous$$imum or no communication to other modules) and there are many design patterns (singleton, strategy, factory) that can aid you.

avatar image Powned · Mar 27, 2015 at 09:43 PM 0
Share

Have you had any progress in making a new CoP?? I know its not an answer im just curious

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by PvTGreg · Mar 06, 2015 at 09:53 AM

Hi i would start with just drawing out how you want it to look write down some ideas of how you think it could work and then go ahead and create the skeleton of it in code maybe even start with psuedocode if you feel like it. instead of just jumping in and programming with no clear goal just take a seat and jot down some ideas

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

24 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Converting this JS code to C# 1 Answer

How to keep Text file going in different scenes? 2 Answers

How to make Prison Architect style building? 0 Answers

MoveTorward teleporting instead of moving usually 0 Answers

how do i create a slider after clicking a button? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges