Bunny Shooter : 3D Action-Survival Game
Introduction
“Bunny Shooter“ has been developed using the Unity gaming engine. The game includes scripts, animation, music, models, and many other assets. Scripts were completely written in C# language and are easy to understand. This game has a single objective, i.e. to kill more and more zombears for your own survival. The Game is specifically designed for PC users, and it’s quite easy to play with very simple controls to handle. Left, right, up and down arrow keys for player’s movement, left Ctrl key to fire and mouse cursor for moving the player’s direction of shooting. Things like raycasting and quaternions are also used for better graphical representation.
What is Ray casting and Why I chose to use it?
Raycasting is the process of detecting the presence of any collider in the path of a ray by sending an invisible ray from a point to a specific direction. Raycasting is a very wide concept in game development and has many more application to work on.For example, in strategy game you might want to place an object on the terrain, to do this you can perform a ray cast from the camera through the mouse position and detect the point at which the ray intersects with the ground. In a combat game when a weapon is fired, you could cast a ray going out from the barrel of the gun in order to detect which object is hit.Or, In hiding game where you want to know if an enemy is able to see a player, you could cast a ray from the enemy’s position in the direction of player and if it reaches the player without colliding with anything else. Unity supports raycasting in both 2d and 3d scenes. I used raycasting where the player shoots the zombears by shooting a ray from the gun to detect whether the enemy got a hit or not.
Conclusion and Learnings
Completing this first phase of this game all alone has taught me many things. Concepts of using gaming engines, character modelling and animations got stronger. It helped me to understand things like how audio and sounds is handled and used properly, how animator controller lets you design your own state machine using logics like bool, trigger and transition, also learnt the proper use of animation at suitable places. Working with scripts like how to make camera follow the player as the player moves around in the game scene, player movement script, control keys for player movement and some few more scripts like player’s health, enemy’s health, score manager, enemy attack, etc. Apart from these, I also got to learn and work on ray casting and quaternion which are actually some difficult tasks to perform alone as an indie game developer. It helped me in creatively thinking and imagining the scenes that can be used in the game. This project has not only tested the technical knowledge but also the patience level that a person can have. There were few phases where I almost gave up on the project because of some failure issues and lack of resources but I recovered from it and that helped me in completing the game. If there are any kind of ideas, suggestions or feedback or more effective development ideas please feel free to leave your valuable comments.
Some useful links to refer
https://docs.unity3d.com/Manual/CameraRays.html
https://docs.unity3d.com/Manual/index.html
https://www.digitaltrends.com/gaming/best-survival-games/













