My journey becoming a Unity game developer: Laser prototype for Galaxy Invaders pt.1

Laser prefab prototype created.
Rigidbody added to the Laser prototype.
Laser prefab will instantiate when the space key is pressed.
Lasers instantiating when the player presses the space key.
Player’s laser set to move up 60 meters per seconds.
Player’s lasers shooting at 1 meter per frame.
Player’s lasers set to move up in real time.
Player’s lasers moving up 1 meter per second using real-time.
Speed is multiplied with the lasers movement upward and actual real-time.
Lasers moving upward at 8 meters per second.
Showing where lasers need to be destroyed when moving off-screen.
Will destroy the laser game object when it reaches 8 units on the Y-axis.
Lasers destroyed when they go off-screen at 8 units on the Y-axis.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store