Unity Roll-A-Ball Game

one-sheetgame-audio-unity

Unity: Roll-A-Ball Game

Roll-a-Ball - Unity Learn

📝 Note

When you get to positioning the “PickUp” objects you may find the following table helpful…

cleanshot 2023 09 25 at 12.25.19

Pick Up #X PositionY PositionZ Position
140.57
270.54
380.50
470.5-4
540.5-7
600.5-8
7-40.5-7
8-70.5-4
9-80.50
10-70.54
11-40.57
1200.58

Adding Sound

For now, I’ll just leave a version of the Roll A Ball game where I have already added sounds using several custom scripts and Unity’s default audio capabilities for you to study. In the future, I’ll come back and provide a step-by-step guide on how to replicate this project.

The script “PlayAudioClipOnImpact.cs” included in this project’s Assets/Scripts/Audio folder is a great script for you to keep for your own notes/reference. Please note that for this script to properly work, you project needs to also include all the “Editor” folder found in Assets/Scripts/.

Here is the project. It was created using Unity 2022.3.10f1

Rollaball_Unity-Audio.zip