Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Thank you! That's a bit weird. I don't know how this happens, maybe when resizing your cursor ends up on another object? There's surely a way to avoid this, don't think we would've been able to fix this for the jam but I'll keep it in mind for my next games!

I think it happens with overlapping objects mostly, and I'm not sure about the best way to disambiguate. Maybe having a selection state and an outline around the selected object would help?

Either way it's quite a minor nitpick on an otherwise great game.

Oh yeah outline might be good. This is definitely something that I would not have been able to do for the jam but it fixes the problem mostly. Though we use a different layer for each object (actually sorting order) so they are each displayed according to the last time you placed them. This layer also corresponds to the position of the object as a child of his parent. We use the events system to drag and drop but I'm afraid Unity handles that in a very shadowy way that I would not be able to explain. Maybe using a raycast and comparing the int value of the sorting layers should be more efficient (but would hurt a bit bit the frame rate, not by much). )This is definitely something that I should look more into details for the future.