Particle effects show up over mini-map

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

Particle effects show up over mini-map

#1 Post by yufra »

I first noticed this in my module, but checked and found it in ToME, too. If you look at the left-hand side of the two screenshots, where the map intersects the mini-map and PlayerDisplay you can see that particle effects in the tiles that are theoretically off-screen show up. In both my module and ToME the mini-map shows the particle effects, and only in VR do the particles show up on top of the PlayerDisplay. The targetting overlay from the corrosive vapour also showed up in the mini-map in ToME. Any ideas where this is coming from?
Attachments
tome_particle_bug.png
tome_particle_bug.png (211.04 KiB) Viewed 1447 times
vr_particle_bug.png
vr_particle_bug.png (155.04 KiB) Viewed 1447 times
<DarkGod> lets say it's intended

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Particle effects show up over mini-map

#2 Post by darkgod »

It's neat isn't it ? ;)
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Shoob
Reaper
Posts: 1535
Joined: Mon Jan 22, 2007 6:31 pm
Location: East of the sun, west of the moon

Re: Particle effects show up over mini-map

#3 Post by Shoob »

the quick and easy way to fix this is to move the map code so that it is first in game:display()

moving the minimap out of the if statement with the rest of the map/level display does not make the particles go behind it though, not sure how to fix that.
Oliphant am I, and I never lie.

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Particle effects show up over mini-map

#4 Post by darkgod »

Yeah, the minimap is printed over a transparent area, beucase it can be used over the main map.
You can jsut display a black surface behind it to stop the particles
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

Re: Particle effects show up over mini-map

#5 Post by yufra »

If others are interested, Shoob has a good fix for that here.
<DarkGod> lets say it's intended

Post Reply