r/TagPro • u/Thotfully_Yours Mr. Thot • Mar 04 '15
[Userscript] NewCompte's Transparent Canvas Userscript for 3.0
// ==UserScript==
// @name Tagpro Transparent Canvas 3.0
// @namespace http://www.reddit.com/user/newcompte/
// @author NewCompte
// @include http://tagpro-*.koalabeast.com:*
// ==/UserScript==
tagpro.ready(function () {
var oldCanvas = $(tagpro.renderer.canvas);
var newCanvas = $('<canvas id="viewport" width="1280" height="800"></canvas>');
oldCanvas.after(newCanvas);
oldCanvas.remove();
tagpro.renderer.canvas = newCanvas.get(0);
tagpro.renderer.options.transparent = true;
tagpro.renderer.renderer = tagpro.renderer.createRenderer();
tagpro.renderer.resizeAndCenterView();
newCanvas.show();
}); Thanks, NewCompte
22
Upvotes
6
u/[deleted] Mar 04 '15
is there a sceenshot? i'm on mobile & don't know what it does
3
u/Clydas BDN S7//TB S8 Mar 04 '15
mine isn't working. i'm on a mac if that makes any difference. I just saved this script into tampermonkey and am letting it run, should I be doing something else?
2
u/b8ker 4am Mar 04 '15
Perfect, now i just need a working background image changer script.
2
u/Risktp Risk Mar 04 '15
this script isnt working for me for some reason :| I've only gotten it to work 1 time and i had to refresh like 5 times before it would work. do i need to include a background with the script or will gecko tools do the trick? i currently have a background with gecko tools.
tampermonkey stuff. in-game.
3
u/DagNasty Mr Bucket \\ HGW mLTP\ Mar 04 '15
Nice works great!
I think /u/sweetnectar was looking for this
4
u/[deleted] Mar 05 '15
Thank you so much, this is what has been missing from my life since 3.0.
3
u/[deleted] Mar 04 '15
yessssssssssssss tytyty
2
u/matt287 RadiaN // Diameter // The Cap-22's Mar 04 '15
Nice work! Thanks!
2
u/WillWorkForSugar Tumblewood Mar 05 '15
I can't get this to work. If it helps, these are the userscripts I have installed (it uses the updated version that /u/Thotfully_Yours provided), and this is Chrome on a Mac. I'm still running TagPro Mod Manager from a few months ago, if that has anything to do with it.
2
u/[deleted] Mar 05 '15
It moves my chat to the left of the viewport for some reason, any way to fix? Does this happen for everyone?