Simple pinball is a game made as a university project aimed at teaching Unity physics. Although the idea was to create just a simple pinball game with a plunger, flippers and an "obstacle", the project grew and now has 12 different power-ups, as well as a couple of achievements that make the game much more fun and enjoyable.
Simple Pinball requires the latest Unity 2020.3 LTS version. Visual Studio Code with the C# Extension is also recommended. The recommended setup guide is described below.
Simply follow the instructions to run the project from the source above or on your own fork.
Download the following development kits:
Download and install Visual Studio Code for scripting as well as the The C# Extension.
Download Unity Hub and activate your license there.
Download Unity 2020.3 LTS from their Archive and make sure to install WebGL compiling capabilites to be able to compile Simple Pinball for the web.
You may also disable the option to download Visual Studio, as this tutorial covers the setup of Visual Studio Code, which is much lighter.
Now clone the repository inside the folder of your choice:
git clone https://github.com/lluckymou/simple-pinball.git
Add the repository folder to Unity Hub and open the project. Once open, you may configure Visual Studio by navigating to:
Edit > Preferences > External Tools
And setting Visual Studio Code as your default "External Script Editor".
Now simply open any script and let Visual Studio's C# extension configure itself. If anything fails the console will prompt what is wrong and it wont be hard to fix, from experience it'll probably be some SDK version mismatch.
Before submitting any changes, make sure to:
- Run your build to check for any compilation/runtime errors;
- Change the "Game" scene's version Text component following the format:
1.MAJOR.MINOR.FIXES
(if it's not a fix you can omit the.0
, such as1.0.5
instead of1.0.5.0
); - Check if the compression format (under Project Settings > Player) is listed as Disabled.