Space Defender!

This is the game I made with the help of the Udemy course.

I had lots of fun making it and I have learned a lot from the course!

I would really appreciate anyone trying out the game and giving some feedback. I know the music and sound effects aren’t really good, as well as the visual effects and animations but I did my best :stuck_out_tongue:

You control the spaceship with your mouse. You fire normal projectiles with the left mouse button and you charge your special weapon with the right mouse button.

Here is the GameBucket link to the game if you want to try the game out:
http://gamebucket.io/game/0bd5b25f-17f6-456d-b72e-b9d902343273

I’m gonna upload the game on GameJolt too, and maybe some other sites, so I encourage you to check my GameJolt page too.
https://gamejolt.com/@YsenceGames/games

Thanks!

Wow, that was very fun to play actually lol Very nice indeed!

I love the movement with the mouse, and the UI is nice and simplistic. Very fun!

Oh and any change you can share that movement with the mouse script?

Thanks!

Thank you a lot, it really means a lot for me!

How I made the movement system: I created 2 objects, one invisible which moves the exact way you move the mouse. (this.transform.position = Input.mouse.position) or something similar. And the other object is the spaceship, which calculates the distance between itself and the first object. Then every frame it multiplies that difference times a certain speed and makes it the velocity of the spaceship. That way if the mouse is on the spaceship, the distance difference is 0 and the spaceship doesn’t move. The further away the mouse is from the spaceship, the faster it moves in the direction.

I don’t know if that was well explained and if you understood how I did it. I’m pretty bad at explaining things :stuck_out_tongue: If you still have some questions I’ll gladly answer them!

That actually works for me! Thank you again, I replayed the game and do enjoy it.

And nice keeping track of the highers score, also noticed the Options section, that looks very nice and clean as well, love how you specify the controllers at the beginning of the game as well. UUUHH and noticed the animation on the spaceship when you move left and right.

Keep it up!

1 Like

Thank you so much! It’s a super cool feeling when someone notices the small things!

Privacy & Terms