Shoot’em up games are very hard to make with each step being a little more harder than the last. So we will break it down into two parts of four steps to make a basic shoot’em up game. The simplified version such that it would bring the development of the shoot’em up to the next level.
While there are functions in the Pong game that could immensely help into making this shoot’em up with the inclusion of triggers, collisions and rigidbodies, the steps in this progress report will contain those that do not wish to know how to make the pong game, so the functions of collisions, triggers and rigidbodies will be repeated here for the sake of clarity and for those who would want to understand how the basics work on a more elementary level.
Click here for pong game basics p.1: Link to Progress Report#A
Step #1 Create the basic Layout.
A layout is important for applying the basics for the game. Apply a basic shape or form depending on your style and your preference in terms of decoration for the shoot-em-up (SHMUP) game. In this case, its 3D. The basics of the 3D function is essential. But you can work it off in 2D by applying a basic sprite function and apply it into the character.
Step #2 Apply Control Movement
- This is basic movement script to control the character of the game. Apply using the transform.Translate version, quoted from the Unity documentation side, moves the transform in the direction and distance of translation.
- Utilizing a variable to call the horizontal and vertical axis of a character requires basic use of the Input.GetAxis controls.
Step #3 Function the basic colliders and collisions
- Quoted from the basic OnTriggerEnter function:
void OnTriggerEnter(Collider otherObject)
if(otherObject.tag == “Enemy”)
//otherObject.SendMessage (“takeDamage”, damage, SendMessageOptions.DontRequireReceiver);
This allows the object to collide if the tag enemy is being placed. You have to call the object by making functions based on the enemy’s basic function. Using OnTriggerEnter allows an object to create an effect based on it touching the tag. Try it out for yourself for each of the functions to work and see if it would be up your alley. This is ultimately dependent on coder’s skill.
- That is all for this current progress report. The next part will include the development of the next part of the shoot-em-up game with elements and other things you can add such as effects and the like.
Note: References are now revamped such that these would be defined as links to provide to better blogs and websites devoted to the subject matter. These links may help to make your game better. Although the majority is 2D, they are great foundations for game developers to study upon and learn from.
– Click on these links for inspirations on this particular type of game.
References – Development blogs