logoalt Hacker News

Carrier Landing in Top Gun for the NES

267 pointsby todsacerdotitoday at 2:16 PM105 commentsview on HN

Comments

dynmtoday at 5:44 PM

Incidentally, this is not a blog that makes it easy to look at the archives!

- No link to other posts

- This post is at https://relaxing.run/blag/posts/top-gun-landing/

- https://relaxing.run/blag/posts/ gives a 403

- https://relaxing.run/blag/ gives a 403

- https://relaxing.run/ gives a full-page picture of some beautiful mountains

- No Atom/RSS link hidden in source

Not a complaint! If this is an intentional choice, I respect it.

show 1 reply
jordightoday at 6:08 PM

The information to properly land the plane is in the manual. The required air speed and altitude have never been a secret, if you read the manual (which I guess most kids didn't).

The real difficulty, not explored in this disassembly, is that the game has semi-realistic physics! My older brother was in flight school at the time and was able to easily land the plane and taught me how to do it.

As the article states, "Altitude and speed are both controlled by throttle input and pitch angle". So you can't just hit the engines or air brakes button to change your speed. If you lower the nose of the plane, you'll speed up and vice versa! So you have to carefully juggle your speed and altitude by altering both your pitch and your engines/air brakes.

My brother taught me that my speed wouldn't reduce if I'm nosediving, so raise the nose a little while opening my air brakes for a quick reduction in speed and then level out to maintain altitude. The game actually models this somewhat accurately!

show 4 replies
debo_today at 3:40 PM

I never had much trouble landing on the carrier, but refueling in the sky? I think I only managed it a few times.

https://www.youtube.com/watch?v=vetEg8J-wcw

show 8 replies
nocoinertoday at 4:02 PM

This business will get out of control. It will get out of control and we’ll be lucky to live through it.

show 1 reply
tuhgdetzhhtoday at 5:11 PM

Just for comparison, this is how the code could look like in Python:

  SUCCESS = 0
  TOO_FAR_LEFT = 2
  TOO_SLOW_OR_TOO_LOW = 4
  TOO_FAST_OR_TOO_HIGH = 8
  MIN_ALTITUDE = 100
  MAX_ALTITUDE = 300
  MIN_SPEED = 200
  MAX_SPEED = 400
  MIN_SPEED_200_RANGE = 238
  MAX_SPEED_300_RANGE = 338
  MAX_HEADING_RIGHT = 8

  def landing_skill_check(
    altitude: int,
    speed: int,
    heading: int) -> int:

    if altitude < MIN_ALTITUDE:
        return TOO_SLOW_OR_TOO_LOW
    if altitude >= MAX_ALTITUDE:
        return TOO_FAST_OR_TOO_HIGH
    if speed < MIN_SPEED:
        return TOO_SLOW_OR_TOO_LOW
    if speed >= MAX_SPEED:
        return TOO_FAST_OR_TOO_HIGH
    if speed < 300:
        if speed < MIN_SPEED_200_RANGE:
            return TOO_SLOW_OR_TOO_LOW
    else:
        if speed >= MAX_SPEED_300_RANGE:
            return TOO_FAST_OR_TOO_HIGH
    if heading < 0:
        return TOO_FAR_LEFT
    if heading >= MAX_HEADING_RIGHT:
        return TOO_SLOW_OR_TOO_LOW

    return SUCCESS
show 1 reply
jjicetoday at 3:20 PM

Classically featured on the Angry Video Game Nerd: https://www.youtube.com/watch?v=fuZTUX1bwJ0

show 1 reply
ghctoday at 3:11 PM

I never played Top Gun, but I did grow up playing "Turn and Burn: No Fly Zone" for the SNES. All these years later, it's still amazing to me how much the graphics improved from one console generation to the next. I don't remember any other console transition being so consequential from a graphics perspective.

show 1 reply
TuringNYCtoday at 5:26 PM

Brought back memories! This was so frustrating, felt like a huge amount of randomness added to the controls. And each time you failed, you had to re-do the whole level. The other frustrating part of the game was mid-air refueling.

jcalvinowenstoday at 4:26 PM

I love sim hijinks. It's possible to reliably land a 737 on the carrier in X-plane: just take off with 30min of fuel, drag it in with full flaps and high power, and set the parking brake before you touch down.

show 1 reply
proctorg76today at 6:43 PM

Landing in Top Gun is easy and I'd like to see everyone whining about it dock with the satellite in Captain Skyhawk while all of RARE's best demoscene tricks go off all around you.

amaranttoday at 4:22 PM

I was pretty smol when I played this game last. I don't think I've ever managed to actually land on that hangar ship. That was what my older brothers were for!

show 1 reply
cloverichtoday at 6:17 PM

This just made my day. This landing was the bane of my existence back in kinder at my friends house, and I'd forgotten all about it. <3

JoblessWondertoday at 5:17 PM

I rented this game *TWICE* as a little kid and never got to actually do anything because I couldn't figure out how to land the damn plane.

show 1 reply
ethagknighttoday at 2:44 PM

The mission accomplished regardless of crash or land is hilarious

show 2 replies
pikkoloassemblytoday at 2:48 PM

Oh god the trauma this brought back.

show 2 replies
throwaway150today at 5:31 PM

> After about a minute of flying the game checks your state and plays a little cutscene showing either a textbook landing or an expensive fireball.

So the game does not let the player go all the way to perform the landing? That'd be dissatisfying?

show 1 reply
dylan604today at 5:35 PM

Sometime ago I bought a USB NES controller to use with an emulator. I took it on work trips to kill time mainly playing Zeldas. This bit of nostalgia makes me want to knock the dust off of it and load this up.

teekerttoday at 3:46 PM

Reminds me a bit of the game Retaliator, when I was 12 a class mate earned himself a night of "pick your own time to go to bed at camp" because he could show the teacher how to land. [0, the landing is at the very end]. I think at the time nobody knew what key to hit to deploy the landing gear (and flaps, though I think you could land without flaps). And since it was all copied stuff there was no book, no internet...

[0] https://www.youtube.com/watch?v=JYwcrxbhiLs

show 1 reply
reactordevtoday at 6:24 PM

Getting to stage 3 was a miracle when I was 9…

throwaway2037today at 4:11 PM

The best part:

    > Best read with Danger Zone playing on loop
show 1 reply
rob74today at 3:00 PM

> After about a minute of flying the game checks your state and plays a little cutscene showing either a textbook landing or an expensive fireball. Either way, you get a “Mission Accomplished!” and go to the next level (after all, you don’t own that plane, the taxpayers do):

For realism's (and comedy's) sake, they could have shown a pixel ejecting from the five (I think) pixels that form the jet before it explodes into a fireball, then floating down on a tiny parachute and being rescued by a tiny boat.

