Bubble breaker free game5/8/2023 On the game screen, each bubble is a rigidbody (that’s Unity way of saying that each bubble obeys the laws of gravity). Main screen contains some simple Unity GUI buttons in which we can navigate to game and high scores screens, plus a simple checkbox to activate/deactivate sounds (I got that feedback from the single beta tester – that’s me!). Check out some screenshots from the game running inside Unity Editor. ![]() Moreover, game tends to push the bubbles onto the right of the screen, so as not to have an empty column during the course of our game. On a second tap to one of the marked bubbles, they will disappear and the ones above these will fall due to gravity. Once the user taps on a bubble, the neighboring ones (vertically and horizontally) will be marked for removal. Purpose of the game is to remove all (or at least most of) the bubbles in the game by tapping. All screens have a script to dynamically change the background color. Then, there is the main game screen (we’re making a game after all!). First, we have the intro screen where you can select either to play the game or view the top 10 scores. Game implementation is pretty basic, it contains 3 screens. For debugging purposes, don’t forget to check the Visual Studio tools for Unity here. Game code was written in Visual Studio (check the free Community edition here). Conversion from XNA was not that straightforward (well, I expected that, to be honest) in the matter that only the search and compare algorithms managed to survive. Why did I choose Unity? Well, one of the reasons is that it supports my favorite programming language C# plus games can be exported to my favorite platform, Windows Phone. Since I’ve recently started to get acquainted with the Unit圓D game engine, one of the first things that crossed my mind was to try and recreate it using Unity. ![]() About 4 years ago I had blogged about the creation of the classic Bubble Breaker game in XNA.
0 Comments
Leave a Reply. |