I started of with the basic mechanics of our game and since we are making a platformer, we need some movement. I found a video on Youtube called “2D Player Movement In Unity” by Bendux and at this stage, I basically copied the code to get something working. Since we do not know how the game should feel, refining the movement is hard to do, but adjustments to the movement will likely be done in the future.
Moving on to the vision mechanic, we envisioned it to be a echo/sonar system, so you would reveal stuff around you as you “shoot” your echo “bullet”. I started by configuring the project to use Unity’s Universal Rendering Pipeline, which enables light in 2D space. Then I applied a small point light around the player so it would be seen at all times. Following this, I made a small bullet object that had a small light on it. To get the bullet working, I looked at the Youtube video “Unity: 2D Shooting” by Root Games to get the bullet moving. I did have to make the bullet a trigger so it does not collide with everything and only collide with what we want to. This might need some rework if it gets to complex.
To make the mechanic more interesting, I made a test object that would be revealed when the player has “echoed” over it. Right know, it is a proof-of-concept, but it can be used to create interesting puzzles in the future.
And this is what I’ve done as of now.