Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(2 edits)

Underliner Devlog #4 (February 15, 2022)

I implemented one of game mechanics I’ve planned. It’s something that reflects the signal(or laser) in the way that mirrors in real life does. I organize my thoughts on MS Paint so I can implement my idea without too much headache :D

Since angle and rotation works a little different in video game world, it requires some additional calculations to prevent glitches or bugs. After some trial and error, I succeeded to implement the mirror mechanic!

As you can see, laser reflects when it collides mirror. (The blue cube is mirror. It's just placeholder model) Mirror will be used for many puzzles in the game. If the mirror's angle changes, so does the reflected angle of laser. Check the image below:

As the mirror rotated a little bit, laser reflected wider after collision. Adjusting mirrors' angle will be one of many things players' have to do to solve the puzzle.

Stay tuned!

---------

Donate me:

https://ko-fi.com/jungwooyom36248

https://www.patreon.com/bePatron?u=12809704