Submission Text Full Submission Page
The World's Hardest Game 2 is the second installment of the The World's Hardest Game series released in 2008. In the game, the player is a red square who must reach the end of 50 levels. The player must also avoid enemy circles that can hit the red square and reset progress in the level. This TAS movie attempts to complete the game as fast as possible, without using a major glitch that allows the square to clip through some enemies.

Game emulation

  • Operating system: Ubuntu 22.04.1
  • Emulator: libTAS v1.4.4 with ruffle-nightly-2022_10_15
  • The game functioned normally without any time tracking settings.

Game objective

  • Complete all 50 levels as fast as possible without using the enemy clip glitch.

Comments

This TAS has a major optimization difference due to the game being emulated on Ruffle. Normally, enemies have to hit one of the player's enemy collision contact points for two consecutive frames in order for a death to register. This can be massively exploited to graze enemies and make tighter movements, or even just straight up phase through faster ones. However, since Ruffle emulation fixes this behavior, I was not allowed to hit enemies whatsoever. If a TAS was made of this game that had working enemy clips, it would be much faster than this run because of how much time could potentially be saved. (Example) It would also count as any% because that's how the game functioned when Flash was still alive.
From a bit of searching around, I discovered that this game has at least 3 unique versions with notable differences:
  • Version 2.0 (yes, this is the first version) is the version this movie plays on. It has 50 levels.
    • There's a different version of this which changes the level intermission text for a couple of levels, viewable in various videos of the game. It doesn't seem like it has any gameplay changes.
  • Version 2.1 is a lightly updated version of the game. It has 10 extra levels scattered between the original levels, and it also has saving/loading data. From a few sites, I only found it on Newgrounds.
  • The HTML version is a essentially a redesign of v2.0 with a great difference involving player movement. I only found it on Cool Math Games. (I don't know if it's actually an HTML game, I just assume it is because it doesn't need Flash.)
I chose to TAS TWHG2 instead of TWHG because lots of TASes of the first game have already been made, I did not want to do something that had already been done.

Optimization techniques

  • Double input: The continue buttons on the tip screens accept both mouse clicks and space bar presses. Because of this, I saved one frame before the first level by pressing space and then clicking with mouse on two consecutive tip screens.
  • Win contact: Finish areas register that the player has completed the level as soon as the square hits the green, even if only the very corner hit the green. This can save time by hitting the finish even when there's an enemy in the way which may be moving towards you.
  • Wall hugging: Different walls act inconsistently compared to each other. Some walls may let you hug them one movement unit closer, which allows passing by bouncing enemies sooner. You can sometimes also move diagonally into an outwards corner before the wall to hug it by an additional movement unit.
  • Corner boost (unused): Rarely, wall hugging while approaching an outwards corner will boost you by a frame's worth of movement when you pass away from it.
  • Enemy grazing: The square's nine enemy collision contact points are spaced apart to cover the full shape. In certain situations, you can narrowly avoid an enemy by letting it very slightly graze between two contact points. I only used this trick in level 39 to miss a column of enemies coming from behind.
  • Death ending (unused): Getting hit and finishing at the same time lets you progress to the next level, but you start with the square fading out from the death animation. This would be useful if you took a path that killed you while finishing and had a waiting period at the start of the level after, but there are no such cases.

Potential optimization

  • There's almost certainly better routes for some open space levels with coins/keys like level 46.
  • It may be possible to improve movement around enemy spinners because the enemies further out get out of the way faster. While making this TAS, I tended to stay near the center, because it was closer to the places I wanted to move to.
  • On several levels, a few frames or so might be savable with better and more planned out movement.
  • Obviously, being able to TAS this game with bad enemy collisions would save a lot of time, and would save well more than enough to achieve sub 10.
Cancelled this submission as I am currently making an improved version of this TAS.


TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15586
Location: 127.0.0.1
nymx
He/Him
Editor, Judge, Expert player (2235)
Joined: 11/14/2014
Posts: 932
Location: South Pole, True Land Down Under
uh...yeah!
I recently discovered that if you haven't reached a level of frustration with TASing any game, then you haven't done your due diligence. ---- SOYZA: Are you playing a game? NYMX: I'm not playing a game, I'm TASing. SOYZA: Oh...so its not a game...Its for real? ---- Anybody got a Quantum computer I can borrow for 20 minutes? Nevermind...eien's 64 core machine will do. :) ---- BOTing will be the end of all games. --NYMX
TASVideosGrue
They/Them
Joined: 10/1/2008
Posts: 2785
Location: The dark corners of the TASVideos server
om, nom, nom... juicy!
TheKDX7
He/Him
Player (118)
Joined: 7/9/2011
Posts: 392
Location: Switzerland
Any reason why this submission was cancelled ?
Player (201)
Joined: 12/12/2022
Posts: 9
TheKDX7 wrote:
Any reason why this submission was cancelled ?
In the author notes, I wrote that this was cancelled because I'm working on an improved version. This TAS is actually somewhat unoptimized.