Slappy Bird
I learned Unity game engine and developed a 2D tower defence style game during my internship (2017)
I added sounds to my game also, but they are not in the downloaded project from the cloud. I don't know why. However, this project can give you the basic impression about what I did during my 1 month summer internship(2017).
Here is a detailed explanation of my project:
Unity Game Engine and Slappy Bird Project
During the internship period, I also worked on Unity Game Engine. I used Unity 5.6.1f1 (64-bit), Microsoft Visual Studio 2017 development environment, and C# programming language. Unity is a cross platform game engine created by Unity Technologies. This game engine if primarily used to develop simulations and video games for computers, mobile devices, and consoles. This game engine supports both 2D and 3D graphics, scripting via C# language, and drag ‘n drop functionality. Unity targets the Direct3D 12 graphics API on Windows. Unity supplies an advanced 2D world renderer and allows sprite importation for 2D environment. For 3D game environment, Unity simply allows us to specify texture compression and resolution settings for each different platform. Unity also supports bump mapping, parallax mapping, reflection mapping, screen space ambient occlusion (SSAO), render-to-texture, dynamic shadows using shadow maps, and full-screen post-processing effects[ CITATION 1]. Unity is the most used game engine in the world among the developers. Therefore, internet has tons of studying materials for this game engine such as Unity’s own web site. I used Microsoft’s Turkish learning web site named as “Microsoft Türkiye Açık Akademi”[CITATION 2 ]. In this web site, there are studying videos to teach all people, willing to be Unity developer, how to use Unity game engine to develop their own games in both 2D and 3D environments[ CITATION 3 ]. First, I followed these tutorials to learn essentials of this game engine. I studied on transform component, importing objects, assets groups and store, ready character systems, levels and scenes, 3D sounds and audio sources, basic concepts, terrain and textures. Unity game engine does not contain only these terms which are related mostly with the front part of the system, but also backend part that requires programming skills a bit. For programming part of the project, I learned the basics of C# programming language that covers syntax, variables, loops, If…Else, scope, switch, arrays; and also functions specialized for Unity game engine which are Awake(), Start(), Update(), LateUpdate(), FixedUpdate(); and also basic concepts like interaction with mouse, interaction with keyboard, time calculation, Lerp(), Destroy(), Invoke(), InvokeRepeating(), CancelInvoke(), and so on. This tutorial was so comprehensive, and I completed all the tutorial that lasts 100 videos long. While following this tutorial, I also completed the first release of my 2D game and I gave the name of “Slappy Bird” to my game. This game is 2D tower-defence style game. Your character is an orc that defends our little bird which looks like a flappy bird. In this game, enemies spawn randomly in a specified range of the scene. Game has 2 enemies which differences each other from their attributes. These enemies’ abilities change after each stage. At the different scores, game stage changes automatically. At the beginning, our Slappy Bird has 5 health and whenever enemy monster touches bird, it loses one health. If bird’s health reaches 0, then we lost the game and if our score is in top 3, we can insert our name to the scoreboard. Orc is moved with the “WASD” keys. With the left button of mouse, we throw axe towards the direction that orc looks. We have ammo in our game and if it reaches 0, then we cannot throw axe anymore. When we pressed the left button of the mouse, we lose 1 ammo and throw axe. If throwed axe hits the enemy, we gain our lost ammo back. In every 10 seconds, we gain 1 ammo, too. I used ready sprites to build up my game. I have created 4 scenes for my entire game up to now. These are credits, start screen, high score, game scene.
References
[1] |
W. contributors, "Unity (game engine)," 26 September 2017. [Online]. Available: https://en.wikipedia.org/w/index.php?title=Unity_(game_engine)&oldid=802458395. [Accessed 28 September 2017]. |
|
[2] |
"Acikakademi.com," Microsoft, [Online]. Available: https://www.acikakademi.com/portal/default.aspx. [Accessed 28 September 2017]. |
|
[3] |
"Acikakademi.com," Microsoft, [Online]. Available: https://www.acikakademi.com/portal/egitimler/unity.aspx. [Accessed 28 September 2017]. |
|
Status | Released |
Platforms | HTML5 |
Author | hopetolive |
Made with | Unity |
Tags | Tower Defense |
Leave a comment
Log in with itch.io to leave a comment.