Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

Great puzzles! I liked the ambiance and the mechanic is simple and great! I believe you used raycasting for the light beam, is that right? Because if it is, I could really use some help. I tried to used in my game to create a bouncing aiming line as you did with the light (and like in Puzzle Bobble), but I couldn't figure it out. I'll be glad if you have some tips! Thanks for the game!

(1 edit) (+1)

Thanks Patrick! šŸ¤— You are right, the light is indeed calculated by raycasting from mirror to mirror. But it is a really hard problem to be honest and there are still edge cases in which the beam is calculated wrong šŸ˜…

But you van have a look at the source code if you want. I have to warn you it is jam code, so not the cleanest ever. But it does the job for now, although Iā€™m convinced there must be a simpler and more elegant way of calculating reflections šŸ˜›

(+1)

That's really nice to share your code, thanks! Don't worry about the messy code, in the end of my jams I'm always adding new booleans and names or Id to the objects because i'm completely loss with the other features ;-)

(+1)

No problem! I hope it helps you find a solution for your problem šŸ˜ And yeah, it starts out clean and then you just start throwing things in there šŸ˜‚