%% Image selected per Image Pickin' thread: https://tvtropes.org/pmwiki/posts.php?discussion=1637830201041527600
%% Please do not replace or remove without starting a new thread.
%%
[[quoteright:300:https://static.tvtropes.org/pmwiki/pub/images/locomotive_collage.png]]
[-[[caption-width-right:300:[[Music/JethroTull ...and the train, it won't stop going, no way to slow down]] [[labelnote:Top to bottom]] ''VideoGame/SunsetRiders'', ''VideoGame/Uncharted2AmongThieves'', ''VideoGame/YoshisCraftedWorld''[[/labelnote]]]]-]
%%
%% Caption selected per above IP thread. Please do not replace or remove without discussion in the Caption Repair thread:
%% https://tvtropes.org/pmwiki/posts.php?discussion=1404492079030138900
%%
->'''Gordon:''' New Yorkers talk like they're all big and bad, but I bet they don't deal with ''half'' this shit on the subway!\\
''[soldiers continue shooting at him, he returns fire]''\\
'''Gordon:''' The next time I hear someone complain about their commute again, I think I'm just going to punch them in the face.
-->-- '''Gordon Freeman''', ''WebVideo/FreemansMind''

It's very common for our protagonists to find their way onto a train. After all, it's a prime location for adventure. You're stuck in a confined space, and you're unable to leave once the train is moving. You may have to show your ticket or passport, you may be held up by a bunch of robbers, you never know who you're going to meet, and nobody is ever ''completely'' sure if that strange-looking toilet door is correctly shut.

After you've run around on the train for long enough, the only way left to go is ''up'', often leading to a TrainTopBattle. Other potential goals/dangers include low-hanging signals and tunnels, coupling or decoupling cars, encounters with other vehicles (other trains, aircraft, HumongousMecha, etc.) moving behind or alongside/above the train to [[MookMaker drop off enemies]] or attack the player (or the train itself), or a time limit before the train reaches its destination (stopping optional).

The music for such stages will often have a galloping or chugging rhythm.

Not to be confused with RailShooter. ThrillerOnTheExpress is the non videogame version of this trope. See also LevelsTakeFlight when the locomotive is an airship.

----
!!Examples:
[[foldercontrol]]

[[folder:Action-Adventure]]
* ''VideoGame/TheLegendOfZeldaSpiritTracks'', as the name suggests, has some of these.
* In ''VideoGame/SamuraiJackBattleThroughTime'', the last segment of Aku City has Jack traversing through a train with various foes up to a battle with the Clenches.
* Not quite a strict Locomotive Level per se, but the Macbeth mission in ''VideoGame/StarFox64'' features a train which the team is trying to destroy. If one successfully flips all eight paddles and then manages to shoot the switcher-lever, the result is the gratifying spectacle of the enemy locomotive smashing into the supply depot, destroying the whole thing. If one doesn't manage to do so, then the locomotive, which tows a heavily armed "kite" mech, serves as the level's boss.
* ''VideoGame/{{Uncharted}}'':
** ''VideoGame/Uncharted2AmongThieves'' has a few levels that take place around a train [[spoiler:going up toward Shangri-La]].
** The final level of ''Videogame/UnchartedTheLostLegacy'' takes place on a train [[spoiler:carrying a nuclear warhead headed towards an Indian village]].
* ''VideoGame/MirrorsEdge'', where Faith surfs the train, in addition to one TrainEscape.
* ''VideoGame/{{Poptropica}}'': You spend most of Mystery Train Island riding on a train and talking to various historical figures to uncover clues and find out who stole some inventions. You can meet the various staff and engineers of the train, and investigate cabins.
* One level of ''VideoGame/TombRaiderTheLastRevelation'' features an extensive fight from one end of a cargo train to the other, often forcing Lara to precariously cling to the side of a car in order to advance.
%%** Also ''VideoGame/TombRaiderLegend''.
* ''VideoGame/SpiderMan2000'' on Platform/PlayStation featured a level where Spidey must survive an unlimited hoard of lizard men set upon him by Venom. Falling off the very narrow platform is an instant death, but Spidey can knock his enemies off the train too. The goal of the level is to survive until the train icon at the bottom of the screen reaches the end.
** One of the Doc Ock fights in the ''VideoGame/SpiderMan2'' game took place on a train, and by proxy a portion of the film of the same name did as well.
* A mission in ''VideoGame/ZoneOfTheEndersThe2ndRunner'' involves chasing a train before it can deliver a deadly payload to the RedshirtArmy. But since you have to ''destroy'' said train, it plays more like a BattleshipRaid.
* Every once in a while, the ''VideoGame/LegoAdaptationGame'' series likes to include a segment where you have to move through and/or across trains, taking advantage of the limited area movement on a speeding vehicle as part of the puzzles:
** ''VideoGame/LegoIndianaJones: The Original Adventures'' has the SecretLevel based on Young Indy's first adventure, where the second half involves first traveling atop the roofs then through a train car to escape Fedora and his men.
** ''VideoGame/LegoBatman 2: DC Super Heroes'' has one level in a subway, which of course ends on a RunawayTrain that Batman and Superman need to reach the front of in order to stop.
** ''VideoGame/LegoHarryPotter Years 1-4'' features the starter level for ''Prisoners of Azkaban'', where Harry and co. have to make their way through the Hogwarts Express while dealing with Dementors.
** ''VideoGame/TheLegoMovieVideogame'' has the "Escape from Flatbush" level in the Wild West, where Emmet and co. have to travel across several trains in an effort to escape Bad Cop.
** ''VideoGame/LegoMarvelsAvengers'':
*** The final part of the "Rail Hydra" level adapts the scene from ''The First Avenger'' where Captain America and Bucky infiltrate a Hydra train to capture Arnim Zola.
*** Half of the "Korea Prospects" level adapts the scene in ''Age of Ultron'' where Captain America and Scarlet Witch try to stop a RunawayTrain.
** ''VideoGame/LegoMarvelSuperHeroes2'' has a Wild West level where the second half has Star-Lord needing help from Kid Colt in order to rescue some of his Guardians friends from a villain-commandeered train.
** ''VideoGame/LegoTheIncredibles'' has the "Hover Train Hijinx" level, where Elastigirl and He-Lectrix need to chase after then travel across a RunawayTrain to stop the brainwashed driver.
** ''VideoGame/LegoDCSuperVillains'' has the end of one level involve Batman and Catwoman running atop a speeding train in order to [[spoiler:catch up to Steppenwolf after he captured the Rookie]].
[[/folder]]

[[folder:Adventure]]
* ''VideoGame/BrokenSwordTheShadowOfTheTemplars'' has one; it {{Bait And Switch}}es a TraintopBattle, only to have you climb back down into another carriage to stop a gunman shooting Nico.
* In ''[[VideoGame/HenryStickminSeries Henry Stickmin - Completing The Mission]]'', some routes have Henry sneaking onto The Toppat's train to get into their jungle base or steal their train loot.
* ''VideoGame/{{Hiveswap}}'': Much of Act 2 focuses on getting onto the train, from whence the rest of the act focuses on solving puzzles and progressing along the length of the train.
* Episode 3 of ''VideoGame/TheWalkingDeadSeasonOne'' first had the group getting a locomotive up and running, then using it to get to the coast.
* ''VideoGame/WorldsEndClub'': The level "Fork in the Road" occurs on a train the Go-Getters use to reach Tokyo, with a boss battle against Pielope, and another choice decision moment.
[[/folder]]

[[folder:Beat Em' Up]]
* ''VideoGame/BloodyZombies'' have the level in the London Metro where you must fight your way through a train infested with undead. One section have you finding a shortcut by climbing on top of the moving train, but must deal with the LowClearance ahead.
* ''VideoGame/TheLegendOfTianding'' have you outsmarting Colonel Matsumoto and successfully boarding a train, only to realize the train is filled with enemy mooks. You then spend the next stage fighting through enemies on a moving train.
* ''VideoGame/SlapsAndBeans'' have the first stage, set in a Western town, where Bud and Terence fights their way through mooks on an old-timey steam locomotive.
* ''VideoGame/TeenageMutantNinjaTurtlesTurtlesInTime'' has the "Bury My Shell At Wounded Knee" level, set in a Western-timed train.
* The ''Film/BatmanReturns'' licenced SNES game has the sixth level that takes place aboard the Red Triangle Circus train. The boss is the ringleader of the circus, the creepy Organ Grinder.
* ''VideoGame/FinalFight2'' has the fourth stage that takes place aboard the R&B Circus train. The boss is Philippe, quintessential MonsterClown and ringmaster that has been using the circus to smuggle illegal items for the Mad Gear Gang.
* ''VideoGame/TrainCrasher'', like the name states, is set entirely on a subway train. Players move from one carriage to another, beating up every mook in their way until reaching the front of each train with a boss waiting for them.
[[/folder]]

[[folder:First-Person Shooter]]
* Level 3 in ''VideoGame/{{Outlaws}}'' takes place on a train.
* ''VideoGame/{{Blood}}'':
** [=E1L3=] in the original ''VideoGame/{{Blood|1997}}'' takes place on the Phantom Express train owned by the Cabal. Caleb navigates it from the very front of the locomotive to the caboose and back again. before overloading the engine and causing it to crash.
** ''VideoGame/BloodIITheChosen'' adores this type of level, as ''three'' of them take place in [[CutAndPasteEnvironments identical]] moving subway trains; the first two are identical to each other save for the enemies present, including both ending by your train crashing into another one and derailing, while the third has you jump from one train to the other right in front.
* In ''VideoGame/HalfLife'', Gordon Freeman spends a lot of time on trains, although rarely during active gameplay.
** ''VideoGame/HalfLife1'' famously starts with him [[ScenicTourLevel in a long ride on an elevated tram]]. The [[http://www.google.com/search?q=on%20a%20rail%20half%20life "On A Rail"]] chapter of the original game is the only time in the series where Gordon actively pilots the rail vehicle.
** ''VideoGame/HalfLife2'' has him arrive in City 17 on a train; and in ''Episode One'', he and Alyx hitch a ride on a Combine train, and later use a rebel-operated train to escape from the city. In both cases, the ride is essentially a cutscene [[UnbrokenFirstPersonPerspective by the game's standards]].
* ''VideoGame/UnrealTournament''
** The first game has [=AS-HiSpeed=], where the attackers drop from a helicopter onto the rear of a cargo train and have to fight their way to the front and override the controls.
** Spiritual successor AS-Convoy in ''VideoGame/UnrealTournament2004'' is of a similar concept, albeit with a BaseOnWheels and its attendant vehicles crossing a desert rather than a train.
* ''VideoGame/DukeNukemManhattanProject'' has the start of one of the levels on the roof of a train and later (possibly in the same level) there is a boss fight on top of a much shorter train.
* ''VideoGame/DustyRevenge'' have the stage, "Mid-day Ride", set in a locomotive filled with feline, mongoose and weasel enemies. Which leads to an inevitable TraintopBattle.
* ''VideoGame/GoldenEye1997'', imaginatively titled "Train," which has Bond battling through a converted missile train in order to save Natalya.
** The ''Film/FromRussiaWithLove'' game had a level that began on a train and led to a station - also titled "Train".
** In one level in ''VideoGame/EverythingOrNothing'', Bond catches up to a moving train on a bike, leaps off the bike onto the train, then fights his way through the train, eventually encountering Jaws, and battling him.
* ''VideoGame/TimeSplittersFuturePerfect'' features a train level in the 1960s.
* ''VideoGame/TeamFortress2'', as with any ''Source'' engine game, has loads of community created content and maps, one of which is a map called ''ctf_convoy'' that, inspired by the ''[=UT2004=]'' map of the same name, takes place on two massive missile carriers careening through a canyon.
* ''VideoGame/TheHouseOfTheDeadOverkill'' (and by proxy the spin-off ''Typing of the Dead Overkill''} has a level called Scream Train, a possibly reference to ''VideoGame/ResidentEvilZero'', it features a large double story over-night sleeper filled with [[NotUsingTheZedWord zom-er, mutants]].
* ''VideoGame/PAYDAY2'' has two train-related heists. The first, named Transport: Train Heist, sees the player stealing a turret (a level 1 RED sentry gun from ''VideoGame/TeamFortress2'') and its ammo in a train that is currently stopped on a railway bridge. The second is a part of the Biker Heist, and sees the heister boarding a freight train and steal a BCI helmet.
* One level in the first installment of ''VideoGame/SoldierOfFortune''.
* ''VideoGame/TheStalinSubway'' features this trope as a ''selling point'', proudly featuring Moscow Metro in its promotional materials. In gameplay, there are several levels where you get to travel between stations filled with enemy agents, taking on enemies from the train's back to its front, and often there are areas where you (or unfortunate mooks) might fall off the train on the railway tracks.
* ''VideoGame/RedSteel2'' has a train level which involved lots of working your way through carriages then finding the way is blocked and having to go up on the roof, then finding that way is blocked and going down through the carriages again. Interestingly your movement is hampered by the constantly swaying train.
* The final stage of ''VideoGame/MedalOfHonorUnderground'', aptly titled "The End of the Line". Manon infiltrates a train filled with Germans, preventing their last-ditch attempt to win the war by crashing a train filled with enough explosives to level Paris.
* ''VideoGame/MedalOfHonorFrontline'' has a level in which you must fight your way through a Nazi armoured train to reach the BigBad at the far end. Excitingly, you can use its mounted guns to blow up ''other'' trains as they pull alongside.
* In ''VideoGame/FashionPoliceSquad'', the first half of mission 7 takes place in a subway train. It starts off as fairly normal looking train albeit with golden decorations. The further the player makes it through the train, the more lavish the wagons get. Some have luxurious toilets and two wagons even have two-floor spas, complete with waterfall, bar and chandeliers.
* The majority of chapter 5 of ''VideoGame/CryOfFear'' takes place on a train.
* ''VideoGame/{{Ubersoldier}}'' has the stage where you infiltrate Chimaera, a Nazi-owned armored train, to uncover its T-9 supply and killing plenty of mooks along the way. You even cling on the Chimaera's sides to infiltrate different carriages.
[[/folder]]

[[folder:Light-Gun Game]]
* ''VideoGame/ConfidentialMission'': The second stage takes place on a train traveling through a mountain region, where your mission is to rescue a kidnapped programmer. You fight through passenger cabins and dining cars, occasionally hopping onto the roof.
* ''VideoGame/GunfighterTheLegendOfJesseJames'', being set in the Wild West, has its fourth level set on a locomotive, where players controlling Jesse have to go from the back of the train to its front, killing every mook hindering his way in the process, to force the train to stop before it squashes his girlfriend, the DamselInDistress Zee who is ChainedToARailway.
* ''VideoGame/LethalEnforcersIIGunFighters'' have the fourth stage, the Train Robbery, where your sheriff hero arrives at a train only to find out it's filled with hostile bandidos. Cue a chase scene-shootout, with you on horseback against the villains.
* ''VideoGame/TimeCrisis'':
** ''Time Crisis 2'' has a level where the heroes try to stop a train transporting missiles for Ernesto Diaz's satellite weapon, with Diaz's lead mercenary, the ScaryBlackMan Buff Bryant, serving as the boss at the end.
** In the third game the heroes sneak onboard a similar train to enter General Zott's base, and have to contend with Zott's army as well as several clawmen guarding the train. Players get to battle Garrett, the clawmen leader, and several EliteMook clawmen at the end of the stage.
[[/folder]]

[[folder:Platformer]]
* ''VideoGame/TheAddamsFamily'' LicensedGame has the Train Room, where Gomez is shrunk down and rides his toy train for a change instead of blowing it up, while dodging the floating spiked balls scattered around the room, a RailEnthusiast's dream come true.
* In the ''VideoGame/{{Animaniacs}}'' video game for the UsefulNotes/SegaGenesis, in the second half of the [[TheWildWest Western Level]], the Warner Siblings travel aboard a train. The boss of the stage is Ralph the Guard. During the first encounter, the Warner siblings must [[PieInTheFace toss pies at him]] from an oven in the bakery car, while he tries to do vice-versa to them while riding a rail-mounted segway. In their second encounter, the Warners reach the engine. They must fill it with coal so it can outrun Ralph.
* One level of ''VideoGame/ApeEscape 3'' took place partially in/around a train.
* ''VideoGame/AzureStrikerGunvolt'': The second half of the intro stage takes place on a train where [[MysticalWaif Joule]] is being held.
* One of the {{Boss Battle}}s in ''VideoGame/BanjoTooie'' takes place on board Chuffy the locomotive.
* In ''[[VideoGame/BatmanSunsoft Batman: Return of the Joker]]'', Stage 4-1 takes place on a freight train.
* In ''VideoGame/{{Bubsy}} in Claws Encounters of the Furred Kind'', the first halves of "Chapter 7: The Good, the Bad, and the Woolies", "Chapter 8: A Fistful of Yarn", and "Chapter 9: Dances With Woolies" take place on a train travelling through [[ShiftingSandLand the desert]].
* The eighth level of ''VideoGame/CoolSpot'' is entitled "Loco Motive", and given Spot's diminutive size, takes place on an electric train set.
* ''VideoGame/{{Contra}}''
** ''VideoGame/ContraHardCorps'' had this as one of its stages, ending with a HumongousMecha boss that ''catches'' the train, forcing you to fight it. The UsefulNotes/GameBoyAdvance port of ''VideoGame/ContraIIITheAlienWars'' even imported this level.
** ''VideoGame/ContraShatteredSoldier'' also had a train top stage with a HumongousMecha as the boss, in an obvious homage to ''Hard Corps''.
* The fourth level of ''[[VideoGame/TheFlintstones1993 The Flintstones]]'' LicensedGame for the UsefulNotes/SegaGenesis takes place on the Dino Express, where Fred looks for Betty's missing ribbon. When Fred reaches the engine, it is revealed to be powered by a running dinosaur.
* Stage 3 of [[GreenHillZone Patched Plains]] and Stage 5 of [[SkyscraperCity Rhythm Route]] from ''VideoGame/KirbyPlanetRobobot'' take place in the trains of the Haltmann Works Company. The former was a ''literal'' locomotive, while the latter is more of a modern-day subway train.
* ''VideoGame/TheLegendaryStarfy'': Some levels of Planet Bunnera take place inside the Cosmic Express. These areas have normal gravity comparable to the Bunnera Castle; apparently this is due to the material that the train is constructed out of.
* In ''VideoGame/LittleNemoTheDreamMaster'', in the "[[ToyTime House of Toys]]" level, Nemo rides a toy train whilst dodging enemies and hazards.
* ''VideoGame/{{LooneyTunes}}'' games:
** In ''VideoGame/SylvesterAndTweetyInCageyCapers'' for the UsefulNotes/SegaGenesis/Mega Drive, the "Mayhem Express" level takes place onboard a train.
** ''VideoGame/DesertDemolition Starring Road Runner and Wile E. Coyote'', also for the Sega Genesis/Mega Drive, has a level like this, entitled, ''Choo Choo Terrain''.
** ''VideoGame/RoadRunnersDeathValleyRally'' for the [[UsefulNotes/SuperNintendoEntertainmentSystem SNES]] has a circus train level, entitled, ''Train Runnery'', with various circus animals either helping or hindering your progress.
* Jean-Bison's trainyard in ''VideoGame/Sly2BandOfThieves'' features several TrainJob missions.
* ''VideoGame/McDonaldsTreasureLandAdventure'' for the Sega Genesis/Mega Drive has a circus train in the first half of the second world.
* Several levels in the ''Franchise/MegaMan'' series:
** Charge Man's stage from ''VideoGame/MegaMan5''. It's worth mentioning that Charge Man himself is an anthropomorphic train.
** Slash Beast's stage from ''VideoGame/MegaManX4'', appropriately called Military Train. Partway through the level there's mooks who destroy the train couplings, and the miniboss is a killer robot train car that attacks with extendable spikes.
** One of the earliest stages in ''VideoGame/MegaManZero1'' involves boarding a train to recover a special Cyber-Elf, with the boss being the ''train engine'' itself that's also a robot hybrid trying to kill Zero.
** Panter Flauclaws' stage in ''VideoGame/MegaManZero2'' involves boarding a train to [[TrainJob steal valuable cargo]] for the war effort, with the boss pulling up at the end on ''another'' train to duke it out with Zero.
** Buckfire's level in ''VideoGame/MegaManZX Advent'', which is also significant as this is the first stage past the tutorial and the one where Grey/Ashe receive [[TransformationTrinket Biometal Model A]]. The train specifically was a Hunter's train they were using to transport the Biometal to Legion before the Mavericks attacked with the intent of taking the Biometal (and in Grey's scenario, finish off the "Defective" escapee). In the aftermath of the attack, the train is damaged to the point of being grounded, which prompts the Sage Trinity to give Grey/Ashe the mission of repairing the train to finish the journey. Returning to the train before doing so [[GameplayAndStoryIntegration shows it still broken-down]], and after repairing it you can either get on the train again and go through the level before it transitions you to the Legion train-station, or just talk to the guy near the train to skip straight to the other train-station.
** ''VideoGame/MegaManLegends'' has level to protect a train in a battle with the Calinca.
* ''VideoGame/MikuMonogatariYumeToTaisetsuNaMono'': Stage 2 - 1 takes place on a train on a some wacky, unsafe route. The cars and the goal platform are the only solid place to stand on: getting knocked out of the train is an [[BottomlessPits instant death]].
* ''VideoGame/PrisonCity'': The intro stage takes place on a train where player traverses the cars to fight a tech engine at the end.
* ''VideoGame/Puppeteer2013'': One section of a level is a race agaist General Bull and Horse (General Horse transforms into a train) across a desert landscape. There are sections where you must board and cross the roof of the train to damage General Horse.
* One level of ''VideoGame/RocketKnightAdventures'' has your {{jetpack}}-wearing armor-clad laser-sword-wielding possum riding a little hand-car-thingie along the rails as he tries to catch up to the evil robot train with ray guns and clawed arms. Best boss ever.
* ''VideoGame/SackboyABigAdventure'' has various levels taking place on a train through several themed settings.
* ''Franchise/SuperMarioBros'':
** ''VideoGame/SuperMarioGalaxy'': The first planet encountered in the "Toy Time Galaxy" level has a large model train on it.
** ''VideoGame/SuperMario3DWorld'' has three train levels: two military trains captained by Pom Pom, and one made of gold that is a bonus level.
** ''VideoGame/MarioParty8'': The board Shy Guy's Perplex Express takes place inside a long train with five standard wagons, and whose goal for the characters is to navigate from the mini-wagon at the very end to the front part where the driver awaits to sell a Star for 20 Coins. Besides the linear path and star obtainment methos, the main gimmick is that a Magikoopa sometimes comes by and scrambles the order of the cars, shifting the board and everyone's positions.
** ''VideoGame/MarioPartyDS'': The minigame Track Star has three characters fleeing from a train that is being driven by the fourth, who in turn has to run over them. Prior to reaching a fork, both the train driver and each of the running characters have three seconds to decide whether to go to the left or the right. If a running character runs onto a path different from the one chosen by the train, they'll be safe until the converge point; if the train driver chooses the same path as a running character, then the latter has to press two randomly-designated buttons repeatedly during five seconds to run faster and avoid getting caught, while the driver has to press the A button repeatedly during the same period to speed up the train. When the driver and any remaining characters(s) reach a unified track, the process is repeated. In the event two or three running characters survive and end up choosing different paths on the third fork, the train driver will automatically lose, as there won't be a way they can get rid of all characters no matter what.
** Several of the stages of ''VideoGame/CaptainToadTreasureTracker'' take place on a moving train, requiring the player to explore inside, outside, and on top of the cars.
** Sunset Express in ''VideoGame/PaperMarioColorSplash'' is a train with a western motif.
** ''VideoGame/PrincessPeachShowtime'': The level "Cowgirl at Dusk" consists of chasing after the Sour Bunch's train on a horse, then jumping off of a ramp to board the train itself in order to stop it.
* ''Franchise/SonicTheHedgehog'':
** Sunset Park Act 3 from ''VideoGame/SonicTheHedgehogTripleTrouble''. The boss is the engine itself, which fires spiked cannonballs at the player.
** In ''VideoGame/SonicAdventure'', in the middle of E-102 Gamma's [[EternalEngine Hot Shelter]] level, Gamma must travel across a pair of high-speed cargo trains, the rightmost of which is loaded with badniks. When he hits the switch on the rightmost engine, it will take him to the center of the base, where an upgraded E-105 Zeta is waiting for him.
** In ''VideoGame/SonicShuffle'', the fourth board, Riot Train, is set on a runaway train. Occasionally, freight cars would couple to or uncouple from the train, and the final mini-game involves Sonic and his friends [[{{Trainstopping}} pushing the train back to stop it from falling off a cliff]].
** In ''VideoGame/SonicHeroes'', either Rail Canyon or Bullet Station had this as part of the level.
** Radical Train in ''VideoGame/SonicTheHedgehog2006''. In Sonic and Shadow's story, they have to catch up to the train before it gets blown up or escapes. Silver's level is more linear.
** In ''VideoGame/SonicMania'', at one point in Sonic and Tails' [[TheWildWest Mirage Saloon]] Act 1, you'll drop from [[LevelsTakeFlight the Tornado]] and onto a train driven by Dr. Eggman.
* ''VideoGame/SunsetRiders'', being a Wild West themed game, had two train levels. The first one, which was the second level of the game, had you riding horses alongside a train while shooting bandits that were riding up to it or were already on board. The second train level had you getting aboard the caboose and having to shoot your way to the engine.
* ''VideoGame/SuperCatboy'' have the stage where you infiltrate a locomotive en route to Dr. Ungefog's hideout, moving from one cabin full of enemies to another. Which inevitably leads to a TraintopBattle.
* ''VideoGame/TinyToonAdventures'' games:
** ''VideoGame/TinyToonAdventuresBusterBustsLoose'' for the SNES has this in the second half of the [[TheWildWest Western-themed level]].
** Hamton's AutoScrollingLevel in ''VideoGame/TinyToonAdventures2TroubleInWackyland'' for the NES, which also has a TrainTopBattle against [[TheAhnold Arnold the Pit Bull]].
** ''VideoGame/TinyToonAdventuresBabsBigBreak'' for the Game Boy has a train in the middle of the second stage.
* Level 2 of ''VideoGame/{{Vectorman}}'' has the titular character morph into a train to battle Warhead on a set of levitating tracks.
* Stage 7-1 of the NES game ''VideoGame/ViceProjectDoom''.
* The original ''VideoGame/ViewtifulJoe'' has a train sequence in the latter half of the 5th world.
* ''VideoGame/WarioLand'':
** There are two in ''VideoGame/WarioLandSuperMarioLand3'' that double as {{Auto Scrolling Level}}s.
** Two levels in ''VideoGame/WarioLandII'' (one of which is underground).
** Wreck Train and Derailed Express in ''VideoGame/WarioLandShakeIt''
%%* ''VideoGame/{{Wells}}'' has a level set on a train.
* ''VideoGame/YoshisCraftedWorld'':
** "Rail-Yard Run" (part of Sunshine Station) involves Kamek disassembling a steam engine, and Yoshi must find the three missing pieces to reassemble it. When he does, the train will take him to the goal.
** "Whistlestop Rails" from Big Paper Peak is another locomotive level, this time with the better part of the level spent riding trains through fields and caves and dodging Fangs.
** "Jungle Tour Challenge" from [[JungleJapes Rumble Jungle]] involves Yoshi riding on a train as he shoots eggs at the animal targets.
** "Gator Train Attacks!" is a TraintopBattle against the titular Gator Train, which rides on rails parallel to Yoshi's.
[[/folder]]

[[folder:Puzzle]]
* A good chunk of ''VideoGame/ProfessorLaytonAndTheDiabolicalBox'' takes place on the Molentary Express, the most luxurious train in the world.
[[/folder]]

[[folder:Role-Playing Games]]
* In ''VideoGame/BoxxyQuestTheGatheringStorm'', the first half of Chapter 6 is set on the luxury Hype Train as it travels from one site to another. Predictably, it turns into a [[ThrillerOnTheExpress murder mystery scenario]] almost as soon as you get onboard.
* ''Franchise/FinalFantasy'':
** The ghostly Phantom Train of which last destination is the afterlife from ''VideoGame/FinalFantasyVI'', which is a boss in itself (and can be [[BeyondTheImpossible suplexed]]).
** ''VideoGame/FinalFantasyVII'' has the team take a train, only for the guards to catch up with them, leaving [[YourTerroristsAreOurFreedomFighters our heroes]] to make a dash for it. There also is a haunted area named the Train Graveyard, full of derelict trains.
** In ''VideoGame/FinalFantasyVIII'' there's the Timber Owls SEED mission (plus a bossfight) that takes place on two separate trains.
** In the ''Endwalker'' expansion for ''VideoGame/FinalFantasyXIV'', the beginning of the Tower of Babil dungeon involves fighting several MechaMooks on a supply train on its way to the tower itself.
** ''VideoGame/DissidiaFinalFantasy'' has the Phantom Train from ''Final Fantasy VI'' as a level. The characters fight inside one of the cars and the seats are breakable. It's easily the most confined arena in the game, but it more or less works since the walls become partially transparent whenever doing otherwise would interfere with the camera.
* ''Manga/FullmetalAlchemist'' games:
** ''VideoGame/FullmetalAlchemistStrayRondo'': The first proper dungeon is a train that was attacked by Bald and his men ([[GoldfishPoopGang again]], judging by Ed' exasperated reaction). The level serves to introduce a [[CanonForeigner new character]], Cony, who was taken hostage by them.
** ''VideoGame/FullmetalAlchemistSonataOfMemories'': The brothers' train is ''once again'' attacked by Bald, again serving as the first real dungeon. Al even introduces Bald to Winry as the guy with a train robbing hobby.
* The Game Boy Color adaptation of ''VideoGame/HarryPotterAndThePhilosophersStone'' has a level set on the Hogwarts Express. Harry meets Ron at the back of the last coach and there's a boss fight with Draco Malfoy, but not much else aside from a lot of other students to talk to.
* In ''VideoGame/KingdomHearts3DDreamDropDistance'', the Solar Sailer in [[Film/TronLegacy The Grid]] takes on an appearance similar to a freight train.
* ''VideoGame/MegaManBattleNetwork6CybeastGregarAndCybeastFalzar'' had the Link Navi mission with [=ChargeMan.EXE=] in the ''Gregar'' version. Said Navi offers his services to transport [=NPCs=] to various areas of the Net in a minigame where he tries to go from Point A to Point B without losing his passengers.
* ''VideoGame/PaperMarioTheThousandYearDoor'': Chapter 6 takes place mostly on a very posh train called the Excess Express, in a loose parody of ''Literature/MurderOnTheOrientExpress'' and, more broadly, a pastiche of {{whodunnit}} stories. Likewise, a TraintopBattle occurs near the end of the chapter.
* The first boss of ''VideoGame/Persona3'', Priestess, hijacks a train S.E.E.S. is investigating, also a TimeLimitBoss.
* ''Franchise/{{Pokemon}}'':
** The Battle Subway in ''VideoGame/PokemonBlackAndWhite'' and [[VideoGame/PokemonBlack2AndWhite2 the sequels]] functions as the Battle Tower of Unova, where you fight several Trainers in succession until facing [[BossBattle Emmet and Ingo.]]
** Outskirt Stand is where the main story begins in ''VideoGame/PokemonColosseum'' and the location later returns in ''VideoGame/PokemonXDGaleOfDarkness''. In these games the locomotive is broken down in the middle of the desert and has since been converted into a restaurant and bar.
* Part of one of the final dungeons in ''VideoGame/SecretOfMana'' takes place on an undead-infested metro train.
* ''VideoGame/ShiningForceIII'' had a whole chapter about sneaking onto a train, people talking about trains, fighting in the train and then a big fight on top of the train for good measure.
* ''VideoGame/SkiesOfArcadia'' has a train sequence, while the heroes escape from the BigBad slowly walking towards them.
* ''VideoGame/StarWarsTheOldRepublic'' has the Crisis on Umbara flashpoint, the first half of which takes place both on top of and inside a moving hovertrain.
* The first real dungeon in ''VideoGame/TalesOfXillia2'' is a train being raided by terrorists.
* ''VideoGame/WildArms4'': The party boards Silver Star Express in order to [[spoiler:rescue Jude's mother, being held there]]. Or, more accurately, Jude does the boarding by RacingTheTrain on a bike using his SuperSpeed - the rest of the party just [[PartyInMyPocket kind of shows up]]. On your way through it you have to fight a ''tank'' and jump across a series of decoupling flatcars. In the end, the party is prevented from reaching their goal by being trapped in a decoupled car that's sent off the cliff.
* ''VideoGame/WorldOfWarcraft'' has the Grimrail Depot 5-man dungeon, where the players attack a train depot, board a freight train, and fight through the enemies until they reach the boss. After killing the boss, they sabotage the engine and cause the train to wreck and explode.
** There is also the Blackrock Foundry, where the players fight Operator Thogar in the middle of a railway depot. Trains come through during the fight on the different rail lines, and if they hit a player, they deal most of the player's health in damage.
* In ''VideoGame/YouAreNotTheHero'', Petula boards a haunted train on her journey.
[[/folder]]

[[folder:Simulation Game]]
* In ''VideoGame/MiniMotorways'', London, Mumbai, and New York City have train stations as additional destinations for cars. In these levels, a train moves along the railway, blocking cars along the way, and momentarily stops at each station. Trains cannot be removed, so further planning is needed in building roads that cross railways.
[[/folder]]

[[folder:Survival Horror]]
* ''Franchise/ResidentEvil'':
** ''VideoGame/ResidentEvil0'' starts out on a train infested with leeches, OH and the undead. Then it crashes into a mansion full of the things. Talk about a lousy trip.
** The climactic battle with William Birkin in ''VideoGame/ResidentEvil2'' takes place aboard an escape train fleeing the (naturally) self-destructing Umbrella lab.
* In ''VideoGame/SilentHill3'', the second level takes place in the Bergen Street SinisterSubway station. At the end of it, an empty subway train shows up and, when Heather enters it, the doors close and trap her inside. What follows is a sequence of cars that she has to cross, some of which are dark and/or full of enemies, until Heather reaches a car that stops at an "unknown station" and her only exit is through [[DownTheDrain a sewer underpass]]. During the ride, you can exit out the back door at any time, but it always leads to the rearmost door [[MindScrew even if you just crossed to the next car... and once you reach the final car and check the front door, there's no locomotive or conductor to be seen]].
[[/folder]]

[[folder:Stealth-Based]]
* ''VideoGame/SplinterCellPandoraTomorrow'' has a level where Sam Fisher has to infiltrate and interrogate someone on a high speed train in France. He inevitably ends up on top of the train, and the sides, and the ''bottom''.
* One level in ''[[VideoGame/{{Commandos}} Commandos 3: Destination Berlin]]'', where the team has to recover works of art stolen by the Germans.
* The final stage of ''VideoGame/Hitman3'' is a NoGearLevel set on a train, which Agent 47 boards as a TrojanPrisoner and then has to make his way to the front to finally confront [[spoiler:[[BigBad The Constant]]]]. You can choose to either sneak through each car or climb around on the outside, and the front car can of course be decoupled from the rest of the train once you get there. On top of being an unusual level for its linear layout, it's also the only level where you can kill indiscriminately, [[spoiler:since everyone there is a Providence member, therefore a valid target.]]
[[/folder]]

[[folder:Third-Person Shooter]]
* The climax of ''VideoGame/GearsOfWar'' has you work your way up a train, fighting off every kind of {{Mook}} and Miniboss the game can throw at you, before the confrontation with the FinalBoss.
* ''VideoGame/Splatoon2: Octo Expansion'' has the Deepsea Metro, a SinisterSubway that serves as the game's main HubLevel.
[[/folder]]

[[folder:Wide-Open Sandbox]]
* ''VideoGame/GrandTheftAutoSanAndreas'' has three: CJ hitches a ride on a train and steal its cargo, he's on a motorcycle keeping up alongside the train, the last is on a jetpack flying around the train. There are [[SideQuest side-missions]] where he can drive a train, but nothing interesting happens at all, unless the train is intentionally crashed.
* You find yourself amidst a TrainJob in ''VideoGame/RedDeadRevolver'' while going to Brimstone.
* ''VideoGame/RedDeadRedemption'' has two such missions, both of which have the player manning a gatling gun on one of the cars to fend off enemies attacking the train.
* ''VideoGame/AssassinsCreedSyndicate'' features a train as the protagonist's HomeBase. Also, unsurprisingly given the time period, trains play a big part in the game and several missions revolve around hijacking, protecting, reaching and escaping on moving trains.
[[/folder]]

[[folder:Unsorted]]
%%* The game of ''VideoGame/BackToTheFuturePartIII''.
* The NES game ''Cowboy Kid'' has one before the battle with Slash Joe.
* ''VideoGame/JediKnightJediAcademy'' has a level where you have to disarm a bomb on a crowded train, then fight your way along the train to the lead car, so you can stop the bad guys from ramming it into the station.
* ''VideoGame/TheLastExpress'' was set entirely on a train. The Orient Express, to be precise.
%%* Act 2-1 in ''VideoGame/NinjaGaidenIITheDarkSwordOfChaos''
* One level in ''VideoGame/FinalFight'' takes place in a metro train as well as station.
* The [[TempleOfDoom Egypt]] stage in the NES version of ''Manga/{{Strider}}'' begins with a train ride to the pyramid in question.
* Sector 3 of ''VideoGame/{{Jumper}} Two'' features Ogmo thrown on a train by [[PunnyName the Conductor]]. [[SarcasmMode Of course]], [[MalevolentArchitecture the train was designed for a very luxurious travel]].
%%* ''VideoGame/SnakesRevenge'' has this.
* The first level of Victoria's world in ''VideoGame/LittleBigPlanet 2'' takes place on a train.
* ''VideoGame/ShadowsOfTheEmpire'' has the Ord Mantell Junkyard level.
* ''VideoGame/{{Klonoa}} 2: Dream Champ Tournament'' has this for the second area.
* ''VideoGame/AliceMadnessReturns'' has the Infernal Train level.
* In ''VideoGame/Th3Plan'', a heist game, one of the first stages is on a train going through a very long tunnel.
%%* ''VideoGame/CactusMcCoy'' has several levels on a train. And it's AWESOME.
%%* ''VideoGame/MonsterTale'' has one of these levels.
* ''VideoGame/DistortedTravesty'' has one, of course. It then parodies it by having the train's interior be an AbsurdlySpaciousSewer.
%%* All of the Creator/HudsonSoft game ''VideoGame/StopTheExpress''.
* The Creator/DataEast arcade game ''Western Express'' (released as ''Express Raider'' in North America) is another game that takes place entirely on train themed levels. It also has a western theme.
* The Creator/{{Taito}} arcade game called ''Wild Western'' involves protecting a train from bandits.
* In ''VideoGame/TheMatrixPathOfNeo'' this is what the second SinisterSubway level turns into. It's filled with {{Ominous Visual Glitch}}es and AGlitchInTheMatrix.
%%* Act 2-2 in ''VideoGame/{{Vanquish}}''.
* Grimrail Depot in ''VideoGame/WorldOfWarcraft: Warlords of Draenor''.
* Before the final showdown in ''VideoGame/YoJoeBeatTheGhosts'', the player has to pass through a metro train ridden with enemies. For obvious reasons, this level is much shorter and simpler than any other.
* ''VideoGame/MetalSlug 2's'' third stage is a train battle that includes having to jump onto a second train in the middle of it.
[[/folder]]
----