CS 491 Lab 2 – Breakout
September 19, 2015 by Chris Johnson. Filed under
Deprecated: Creation of dynamic property WP_Term::$cat_ID is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 378
Deprecated: Creation of dynamic property WP_Term::$category_count is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 379
Deprecated: Creation of dynamic property WP_Term::$category_description is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 380
Deprecated: Creation of dynamic property WP_Term::$cat_name is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 381
Deprecated: Creation of dynamic property WP_Term::$category_nicename is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 382
Deprecated: Creation of dynamic property WP_Term::$category_parent is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 383
Deprecated: Creation of dynamic property WP_Term::$cat_ID is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 378
Deprecated: Creation of dynamic property WP_Term::$category_count is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 379
Deprecated: Creation of dynamic property WP_Term::$category_description is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 380
Deprecated: Creation of dynamic property WP_Term::$cat_name is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 381
Deprecated: Creation of dynamic property WP_Term::$category_nicename is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 382
Deprecated: Creation of dynamic property WP_Term::$category_parent is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 383
Deprecated: Creation of dynamic property WP_Term::$cat_ID is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 378
Deprecated: Creation of dynamic property WP_Term::$category_count is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 379
Deprecated: Creation of dynamic property WP_Term::$category_description is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 380
Deprecated: Creation of dynamic property WP_Term::$cat_name is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 381
Deprecated: Creation of dynamic property WP_Term::$category_nicename is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 382
Deprecated: Creation of dynamic property WP_Term::$category_parent is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 383
fall 2015, gamedev2, labs.
First, if you have checkpoints left over from last lab, get them inspected during the first 15 minutes of this lab. No credit will be awarded past these 15 minutes.
Breakout
Breakout is a metaphor for email: every time you send a message, another comes back to you. After a while, lots of conversations are volleying back and forth, and ultimately, things get going so fast that the only way out is to let the bouncing messages go unanswered. Losing is winning your life back.
Let’s implement this game! Why? To make sure that you can say the following about your Unity skills:
- I can control a character using
Rigidbody2D and keyboard input.
- I can use colliders to stage an object’s destruction, to retain the player in the game area, to expire offscreen projectiles, and so on.
As a team, you draft a plan of what you should do to get this up and running. Observe these guidelines:
- Work in small, incremental steps, jumping from testable milestone to testable milestone.
- Rotate team members at the keyboard between milestones. (The chairs spin!)
- Create a game that lets the player destroy a wall structure by bouncing a ball into it. Make use of
Rigidbody2D, colliders, physics materials, and whatever else comes in hand. I recommend not using gravity. Instead overload the OnCollisionEnter callback and reflect the ball’s velocity around collision.contacts[0].normal.
Credit will be granted if you can demonstrate the game during this lab or the first 15 minutes of the next lab. If you do not finish during this lab, get your team together and finish it before the next lab.