Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

BruceZoom

1
Posts
3
Followers
7
Following
A member registered Jan 03, 2024 · View creator page →

Creator of

Recent community posts

I made the magnifier in two steps.

The first step is to determine the collider box. I only used squares for the obstacles and the magnifier so it is relatively easy to determine which part of the colliders should be removed or magnified.

The second step is to display things correctly. I used a camera to render everything to be magnified onto a render texture and display it as a raw image over the screen. Then I scaled it and repositioned it according to the magnifier's magnifying scale and position. Then I used a mask to display only things inside the magnifier.