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 UnityBeginner · May 12, 2011 at 04:03 PM · fpsbeginnerwhere-to-start-scripting

How to start scripting?

I have been using unity for almost a year now. I have learnt all the basic stuff and I have been watching some beginner tutorial series like Tornado Twin's and Burgzergarcade's videos.

But now I would like to begin making my own games instead of just copying those tutorials. I already have tons of useful ideas in my head, but right now my biggest problem is how to get started with scripting. I already have a wide collection of scripts from the tutorials, but I would like to make my own scripts from scratch.

Here's an example:

I want to make a simple 3rd person shooter. I have models for my character, weapons and enemies. Then I need a script to control my character, camera behaviour script, weapon control script, AI script and so on...

How to get started with all this? Should I just learn more and more Javascript from tutorials until I am experienced enough to write a script from scratch? Do you have any good tips for scripting? How did you guys learn writing codes?

Please help me!

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by GesterX · May 12, 2011 at 04:22 PM

A 3rd person shooter is not a simple first project. It's good that you've done a lot of tutorials but you need to make sure you've UNDERSTOOD them too.

So for example how about something like space invaders. You should be able to build that without too much trouble. Just think of the things you need:

  1. A player object that moves left and right
  2. A way to make the player shoot
  3. Some enemies that move in a pattern towards the player
  4. Scripts for score/time/health
  5. You can add a menu/music/difficulty

If you can do something like this then you know you're heading in the right direction. Following tutorials is great for learning but what's better is applying the techniques you've learnt and problem solving (LOTS of problem solving).

Make sure you become good friends with the scripting reference. You'll spend a lot of time in their figuring out the best functions/classes to use.

Oh and if you get stuck - no matter how simple the problem/bug then the helpful folks here are more than willing to point you in the right direction

Hope this mass of information some what helped you :-)

EDIT: One final thing - check out http://www.unity3dstudent.com/category/modules/ for lots of mini lessons on all of the basics (and a few advanced things). The tutorials there are great because they explain how to use a single function in an easy to understand way!

Comment
Add comment · Show 2 · 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
avatar image UnityBeginner · May 12, 2011 at 04:47 PM 0
Share

Thanks for your help! Now I'm gonna take a little closer look to the scripting reference and that website you pointed out and maybe start making some kind of space shooter :D

avatar image GesterX · May 12, 2011 at 04:57 PM 0
Share

No problem. Definitely start with something simple - you'll soon realise that there are hard parts to every project! I would reccomend just getting stuck in. Figure out how to make the player move and shoot. How to make the enemies move. How to make bullets kill the enemy etc...

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

No one has followed this question yet.

Related Questions

How can I add recoil to my gun? 0 Answers

I would like to learn a programming language. I have no prior experience in programing. What would you suggest for a beginner? 2 Answers

First person weapon colliding with player graphics? 1 Answer

Starting Unity/Programming from scratch 1 Answer

Recommended tutorial(s) for someone with no scripting, game dev experience? 2 Answers


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