mbrink98 / VSclone

Vampire Survivors Clone
0 stars 0 forks source link

Add Map #16

Closed pcs96 closed 11 months ago

pcs96 commented 11 months ago

This PR adds camera movement and a finite map with obstacles to the game.

For now obstacles and the border are just gray areas, for I'm not sure about the theme we're heading towards. Neither enemies nor the player can travel through obstacles, bullets get destroyed upon hitting an obstacle.

The camera movement is quite complicated, maybe overcomplicated, as it basically models a spring with some internal friction between the player boat and the camera.