Monday, 8 May 2017

GameMaker - Asteroids - Part 1

GameMaker File

The main difficulty I had was setting up the hitboxes for both the asteroids and the player. For the player, as the ship is not a perfect shape, there are edges and corners that are outside the hitbox. For the asteroids, I found it difficult to find a hitbox that could match all three sprites and frames. I solved this problem by making the hitbox smaller than the actual sprite. Although this is not perfect, it makes the game more fair for the player and is the best solution.

No comments:

Post a Comment