V1.1! To cheat in Portal, first go to the Options Menu and enable the console. Once it is enabled, hit the "~" key. This will open the console, which is where the codes can be entered. Entering god enables invincibility, noclip allows the player to travel through objects, antiportal allows the player to create portals in nonportal areas, gotolevel Z with Z being the level number allows the player to skip to that level, gravity Z with Z being the gravity level, causes the gravity to change to the number entered.
Portal: The Flash Version includes over 40 challenging, portals thinking levels, which features almost every feature the real game does, in 2d - energy balls, cubes, turrets and even the famous crusher from the trailer. The game also includes a console to mess around with after finishing the game, or just being frustrated by thinking with portals!
Left mouse button - launch a portal.
A W D - movement
Q - launch a blue portal.
E - launch a yellow portal.
R - Close both portals.
F - pick up an object.
~ - open up console (enable through the options)
O - quick quality adjust.
Esc/P - pause game.
Extra codes:
Entering "dance" and then holding down the "A" and "D" keys will make the character dance.
Entering "createcompanioncube" creates a companion cube.
Entering "createball" creates an energy ball traveling upwards.
Entering "createbox" creates a cube.
Entering "kill" will kill the player's character.