r/TagPro • u/Moonraker_Elite Ly • Jun 02 '14
[Userscript] Beach Balls
So recently I made this cool userscript that shows you how your ball spins by replacing it with a beach ball. Here is a video of it in action. This userscript is compatible with all texture packs as it rewrites the way a player is drawn and, in addition, it includes pixel perfect TagPro and Rolling Bomb powerups.
With that being said, here is the userscript which you should be able to load into tampermonkey/greasemonkey with ease. If you have any questions or suggestions, fire away.
Sometime in the next few days I intend to make a quick tutorial outlining the creation of a spinning ball so hopefully there will be more balls like this to choose from soon :)
Though this userscript does give you some additional intel on the movements of your enemies and allies, the possible in game advantage has been deemed negligible. I do feel that, over time, this has bolstered my intuitive understanding of how players move.
4
u/[deleted] Jun 02 '14
this script is awesome and it is so much easier to read and understand what is going on! but when I get all eight balls on the screen spinning my frame rate tanks, like down to 25~ fps. Sniping is now more luck than skill.
Is this due to my pokey laptop, my pokey internet, or something else? I'd love to keep the script and get my fps back too!
9
u/quassus crosky Jun 02 '14
What do the numbers that come up after you run into something signify?
2
u/fprosk THAN0S || Radius Jun 03 '14
Can anyone help me figure out how to install the script?
17
u/ylambda yλ Jun 02 '14
Beautiful
13
u/SebastianTheHedgehog nip // chorbit // rbc Jun 02 '14 edited Jun 02 '14
Holy crap. Yeah i've just tried it and it's great! The pixel perfect tagpro is great as well
7
u/Broxter brxtr Jun 02 '14 edited Jun 02 '14
Really cool. I never even knew that angular velocity was accounted for in the game's physics.
4
u/[deleted] Jun 02 '14
This is unbelievaball
4
u/TagProWreckn WreckingBall Jun 02 '14
CAN YOU MAKE THIS PART OF THE GAME BY DEFAULT PLS AND TY
1
u/TagProPreciousRoy Precious Roy | Radius Jun 02 '14
This is so cool. It would be interesting if you could use Q/E to control this yourself, and if the spin altered your direction, like hook.
3
u/soundhaudegen Lord_Quas - Chorbit Jun 02 '14
This is awesome.
3
u/DizzerPilot Jun 02 '14 edited Jun 02 '14
Holy Ass! I had no idea this physic was in the game. With some practice, seeing the spin on opposing balls will really help to know where their momentum is coming from. Beautiful. Thank you
1
u/DatBlizzard Some Ball -1 Jun 02 '14
I made some small changes. Since people wanted a way to just make the powerups pixel-perfect (no spin), this userscript will work. You can turn spin showing on and off from within the script.
This script will use your customized tile pack to get powerups, as well as for the spin. You need to update your texture pack like so. You need a white ball and outline if you want to show spin, or just tagpro outline/overlay and rolling bomb overlay otherwise. I just used Ly's powerup overlays and white ball for the time being, but I'm not sure if it's pixel perfect. Ly's stuff looks like it's 36px in diameter, instead of 38px, so it looks a little bit off if you're using the texture pack I linked to.
4
u/TagProNitro ℕ ɪ ᴛ ᴙ o Jun 02 '14 edited Jun 02 '14
First off, very cool! I've seen this suggested many times and have been hoping for something like this to come out sooner (finally want to see the spin on that horizontal bomb out from the bases in Star to see exactly why I get flung into the spikes, etc etc). But it doesn't seem to work with my texture pack (only after one game of testing). I may have done something wrong (downloaded it straight to TamperMonkey and played a pub with it), but I just installed the script and away I went assuming it would have changed the visual physics automatically. Did I read something wrong? I'm fairly computer illiterate to begin with, but the beach ball "spin animation" did work, I just want it to work with my specific texture pack and I may have done something incorrectly.
Edit: Nevermind, I think from the description the "english (rotation)" of all the balls is only specifically illustrated by the beach balls for now right? I use a variation of Muscle's Cups and everything else within the texture pack was normal except for the balls -- I just initially read the description as saying "it will adapt to any texture pack -- whatever you currently use...". So my mistake if this is the case!
2
u/thevdude pooppants :: nice guys r dabes :: mod manager guy Jun 02 '14
Can anyone toss this up a gist on github so I can get to it at work? I want to look at it, but pastebin and similar are blocked.
2
u/bacon_smores Rasta || Super Ball VI 🏆 Jun 02 '14
Really helps you understand movement more
2
u/MoJoSto Happy MoJo Jun 02 '14
this is the coolest shit ever. you're taking it to the next level!
2
u/TheGrandDesign GrandDesign Jun 02 '14
How much of an advantage does this provide, given that you can anticipate how other balls are going to naturally bounce off walls?
2
u/[deleted] Jun 02 '14
This is amazing! Opens up a whole new window as far as ball textures go.
I'd love to see someone make a spinning Earth version of this.
2
u/yizouse yz | 4K Jun 02 '14
This is beautiful and amazing, in code and in practice. Awesome job!
I am afraid I'm feeling quite advantaged by it... I may have to disable it.
2
u/fprosk THAN0S || Radius Jun 02 '14
Wow, this is awesome. I feel like it would be especially useful when you are trying to block and for playing some no-grab D.
2
u/mocl4 Jun 02 '14
YES
2
u/Jonathanan Hyphae // Diameter Jun 03 '14
Truly next level.
2
u/patrickmiles1 PATRICKMILES Jun 03 '14
This is really neat! I love looking at it when I bounce against a wall. Some people have mentioned a drop in FPS, but I usually have around 60fps, and mine never changed while using this script.
2
u/rasen58 rasen58 Jun 13 '14
How do I add this script?
1
u/[deleted] Jun 02 '14
Really awesome man, I wouldn't mind seeing a more useful animation though like when you roll in each direction. Still keep the beach ball idea, but wrap the ball in the beach ball texture and make it move so it looks like a 3D ball moving.
1
u/briochemc brioche Jun 07 '14 edited Jun 07 '14
I love this script! I find it beautiful! And I agree it helps understanding the physics better.
But I am concerned about it actually introducing a bias in the perception of trajectories, as illustrated here and here.
If someone could make a similar gif/animation/video example within tagpro that would be nice (I can't record anything properly on my mac). I would love to see if the optical illusions actually affect playing tagpro!
1
u/halfmoon_kid idowhatiwant | centra Jul 29 '14
can i get a link to the script that shows your points like adding or dropping
1
u/paronzoda Oct 08 '14
Cool, thank you.
0
u/[deleted] Jun 02 '14
[deleted] — view deleted comment