Training Center

Basketball Shootout

Basketball Shootout

You'll create a basic minigame in which a basket moves around the screen and the player controls three characters trying to shoot a basketball. This will teach you about basic game structure, triggering animations, the Input class, collision, instantiation, using GUI for game feedback and menu buttons, and utilizing power-ups. You can build on this game by adding levels, challenges, more power-ups, or by using custom art assets and taking it in your own direction.

In this module you'll learn how to make a sports minigame that requires you to make as many baskets as possible before the timer runs out.

Additional Info

  • Runtime 02 min 43 sec
  • Software Unity
Login to download project files

Learn how to create game with a menu from which you can load the rest of the game content. We'll talk about GUI Buttons and the Build Settings window.

Additional Info

  • Runtime 03 min 14 sec
  • Software Unity

We supply you with all the models you need for this tutorial including a basketball court, a ball, and a player. We need to add them to the Unity project now so we can use them later.

Tagged under

Additional Info

  • Runtime 04 min 01 sec
  • Software Unity

In this section we set up the level elements for our basketball game. We place the court, the players, and the basket. We also tell the basket to move back and forth across the court.

Tagged under

Additional Info

  • Runtime 15 min 35 sec
  • Software Unity

We need to set up the framework for instantiating basketballs in the correct positions and animating the player models to set up a shot upon user input.

Additional Info

  • Runtime 12 min 11 sec
  • Software Unity

Once a ball is thrown into a basket, we need to detect the player's success in doing so and increment the player's score.

Additional Info

  • Runtime 13 min 04 sec
  • Software Unity

Now that we have the basketballs in the correct positions, we can animate the players to shoot the ball and then apply proper force to launch it towards the basket.

Additional Info

  • Runtime 11 min 48 sec
  • Software Unity

We have to make some changes to the ball's physics behavior to create a better gaming experience, such as modifying its bounciness and the force applied upon shooting.

Additional Info

  • Runtime 15 min 42 sec
  • Software Unity

We add an extra bonus for the player by making the ball catch fire after they make enough baskets in a row. The flame ball also adds more points per basket. We'll use an ellipsoid particle system to create the fire effect.

Additional Info

  • Runtime 09 min 48 sec
  • Software Unity

We need to add visual feedback to the game by displaying the score, and also by creating buttons for the Main Menu.

Additional Info

  • Runtime 10 min 47 sec
  • Software Unity

At this point, the game only has one level, so we need to end the level after a timer runs out, and then load another level. We also add GUI labels and buttons to facilitate this.

Tagged under

Additional Info

  • Runtime 13 min 04 sec
  • Software Unity

At this point, the game only has one level, so we need to end the level after a timer runs out, and then load another level. We also add GUI labels and buttons to facilitate this.

Additional Info

  • Runtime 19 min 59 sec
  • Software Unity

Chapter List

Questions? ¿Preguntas? 有问题吗? Domande? Вопросы? 質問はありますか? सवाल? الأسئلة؟
This email address is being protected from spambots. You need JavaScript enabled to view it.

About design3

design3 is THE game production web portal. Whether you’re an industry veteran keeping up with new tools and trends or an aspiring developer searching for professional training, expert advice and career tips – design3.com is where you need to be.

Sign-up for our newsletter!

:

Copyright © 2006 - 2012 design3. All rights reserved.

Sign In or Become a member

Facebook user?

You can use your Facebook account to sign into our site.

Log in with Facebook

LOG IN