crystal-bit / space-shooter

Shoot 'em up game, developed for the Hacktoberfest 2019 event with the Crystal Bit community.
GNU General Public License v3.0
41 stars 34 forks source link

Clamped spaceship position to viewport size. #83

Closed jejoivanic closed 5 years ago

jejoivanic commented 5 years ago

Fixes issue https://github.com/crystal-bit/space-shooter/issues/80

davcri commented 5 years ago

Thanks @jejoivanic for your help and interest in Space Shooter!

The code is clean and it works as intended so I'm merging this! It would have been perfect if the code took in consideration also the sprite width and height, but I guess it's an improvement that we can do later.

Happy hacktoberfest! 🎉