Creating Core Mechanic


This week I loaded up Gamemaker Studio 2 and started a new project. I decided to make the core mechanic that my game will be based around. The core mechanic would be walls that are invisible, until you hit them. This represents someone walking around in the dark, not knowing where anything is until they run into them. I then created some simple square sprites to be used for filler sprites, and made a player, and walls objects. I then used gml to create the movement of the player and the collisions with the walls. After that I made another wall object and made it have a collision box bigger than the sprite. Doing it like this allowed me to have a separate object for the collisions and a separate object for the visuals of the walls. This allowed me to be able to have a collision box for the player to collide with, and a collision box to detect the player. Finally I created a small level to test out the mechanic.  

Get Sightless

Leave a comment

Log in with itch.io to leave a comment.