Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

MV Proximity-Based Event Fading

Goldblaze

Villager
Xy$
0.00
Hi,
I've been to figure out how to make a system that will fade in events seamlessly as the player gets within a certain radius of them. An example would be a platform that would fade in when the player is within 3 tiles of that event, and when the player moves out of that range, the event fades out to complete transparency.

The reason I ask is because I've been trying to make a sort of maze where you can only see the tiles that are close to you, I was wondering if there would be any way to event this, or code it in JS.

Thanks in advance,
Goldblaze :)
 
Top