
Bonus Features 4 - Share your Work
Exercise
Beginner
+60XP
60 mins
Unity Technologies

In this tutorial, you can go way above and beyond what you learned in this Unit and share what you’ve made with your fellow creators.
There are four bonus features presented in this tutorial marked as Easy, Medium, Hard, and Expert. You can attempt any number of these, put your own spin on them, and then share your work!
This tutorial is entirely optional, but highly recommended for anyone wishing to take their skills to a new level.
Languages available:
1. Overview
This tutorial outlines four potential bonus features for the Sumo Battle Prototype at varying levels of difficulty:
- Easy: Harder enemy
- Medium: Homing rockets
- Hard: Smashingly good
- Expert: Boss battle
Here’s what the prototype could look like if you complete all four features:
The Easy and Medium features can probably be completed entirely with skills from this course, but the Hard and Expert features will require some additional research.
Since this is optional, you can attempt none of them, all of them, or any combination in between.
You can come up with your own original bonus features as well!
Then, at the end of this tutorial, there is an opportunity to share your work.
We highly recommend that you attempt these using relentless Googling and troubleshooting, but if you do get completely stuck, there are hints and step-by-step solutions available below.
Good luck!
2. Easy: Harder enemy
Add a new more difficult type of enemy and randomly select which is spawned.
3. Medium: Homing rockets
Create a new powerup that gives the player the ability to launch projectiles at enemies to knock them off (or something that automatically fires projectiles in all directions when the powerup is enabled).
4. Hard: Smash attack
Create a new powerup that allows the player to hop up into the air and smash down onto the ground, sending any enemies nearby flying away from the player. Ideally, the closer an enemy is, the more it should be impacted by the smash.
5. Expert: Boss battle
After a certain number of waves, program a mini “boss battle,” where the boss has some completely new abilities. For example, maybe the boss can fire projectiles at you, maybe it is extremely agile, or maybe it occasionally generates little minions that come after you.
6. Hints and solution walkthrough
Hints:
- Easy: Harder enemy
- Try using an array for the enemy prefabs.
- Medium: Homing rockets
- Try using an enum to differentiate the power ups
- Hard: Smashingly good
- Extend the enum you created in the previous challenge
- Expert: Boss battle
- Create a new SpawnBossWave function that only runs if the wave number is a multiple of a particular value.
Solution walkthrough
If you are really stuck, download the step-by-step solution walkthrough.
Note that there are likely many ways to implement these features - this is only one suggestion.
7. Share your work
Have you implemented any of these bonus features? Have you added any new, unique features? Have you applied these new features to another project?
We would love to see what you've created!
Please take a screenshot of your project or do a screen-recording walking us through it, then post it here to share what you’ve made.
We highly recommend that you comment on at least one other creator's submission. What do you like about the project? What would be a cool new feature they might consider adding?
Please login to submit
Complete this Tutorial
Submission Gallery
Sumo Balls PVE
Waveごとに出現する敵をパワーアップアイテムを駆使しアリーナから押し出す相撲ゲームです。 UnityPlayのリンクは貼れていると思うので遊んでみてください。 Wave数は最大20回、Waveが進むと敵の出現数が増えていきます。最終Waveではボスが出現します。 パワーアップアイテムはホーミング弾、フリーズ、スマッシュ、テレポートの4種類あります。 今回のプロジェクトではAIにevent Actionの使い方を教えてもらいコードや依存関係がいい感じにまとまりました。 敵のAIの作成では内積や外積や数学の公式などを使いました。内積や外積はあまり理解できていませんでしたが今回で仕組みや使い方を理解できたといっていいと思います。
Davide's Prototype 4
My Prototype 4 of the Junior Programmer Pathway with the bonus features.
Proto 4 Exercise - Junior Programmer
Completed all bonus features, with some help from the walkthrough. As a personal touch, the power indicator takes the material from the powerup items.
sumo balls
bash, bonk, and bang ball-like enemies in this challenging game. play as an ball and push enemies off your island to survive. collect abilities to show those balls who's boss or get beat up by the boss. are you the superior sumo ball?
Ball Chaos
i cant publish the unity play link because when i upload the game it just void idk why i don't even know wht is the problem
CwC Lesson 4
Knock out enemies from arena, don't get knocked out yourself. Player controlls: WASD - moving Q/E - camera rotation Space - fire Shift - push close enemies away