A couple scripts to help with the event
First one is more for people who are having difficulty with the jump mechanics. If you feel comfortable jumping, this probably isn't for you. This adds a jump meter above your ball. When you're able to double jump is dictated by your vertical velocity. If you're falling too fast or moving upwards too fast, you won't be able to do a second jump. It changes color indicating when you can (green) and cannot (red) jump. It also shrinks in size as your speed changes so you can get an idea of how long you have left until you won't be able to (or will be able to if moving up) jump.
Example: http://streamable.com/fl1q8
Script: https://gist.github.com/SomeBall-1/ceafb125c9db7ba1467592250dc6b9f2
Install Link: https://gist.github.com/SomeBall-1/ceafb125c9db7ba1467592250dc6b9f2/raw/Jump%2520Meter.user.js
The jump meter will only appear when pressing alt/option. You can press shift+alt to make it stay on. Pressing alt again will turn it back off.
There's 2 settings inside to turn on/off the text and to turn on/off the tile highlighting. The text can be helpful in finding the star (it's at x=21, y=21) and for determining if you can jump again (you can only jump if your y-velocity is between -2 and 2, inclusive). The tile highlighting is sometimes useful to gauge your movement when you're floating out in the void. Both are on by default.
The second script is for practicing the top part of the map. This should be helpful for anyone struggling with the mars balls to the star flair. First, you'll need the following script:
Script: https://gist.github.com/SomeBall-1/d5bbd9b05a7f0eb8c1c60ffb286e1d33
Install Link: https://gist.github.com/SomeBall-1/d5bbd9b05a7f0eb8c1c60ffb286e1d33/raw/Tower%2520Map%2520Editor.user.js
Next, head on over to any of NewCompte's servers and create a group to get started: (1), (2), (3), or (4). Your ping does not matter so any of the servers will work for anyone, you're best off picking the least crowded one.
In your group, put yourself on the red team and in the Game Settings enter 14350 in the text area under the Map section. The dropdown should already be on maps.jukejuice.com, leave it on this. Go ahead and launch the game.
Once the game starts, you'll find yourself at the bottom of the mars ball area. Besides normal movement, you can ctrl+click anywhere on the map to teleport to that spot. Spectator zoom controls work so you can zoom in/out with the - and + keys, pressing 0 resets the zoom. Also, holding shift while moving will let you move through anything but walls.
There's flags placed at certain points on the map so you can practice with and without it (when you have the flag team tiles don't affect you so movement is a bit harder). At any point you can also give/remove the flag or any powerups from yourself at the top of the screen by pressing the Player Options button.
The floating effect occurs whenever you are holding the neutral flag. In place of the star flair, there's a button you can hit that'll reset you if you manage to hit it while holding the neutral flag.
To get portals to work, you'll need to drag and drop the map json onto the screen after the game starts. Download the json here.
Also, if you find the mars balls end up too far out of sync or get stuck, press Esc to open the menu and click the Reset Marsballs button to fix them.
That's everything. Both scripts are kind of bastardizations of previous scripts of mine. So if you're looking at the code or even some of the stuff that shows up on the practice map, you'll see things that's not used anywhere.
Let me know if you have any issues. I'll do what I can, but the scripts are really only useful for a couple days so I'm not planning on putting in a bunch of time to make them perfect.
Posted Jan 28, 2017, 5:54 PM UTC
Did you just package an entire duplicate of the game in that script lol
I made a sort-of offline tagpro a while back. Pretty much the game handles the drawing aspects and the script ignores server input and takes over all the physics. For this script I hard-coded a bunch of the tower stuff and put it into that script.
Yeah I remember that. When I saw it was 2000+ lines and looked at what it did, I figured you did something like that. Very nice work!