Third Flash submission! This bit already stopped being funny, didn't it? Portal: The Flash Version is a fangame of Valve's Portal, actually releasing one day before the official game. I'll be referring to the Flash game as TFV, and to the official game as Portal in this submission from now on.

Game objectives

  • Emulator used: Ruffle + libTAS 1.4.3
  • Aims for fastest completion
  • Doesn't skip levels

Level Skip

There exists a glitch in the game where by pausing and unpausing the game during a level transition, one can increment the internal level counter as many times as desired. This means the game can be completed in seconds, by simply reaching the chamber 1 exit and pausing 40 times to increment the counter to 41, which is the cake room. This is trivial to do and not interesting in the slightest, so I chose to instead play through all 40 chambers.

Other glitches/mechanics

Portal Peeking

One of the tricks used most throughout the run is portal peeking. This is one of the tricks that's shared between TFV and Portal, though the TFV version is slightly less powerful. Unlike Portal, the portal gun shots in TFV are hitscan, meaning they hit the wall the moment they are fired. This means the portal peeking from Portal, where one let's say stands in the orange portal, shoots orange somewhere else and then quickly moves back to blue before the shot lands is not possible here. However, in TFV portals have a bit of floor in front of them, where Chell can stand and shoot the other portal, to quickly move through chambers. Standing in front of a portal is only possible if the portal Chell enters is placed vertically, i.e. on a wall. If the entrance portal is placed on the floor instead, Chell has too much velocity to stop herself in the portal, though it is possible to perform a coyote jump on the last available frame and move back into the portal, which achieves the same result, though is slower due to the extra movement. This extra movement tends to not matter too much though because of...

Portalgun Delay

Whenever Chell shoots a portal, there's a bit of cooldown before she can shoot another one. This forces the TAS to wait in some spots for a portal shot to become available. Luckily, the cooldown counts down when the game is paused, meaning some "rapid" portal shots can be performed to maintain velocity. More on this in the 'Optimization Issues' section.

Clips

Clipping into collision will zip Chell in an arbitrary direction. It's different for every object, though there are some similarities, most notably:
  • Vertical gates tend to zip Chell downwards, though some can send her up depending on look direction
  • Horizontal gates zip Chell to the left, regardless of look direction
  • Other clippable bits of terrain seem to follow their own rules, though generally you will be zipped down or left
Clipping itself can be performed fairly easily by simply approaching certain objects with enough velocity. Gates in particular simply need a bit of horizontal speed, just full walking speed is enough, and a bit of upwards momentum, usually achieved by placing a portal right next to a gate and then falling into the other, thus getting launched out of the gate portal, allowing for easy clipping.

Bunnyhopping

Just like in Portal, it's possible to jump as soon as Chell touches the ground to maintain any horizontal velocity above regular walking speed. In addition, jumping is faster than walking, so I do it where possible.

Optimization Issues

Just like with my previous flash submission, libTAS 1.4.3 desynced the movie and it needed to be fixed. TFV being the finnicky mess that it is, this was no easy task if I wanted to maintain the level of optimization I've achieved previously. I've managed to get the movie to be only slightly slower, with mostly later chambers (specifically past 31) being worse than this encode, which itself is slower in some parts than this one. This is the case because despite the game not having any RNG, it seems like chamber completion conditions influence the future of the run in some way, as I often came into desyncs after saving a handful of frames on a chamber earlier on. This caused not only desyncs in previous inputs, but also caused some clips to simply not work, meaning I had to go back and do the previous chamber slower again to save time overall. As a result, overall, many of the clips got slower since I just couldn't perform them the same as previously. I believe this to possibly be a result of a couple things, though these are just my theories, not backed by any evidence:
  • something about Chell's position is kept between chambers, meaning precise shots land somewhere else or don't land at all
  • Chell's velocity is kept between chambers, making her move forward out of the door further than in the previous movie
And the worst, most confusing of all

Portalgun Delay Glitch