...but seriously, you didn't even get your score reduced for crashing the plane on landing?

show 2 replies
burntetoday at 3:47 PM

It took me months of play as a kid to finally land on that carrier. I felt like a Maverick himself when I finally landed it.

pavel_lishintoday at 3:17 PM

If I remember correctly, this game was very briefly featured on the Dungeons & Daddies podcast in the most recent season.

pak9rabidtoday at 3:30 PM

Damn, that was a walk down memory lane.

Scene_Cast2today at 2:53 PM

If you're into carrier landings and have a VR headset, I highly recommend checking out VTOL VR.

show 1 reply
thinkingtoilettoday at 3:02 PM

I remember this being next to impossible as a kid. The whole game was tough, but this was on another level.

show 3 replies
axpy906today at 4:19 PM

“the landing portion of the stage looks like this” Have not seen that ever and had an NES

bjournetoday at 4:22 PM

The landing was a piece of cake compared to the inflight refuling mission! I played Top Gun until the casette broke but could only pass that mission a handful of times.

monoosotoday at 3:50 PM

Now I just need to get the hang of docking in Elite.

show 2 replies
busterarmtoday at 3:21 PM

I actually learned how to do this by playing the aircraft carrier landing simulator game that was at the USS Intrepid. It's a little more fleshed out but the speed range and altitude is roughly the same. The simulator gave you a light indicator to assist with your approach.

show 1 reply
flowardnuttoday at 5:57 PM

lol zscaler:

>Request method cautioned for category Weapons/Bombs

blitzartoday at 2:47 PM

Come on, buddy, pull up. Pull up, Cougar.

moron4hiretoday at 3:29 PM

This is one of those cultural memes ("The Top Gun landing was ImPoSsIbLe") that tells on the person saying it for not having read the manual. If you don't read the manual, the landing sequence is pretty much impossible to figure out. If you do, you pretty much get it the first and every time after that.

show 3 replies
unwindtoday at 2:43 PM

Meta: Should have "NES" added to title to clarify it's about a game, not (as I thought) the movie.

drbigtoday at 2:41 PM

Lers of Spoil: this is about a NES game ;-) Pretty cool still, especially if one's into reverse engineering.