Καλώς ορίσατε στο dotNETZone.gr - Σύνδεση | Εγγραφή | Βοήθεια

Ιούνιος 2014 - Δημοσιεύσεις

Some time ago I did a blog post about the famous Arkanoid game and its adaptation to Windows Phone using XNA. Couple of weeks ago, I attempted to recreate it from scratch using the Unity game engine and, to no surprise, it was pretty a piece of cake. Below you can see a screenshot from the start screen of the game. Let’s do a lap around the project. First of all, we have one and only one scene, the game one. We have a Camera, set to Orthographic projection (most suitable for 2D games) a directional light a GameManager gameobject which holds the GameManager script, in charge of running our game the Ball which goes around on the level the Paddle which is the means that the user will utilize in order to prevent the Ball from touching the floor the Floor, which if collided with the Ball will decrease player’s lives the SideBlocks which just make the Ball stay in our level and, of course, the Blocks which have to be hit by the Ball (via user’s assistance) and are organized in four BlockRow objects Purpose of the game

Διαβάστε περισσότερα »

Δημοσιεύτηκε στις Δευτέρα, 30 Ιουνίου 2014 11:20 πμ από Δημήτρης Γκανάτσιος | 0 σχόλια
Δημοσίευση στην κατηγορία:
About 4 years ago I had blogged about the creation of the classic Bubble Breaker game in XNA . Since I’ve recently started to get acquainted with the Unity3D game engine, one of the first things that crossed my mind was to try and recreate it using Unity. 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. 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. Game implementation is pretty basic, it contains 3 screens. First is the intro screen where you can select either to play the game or view the top 10 scores. Then, there is the game screen (we’re making a game after all!). All screens have an very strange script (I’m experimenting guys!) where the background dynamically changes color. Check out some screenshots from the game running inside Unity Editor. Well, basically each bubble

Διαβάστε περισσότερα »