I don't know how or why it happens, but sometimes the portalgun delay appears to glitch out, sometimes being removed completely. This encode eventually gets the delay to be 1 frame, allowing for very rapid portal placement later on in the run. I was not able to get this glitch in the 1.4.3 encode, meaning a chunk of frames was lost simply to waiting on portalgun cooldown. If someone were to figure this glitch out, and ideally activate it in an early chamber it could save a lot of time throughout the run, but for now I've decided to call what I have good enough, as the glitch itself was extremely frustrating to play around. The only thing I noticed was after manually releasing a companion cube I was able to shoot a portal quicker than if I had released it by trying to shoot a portal, but that only happened in one chamber. This glitch was the leading cause of desyncs and frustration when redoing the TAS.

Stage by stage comments

Chamber 1

Jump to have more downwards velocity when exiting the blue portal, otherwise nothing particularly interesting.

Chamber 2

An introduction to a common theme throughout this run - teleporting is faster than walking, so I will be doing that as much as possible. In this chamber I do a couple portal peeks to go straight to the exit without covering much distance outside of portals.

Chambers 3, 4

Same as before, get through the level by teleporting around as much as possible, while trying to use as few portals as possible.

Chamber 5

Same as before, though here the game introduces non-portal surfaces, meaning I have to come up with a different way to get to the exit. In this case I convert my vertical momentum to horizontal and combine it with a bunnyhop to fly into the exit.

Chamber 6

Here the game tries to teach me about momentum, but I decide instead to use a combination of a precise portal placement and jump to reach the exit quicker

Chamber 7

More bunnyhopping

Chamber 8

First instance of a portal peek coming from a floor portal, requiring a jump to not get flung out. Conveniently enough, the portal shot to skip the third part of the puzzle requires a jump to make, so not having a nearby wall at the bottom to place a portal ends up not mattering.

Chambers 9 - 17

Nothing of note here. Some new obstacles are introduced, but they shouldn't need an explanation.

Chamber 18

Very precise shot at the end to skip waiting for the cycle, took a while to find!

Chamber 19

Portal peek across the entire room, followed by a jump up that's only possible by removing the portal at a correct time so that the collision pushes Chell up.

Chamber 20

First occurrence of a gate, this one ends up being faster to just open than clipping through.

Chamber 21

First gate clip, this one conveniently zipping Chell up provided she faces down-left.

Chamber 22

Same idea for the gate clip, though this time zipping Chell downwards. Falling down at this point would result in death and a chamber reset, so I save myself by placing down a portal halfway through the ground. This has the nice side effect of disabling the collision of the floor above it, meaning I can squeeze under the gate and then get zipped back up by the floor to the right of the portal. This is the most common method of getting through gates.

Chamber 23

Nothing new here

Chamber 24

Placing a wall portal close enough to the horizontal gate lets me jump up at it and stick the portal gun through it to the other side, and since shots come out of the end of the gun, I can place a portal on the other side and go through. After shooting a portal to the exit on the right, I just need to place a blue portal to get back through. I ended up getting a funny clip through the floor by accident which I decided to leave in, as I'm waiting on portalgun cooldown anyway, so it doesn't lose any time.

Chamber 25

First introduction of boxes! These are pretty glitchy, which you can see right away by Chell just pushing this one through the ceiling onto the button.

Chambers 26, 27

Nothing new here, though Chamber 26 is a personal favourite of mine with how it came out.

Chamber 28

The chamber of happy accidents. I was unhappy with the route the old TAS took, so I wanted to find something better and while messing around I ended up falling through the red beam, which is supposed to be lethal, and the place it put me worked out perfectly for the rest of the chamber.

Chamber 29

Nothing special happens here. Worth nothing however is that placing down two portals at the end of the chamber to convert vertical speed into horizontal and shoot Chell into the exit ended up being 1 frame slower, despite looking much cooler.

Chamber 30

The zip at the beginning was taken from Danbronius' TAS and it both caused and saved me a lot of headache, as the trick is one of the more finicky ones with regards to how the previous level was completed, but it also significantly simplified the route for this chamber, which I'm thankful for.

Chamber 31

