Lesson 6.3 - Sharing your Projects

Exercise

Beginner

+10XP

30m

Unity Technologies

Lesson 6.3 - Sharing your Projects

Overview:

In this lesson, you will learn how to build your projects so that they’re playable outside of the Unity interface. First, you will install the necessary export modules to be able to publish your projects. After that, you will build your project as a standalone app to be played on Mac or PC computers. Finally, you will export your project for WebGL and even upload it to a game sharing site so that you can send it to your friends and family.

Project Outcome:

Your project will be exported and playable as a standalone app on Mac/PC or for embedding online.

1. Install export Modules

Before we can export our projects, we need to add the “Export Modules” that will allow us to export for particular platforms:

1. Open Unity Hub and navigate to the Installs Tab

2. On the Unity version you’ve been using in the course, select the gear icon, then select Add Modules.

3. Select Web Build Support, and either Mac or Windows build support, then click Done and wait for the installation to complete.

2. Build and publish your game

Now that we have the export modules installed, we can put them to use and export one of our projects:

1. Open the project you would like to build (could be a prototype or your personal project)

2. In Unity, click File > Build Profiles, then click Select Windows, macOS or Web as your target platform, then select Switch Platform. If a window pop up that say the Unity Editor needs to be restarted select Apply.

3. Select Open Scene List.

4. Select Add Open Scenes to add the current scene to the build.

5. Select Player Settings and adjust any settings you want, such as Windowed, Resizable Window, or whether to enable the Display Resolution Dialog.
For more information, refer to the documentation on configuring Player Settings

6. Select Build or Build and Run. Enter a name for the build, then save it in a new folder named Builds inside your Create with Code folder.

7. Play your game to test it. If needed, rebuild it with different settings.

Note: For detailed instructions on building and publishing a Web project to Unity Play, see the Build and publish a project tutorial.

Optional step

3. Share your project

If you feel proud of the project you made and you want to share it, you can share screenshots of the game or upload a link so other learners can experience what you’ve made. You can also check out other Unity learners’ submissions below.

1. If you uploaded your game to Unity Play, locate the Unity Play link for your published project.


2. If you have not published your project, capture screenshots or recordings of your project from the Editor.

3. Add a submission title and description below. Be sure to include the screenshots and video recording. If you have a Unity Play link or any additional details about your process or project, you can include them in the description as well.

Please login to submit

4. Lesson Recap

New Concepts and Skills

  • Installing export modules
  • Building for Mac/PC
  • Building for WebGL/HTML

Complete this Tutorial

Submission Gallery

Explosive Eggs

Explosive Eggs

Personal Project Completed. Use WASD to avoid Enemy Ballons and press space to release an egg bomb that will explode after 3 seconds. After drop the bomb you can push it toward the enemy but be careful because it can kill you too. Every 4 waves a yellow potion will appear. Grab it to restore 25% health.

M
Marte_Ares
6
0
Bird Shooter

Bird Shooter

jump on diffrent platforms and collect upgrades to shoot birds.

G
green123321
10
0
Case Closed

Case Closed

The game opens with a 911 call from a distressed woman reporting an incident involving her husband. Her voice is panicked, fragmented, and unclear, hinting at something more sinister than an accident. After the call ends, the player is assigned the case as an FBI agent. The suspect’s laptop is confiscated and becomes the main gameplay space. The suspect claims innocence, but the laptop contains traces of a murder video that has been partially deleted. The player must investigate emails, files, messages, and system logs while racing against time, as the laptop begins to automatically erase or corrupt its own data.

E
eyllll
8
0
Bumper-Blitz: The balls game but it is actually a game

Bumper-Blitz: The balls game but it is actually a game

Remember the project we built for balls moving with physics on a floating island? Well, I decided to improve on that game and complete the challenges, and the result was better than what I expected.

P
Pixel-Sage
18
0
Goal Hunter ~vs shadow~

Goal Hunter ~vs shadow~

Score goals while avoiding the approaching enemies! Use powerful items and avoid the enemies that keep appearing while kicking the ball into as many goals as possible. The player can move up, down, left, and right to get closer to the goal, avoid enemies, and collect items. Once you get close enough to a goal, press the Space key to kick the ball and earn points. If the player collides with an enemy, they will lose one life. The game is over when all lives are lost. By collecting items, the player can gain advantages such as restoring lives and increasing movement speed. As you earn more points, the enemies become stronger, so keep challenging yourself and aim for a higher score!

N
nkmrktr0210jb
16
0
prototype 1 first submission

prototype 1 first submission

first published project

U
unity_7B72A8B33960F7C1E872
16
0