I'm using the following events to make a radar.
now this works fine on objects that aren't on a parallax layer. but it doesn't work on objects that are. So I probably need to change the calculation, but I can't figure out how.
any ideas?
Develop games in your browser. Powerful, performant & highly capable.
seems I was trying to change the wrong part. multiplying player.x by parallax fixed my issue.
I was trying to figure this out a while back...
it somewhat works.. not really though..the scrolling is wrong on the minimap. The calculation for the minimap has to be related to the parallax somehow.
here's what I got:
drive.google.com/open
also you should put the Enemy and the EnemyDot in a container, that way when you destroy the enemy it automatically takes the dot with it.