• 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
-1
Question by jamesster · Jun 03, 2010 at 07:20 PM · beginnerpickupwhere-to-start

An extremely stupid question... I'm a newbie

Ok, this is gonna sound stupid. But I'm new to Unity and Javascript (and making games in general), and I need to know. Before now, the only "programming" I have ever done is messing around on an ancient Apple 2e computer and using a graphical programming software to program home-made LEGO robots. But, about my problem. Basically, I am making a platformer where you collect 10 items around a map within a time limit. If you run out of time, game over. So, I have the countdown timer working fine (It loads the "Game Over" screen after a minute or whatever time I tell it), but I need help getting the items to work. There are 10 in each level. So, here is how I was thinking the script would work. When the character hits a collider around the item, it would ad 1 to a counter thing (Variable, correct?) and then destroy the object. Once the counter reaches 10, the player must have collected all 10 items, and it loads the next level. Simple, but I have no clue how to code it. Can somebody either write a quick sample piece of code giving some ideas or refer me to a scripting tutorial? Thanks!

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

3 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by Cyclops · Jun 03, 2010 at 07:38 PM

One Question/Answer that everyone should read is: How do I learn Unity fast? It contains a ton of tutorial links, videos, book recommendations (Will Goldstone has a book on Unity Game Development that's great), etc.

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
avatar image
0

Answer by TaigaStudios · Jun 30, 2010 at 08:29 PM

for game logic and drawing GUI i recommend simple 2d shooter tutorial at 3d buzz, you can use OnTrigger colliders for collecting objects ( increase score and delete object you have collided with).

for making games you wont need to go study university level programming carreer as I did, you only need passion and dicipline to learn things yourself, find tutorials online theres more avaible than you could ever do. And the more you study the more you learn.

My motivation comes from this idea that i have. This is the coolest job there is out there,

and secondly I have always wanted to learn how the games work and how to modify and make them.

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
avatar image
0

Answer by willgoldstone · Sep 02, 2012 at 05:02 PM

Some news on Learning Unity, from the official site -

http://blogs.unity3d.com/2012/08/29/learn-unity-coming-soon/

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

Is it possible to start making a game without any experience in programming? 5 Answers

Making the leap - How to get into Unity development? 3 Answers

Help with adding power ups to game 1 Answer

i'm entirely new to unity. 1 Answer

I am new here were should i start 5 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges