r/TagPro • u/snaps_ snaps||radius • Jan 17 '15
[Userscript] Patterned Floor Tiles
Ever wished you could see what was directly diagonal of you, but have a hard time doing it with uniformly colored floor tiles? Wish no more, the userscript you've been waiting for has arrived.
Examples here.
Change the TINT_COLOR and OPACITY to change the color and how much the tint influences the color of the tile. If you need a color hex code reference, you can use this color picker.
5
4
Jan 18 '15
Does this work with texture packs too or only vanilla?
6
u/snaps_ snaps||radius Jan 18 '15
It should work with other texture packs too. I'm using it with Tagpro Mod Manager successfully. You may have to change the color/opacity so that it works with the texture pack you're using.
2
2
u/sizviolin Fairy // B€ Feb 04 '15
I have been loving this, but the past week I've had a bunch of fps issues and it looks like this script was causing it :( It worked beautifully for a week!
2
u/snaps_ snaps||radius Feb 04 '15
I'll have a chance to look at this tomorrow. In the meantime any additional details you can give about your fps issues and the other userscripts you're using would probably help!
2
u/sizviolin Fairy // B€ Feb 04 '15
Fps has been consistently dropping to 50-55 on chromefor the past week, ever since Mario was put into game. Weirdly enough I had no fps problems in the actual Mario event map, but every normal map had it drop.
Tonight I disabled all my scripts (poker chip, honk, and this) and had no more issues, then I tried enabling this one again and the Fps drop was back. After removing it again I went back to 60 fps. I didn't try adding any of the others 1 by 1 to see if they had the same issue (maybe it's a tamper monkey problem?) I can do some more testing later when I am free.
28
3
u/DaEvil1 DaEvil1 Jan 18 '15
This is pretty awesome. I feel this should be part of the core game, so I hope the devs can implement a solution like the following:
Use one of the empty tiles for a second floor tile to use as checkered style. Texturepacks that want to stay the same can just use the normal floor tile in that place.
2
u/snaps_ snaps||radius Jan 18 '15
It would require a second tile for each of the team tiles as well, unless the empty tile used would be overlaid and merged with the other floor tiles to create the effect.
4
u/DaEvil1 DaEvil1 Jan 18 '15
good point. I don't think that's a big issue though. There's more than enough room for 3 more tiles.
8
Jan 17 '15
This is awesome! Much nicer looking than diagonal lines, imo. The lines always made things feel cluttered.
1
u/thevdude pooppants :: nice guys r dabes :: mod manager guy Jan 18 '15
I like my diagonal lines, but I made them pretty low contrast.
7
u/bashar_al_assad pk || Roll into the base like what up I got a big block Jan 17 '15
my dream of playing on a chess board just got one step closer!
1
u/thewthew drukQs // Roll Model // Nightcapper Jan 18 '15
Oh man, this is incredible. Thank you so much for making this, I love how such a simple change can increase the visual appeal of this game so much.
1
u/snaps_ snaps||radius Jan 18 '15
Oh, I really like that! That's definitely what I'm going to start using.
1
u/Extractum11 Jan 21 '15
Looks great, definitely stealing that. Streams would look incredible hint hint
3
2
2
0
Jan 18 '15
[deleted]
2
u/snaps_ snaps||radius Jan 18 '15
That's great praise, thank you very much. I don't know how much use I'd be, but how could I not be interested!
0
Jan 18 '15
[deleted]
1
u/snaps_ snaps||radius Jan 18 '15
Since individual shapes in box2d need to be convex, wouldn't there still be seams? But even so, it would still reduce the number of corners that could cause issues significantly.
I think the processing I use for my wall mesh has a lot of unnecessary steps for something like that, but I think I understand what you're getting at. Since the individual tiles are already convex, they can be processed using an algorithm like Hertel-Melhorn, which will merge them together into larger convex shapes, where possible. Then we can use the resulting set merged shapes as the fixtures for separate wall bodies.
0
Jan 18 '15
[deleted]
2
u/snaps_ snaps||radius Jan 18 '15
I was able to get a proof of concept going here, if you're interested.
1
5
u/Arbybeay // osu! Jan 18 '15
How about I can choose different tints based on whether I'm red team or blue team?