Skyrim small tables are actually shelves buried. If you can't see it ...
(Recreating my list of #gamedev tricks thread)
In Jak and Daxter if by any chance the Area/assets ahead aren't fully loaded the game will make you trip to give it more time to fully load. #gamedev
In Super Mario 64 to achieve the infinite stairs effect, Mario gets teleported back. Also the reason why Speedrunners can glitch and skip it using the backwards jump trick. #gamedev
There was a memory exception in Wing Commander on exit, because of the deadline they left it but change the error message to "Thank you for playing Wing Commander!" #gamedev
This #gamedev trick is from Undertale, to prevent NPCs to walk on pits, Magic glass.
In Fallout 3 the Trains are actually a character wearing a train model as a hat. Engine didn't allow for vehicles, so this way they could reuse NPC movement code. #gamedev
In Super Mario Bros. because of memory limitations clouds and bushes are the same sprite but using a different tint color. #GameDev
In Kirby's Dream Land for GameBoy, to save memory some enemies have the same "back" part of the sprite and only change the face. #GameDev
Here's one of my fav, in Zelda: A Link Between Worlds because a true top-down view in 3D would have perspective issues, they purposely tilt the objects, so the perspective looks good to the player from top. #GameDev
Duke Nukem 3D mirrors reflection were achieved by duplicating the room on the other side. If you deactivate clipping you can go to the other side. True reflections are computational intensive even today #GameDev
In NBA Jam: T.E. for Genesis/Mega Drive developers only found out after making the 250k cartridges, that there was a save bug. But playing the game in a certain order fixed it, so it got a day one "patch" in the manual saying how to initialize memory. #GameDev
In Super Mario Galaxy when Mario drowns in a swap his hand reaches out, but because of the size of the head devs had to shrink it so only the hand is visible to the player #GameDev
World of Warcraft rest bonus was made to encourage breaks, half XP gained after a few hours. Players hated, so they made everything take 2x as much XP to achieve but you start at 200% XP and gradually back to 100%. Same thing & players are happy. #GameDev
In Resident Evil 4 during the radio chat cutscenes it's actually a 2D panel with the 3D models behind. Many other games do this too.#GameDev
In Duck Hunt the NES Zapper worked by blacking out screen & drawing white blocks around targets when you fire, for a couple frames. The diode in the Zapper detects the change in light intensity and tells the computer if it’s pointed at a lit target. #gamedev #retrogaming
In Metal Gear Solid 1, another reflection trick. Water puddles are just a transparent texture with the geometry of ceiling and walls duplicated and inverted below the ground. That's why we can't see Snake reflection in puddles. #gamedev
In Prince of Persia (1989) animations looked fluid & realistic because @jmechner used Rotoscope. He filmed his brother doing the stunts, took pictures with a camera, had them developed at Fotomat and then traced them, frame by frame. #gamedev
Sega Saturn used Quads instead of triangles (the industry norm) for rendering, which is good for 2D but not as practical for 3D, devs had to work around that, so games like Tomb Raider had to be built to support quads on Saturn and triangles on PlayStation #gamedev
Paper Mario uses a transparent mesh to simulate door shadows instead of relying on heavy shadow calculations. #gamedev
In Dead Space menus and UI is all made with particle systems so it can sort during render, glow so that they could place it in-game and be more immersive. #gamedev
Katamari Damacy only has support for closed circular paths, so to handle spawn and despawn of falling boulders, they make them travel beneath ground to start point! Also memory efficient. #gamedev https://twitter.com/JasperRLZ/status/1289960052250435584
This is easily one of the best, on OG Xbox, Elder Scrolls III would occasionally reboot the Xbox if they ran out of memory. The user would just see a longer then usual loading screen. #gamedev
Lord of the Rings game needed large areas with a sort of goal at the end, so developers grabbed the Tiger Woods golf game and turned it into LOTR game. #gamedev
Journey has no automatic shadows. All shadows were painted by hand in a low res texture. To get the iconic sunset columns to cast sharp shadows, they aligned the pixel grid of the texture (3rd picture). #gamedev source: https://twitter.com/matt_nava/status/1503152810078052355/
Matt Nava on Twitter

“Funny story: #Journey had no automatic shadows. I painted them all by hand. The shadow texture was not hi res. To get the iconic sunset columns to cast sharp shadows, I made sure that they aligned with the pixel grid of the texture. Here you can see the shadow map I painted.”

Twitter
Kirby and the Forgotten Land might fake hit collisions in certain angles for better game feel, as long as in camera it "looks" like it hits. #gamedev
Skyrim handles NPCs inventories by hiding chests under the map. Most are impossible to get unless clipping is used, but sometimes you can find them. #gamedev
Metroid Prime full screen static effect texture would require too much memory and GameCube only had 24MB. solution?
texture is generated using the current RAM data which is the game running itself, and it looks like noise. #gamedev
Doom 3 fakes volumetric glow by folding vertexes with camera movement https://simonschreibt.de/gat/doom-3-volumetric-glow/ #gamedev
Doom 3 – Volumetric Glow | Simon schreibt.

@djlink this is quite neat! @jairtrejo I feel like you would find this interesting.
@djlink I wonder if this is actually a view aligned particle ribbon?
@thomas_griebel I don't know
@djlink Looks like one coiled around a quad. Not sure if they existed in idTech4 or not though, but this could be more of art effect rather than a specifically programmed feature
@djlink
These are the little, often unappreciated, things devs add or develop for games that really take it to the next level. Love to see people’s hard work on something they obviously cared about.
@djlink I have thoroughly appreciated this entire thread, thank you.
@djlink that's honestly genius
@djlink This looks like an incredibly efficient and also slow to code version of this.
I've done something similar with 2d shadows, but not to this level of sophistication.
@djlink Okay, that is cool, and fascinating to watch. Thanks for sharing.
@[email protected]this whole thread is great and I'd love to see more "famous game hacks"
David Amador (@[email protected])

7.9K Posts, 677 Following, 4.34K Followers · Indie game developer (like that movie). Maker of Quest of Dungeons, Vizati and other weird games. 
📍 Interwebs in Portugal

Gamedev Mastodon
@gabboman thanks, I’ll update as I find more
@djlink just like they did in Yar's Revenge on the Atari 2600! 128 bytes ram!

@enicon @djlink

Beat me to it, I came here to chime in about Tar’s Revenge. What a beautiful game that was.

@djlink similar to how space invaders used sprite data to make explosion sounds

@djlink most of these threads have a bunch of the same old tricks that, don't get me wrong, are genius, but i've read about them a million times

these are incredible

@monorail I found them too, the ones I haven't heard about as much I decide to make a thread
@djlink the more I learn about this game the more amazed I am.
@djlink They must have borrowed that technique from the #Atari2600 game Yar's Revenge, where the neutral zone is drawn using the program code as the graphical bits (see http://www.digitpress.com/library/interviews/interview_howard_scott_warshaw.html).
DP Interviews...

@djlink isn't this very similar to how the barrier is drawn in Yar's Revenge?
@loke I don’t know but if you have a link with more info at hand I’m interested in that one

@djlink this article mentions it in passing. https://www.polygon.com/2015/3/9/8163747/yars-revenge-is-a-journey-back-to-a-lost-world-of-video-games

The article is based on a DGC talk by the designer, but I can't find the talk itself.

The story of Yars' Revenge is a journey back to a lost world of video games

Classic game post-mortems at GDC follow a certain pattern. There is always a moment when the presenter will look back at the time when their particular classic game was made and say something...

Polygon
@djlink "We ran into memory issues trying to create this screen... What did we do? We used the memory to create the screen!"
@djlink this reminds me of a trick i found while reading the pac-man disassembly: the game's random number generator uses the first half of the game code as a random number table
@nil wow that's pretty neat
@djlink i watched a video recently an old atari/comodore/simil game did the same.
cant remember the name. was a guy that shoots at some alien like and theres a 'neutral' rainbow noise band in the middle where he cant shoot or get shot.
Reverse Engineering Game Code from the Neutral Zone

YouTube
@jerobarraco oh I only saw a couple minutes yet and it's really neat, thanks for sharing
@djlink im glad youve liked it.
thanks for the thread its amazing. i love it.
@djlink
My guess is that when they were editing the game, it was easier to edit NPC inventories by putting those in specific places that are easy for the person editing to find. Each NPC may potentially spawn in dozens of places depending on story or time of day.
@djlink Isn't that one of the ones Sakurai made a video about? It's real goofy when you're able to peek behind the curtain like that but it also makes total sense in terms of game feel.
@AyotoCorp I think so, I had the video on my pc from my birdsite tweets backup xD
@djlink .... wait what?
This is pretty badass in its own way!