This chamber is unique in that the gate only opens once all the turrets have been eliminated, which can be done in two ways: knocking them off the level or simply tipping them over. I tried to go for a mix of flashy and fast strats for this one, opting to use the respawning companion cube to knock down the less easily accessible turrets.

Chamber 32

The big structure in the middle of the screen has some weird collision, making it clippable and thus zippable. After that I pause buffer a portal to maintain velocity.

Chamber 33-36

Nothing requiring further explaining here

Chamber 37

Two new ways of clipping cubes show up here! First, I clip a cube down to the button by closing the portal on the cube's last frame before being teleported, which places it in the floor, low enough to get zipped down rather than up. Then for the second cube I grab it as it's about to teleport while it has a decent amount of velocity to clip it through the floor and down to the lower level. From there I can move it to the button, being careful to not clip it back up. After this it's a matter of finishing the puzzle and going to the exit. According to this person on the game's speedrun.com forum, this chamber is fully skippable with a clip, however I have not been able to reproduce it myself and seeing how there is no video, I'm not convinced this skip is real.

Chamber 38

Nothing new here

Chamber 39

I can skip this entire chamber by first doing a very precise shot to the room with the easiest accessible cube, followed by an even more precise jump off the cube midair. While the cube is held, it has no collision with Chell, so I need to release it at the correct time and in the correct spot to be able to jump off it in the first place, and then also not bonk the top bit of the wall that's inconveniently placed there. This is another trick that's shared between TFV and Portal.

Chamber 40

This chamber feels very close to being fully skippable, but I was not able to find an angle to shoot a portal into the final room early, so I had to go with a mostly intended solution.

Cake!

The game is very adamant about Chell having the cake, so much so that even teleporting past it ends up with her obtaining it! This has no effect on the run, I just thought it was funny.

Special thanks

  • Danbronius, for their TAS
  • Gameboy9917, for their TFV Glitch Doc
  • All the randoms on youtube, for their glitch uploads from 15 years ago

slamo: Claiming for judging.
slamo: I really love this TAS. It's chaotic, consistently entertaining, and shows you the full potential of Flash TASing. A level skip glitch is ignored, and it's honestly for the best, as this run is way more fun to watch. Accepting as a No Major Skips branch.
fsvgm777: Processing.


TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15610
Location: 127.0.0.1
Active player (466)
Joined: 3/30/2012
Posts: 405
Wow, this is hilarious. I love how fast-paced everything is! I love that this version still has portal peeking. That's just awesome.
Patashu
He/Him
Joined: 10/2/2005
Posts: 4045
A classic flash game with some delightfully inhuman play to boot. I love the glitch where you put a portal under a door to clip through it, or you reach through a ceiling to hit a button. Chell is SO powerful and it's utter chaos. This year is going to be great for TASes, I can already tell!
My Chiptune music, made in Famitracker: http://soundcloud.com/patashu My twitch. I stream mostly shmups & rhythm games http://twitch.tv/patashu My youtube, again shmups and rhythm games and misc stuff: http://youtube.com/user/patashu
GMP
He/Him
Editor, Reviewer, Active player (395)
Joined: 5/22/2020
Posts: 197
Location: Chennai, India
There is something incredibly satisfying about a 2D portal game where you can see the whole level at once, which puts a better perspective of how crazy the movement is. Yes vote!
MrTASer
He/Him
Player (231)
Joined: 7/3/2021
Posts: 147
Location: Udaipur, Rajasthan, India, God'sBeautifulWorld
Good beatboxing TAS YES
My TASing channel ; My MUSIC channel ; My SoundCloud ; My HomePage ; Music Composer ; Mr.TASer#5922 VCop 2 TAS completed, but in a completely different way ; And SMB - GAGOTO (WL) TAS COMPLETED TILL W-4 ; Some more...
Post subject: Movie published
TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15610
Location: 127.0.0.1
This movie has been published. The posts before this message apply to the submission, and posts after this message apply to the published movie. ---- [4633] Flash Portal: The Flash Version "no level skip" by rythin in 02:25.87