1 Attachment(s)
Stealth Mechanic: Now He Sees You, Now He Doesn't!
I was wondering how you can imitate a popular mechanic in MMF2...
In the PNG file, it shows what I'm looking for...
-There are Three Active Objects
-Enemy
-Sensor
-Player
I want to have the sensor act as the enemy's sight.
So whenever the enemy comes across an obstacle like a backdrop, the sensor cuts like blind spots.
Re: Stealth Mechanic: Now He Sees You, Now He Doesn't!
You can make the Enemy throw invisible objects to the Player (the objects, let's call it Detectors, are destroyed when they touch an obstacle or go too far away). If a Detector touches the Player, then the Enemy sees him.
I saw an example MFA of that somewhere, but I don't remember where. Sorry and happy coding ! :)
Re: Stealth Mechanic: Now He Sees You, Now He Doesn't!
Quote:
Originally Posted by
TheFieryPlumber
I was thinking more of a flashlight effect; but if that's the only way for an enemy to track a player down, I’ll take it.
I didn't think about it ! A flashlight effect is feasible, maybe with combining detectors and a flashlight sprite.