- Unity 3D Game Development by Example Beginner's Guide
- Ryan Henson Creighton
- 344字
- 2021-04-09 22:51:23
What kind of game are we going to make? Well, let's pretend that you are totally pumped up about volleyball (work with me here). All you can think about night and day is volleyball. You dream about it at bedtime. You play it every chance you get. So, when it comes to making your first game in Unity, there's no question: you have to make a volleyball game.
Let's back away from that idea a little and, using what we learned in Chapter 2, Let's Start with the Sky, evaluate the difficulty level of a volleyball game. Volleyball features two teams of six players on either side of a net. A server hits a ball with his hands over the net, and the teams cooperate to keep the ball in the air, hitting it back and forth over the net. The rally ends when:
- One team lets the ball hit the floor
- The ball goes out of bounds
- An angry puma bursts onto the court and starts chewing on the star player
The first team to score 25 points wins the set. A match is best-of-five. Then there are a number of rules that govern how often and in what way a player may hit the ball (hint: no grabsies).
Hopefully, it's clear that volleyball is a BIG game with lots of rules and a helping of complexity. Multiple teams mean that you have three options:
- Two-player, same computer: both players share the keyboard and mouse to compete against each other
- One-player, same computer: so, you'd have to program AI artificial intelligence to enable the computer to play against a human
- Two-player, different computers
We saw in the last chapter that these multiplayer options can add significant layers of complexity to a simple game. Right out of the gate, the challenge is daunting. In addition to providing for two teams, having multiple players on each team means that you have to program a way for the player to switch between different characters. And who knows how you're ever gonna animate that puma?
- AutoCAD 2018實用教程(第5版)
- Moodle 1.9 for Teaching 7/14 Year Olds: Beginner's Guide
- Dreamweaver基礎(chǔ)與實戰(zhàn)教程
- 工業(yè)產(chǎn)品設(shè)計(Inventor 2010)
- 圖像處理基礎(chǔ)教程(Photoshop CS5)(第2版)
- SolidWorks2014基礎(chǔ)實例教程
- After Effects影視特效立體化教程:After Effects 2021(微課版)
- Java EE 6 with GlassFish 3 Application Server
- NetSuite OneWorld Implementation 2011 R2
- 虛擬現(xiàn)實:沉浸于VR夢境
- AutoCAD 2020中文版入門、精通與實戰(zhàn)
- Magento 1.3 Theme Design
- Plone 3.3 Site Administration
- Instant Apache Sqoop
- Cinema 4D R20完全學習手冊