HOLODECK GAME (development)

One thing that has popped up on Twitter over the past month or so scroll down was how old games had a limited amount of RAM, so data had constant addresses in RAM and that’s where memory hacking came into play. I’ve been fooling around with shaders a little bit lately, and I thought it would be cool to play a first person game on a ZX Spectrum.


That’s where this game idea came from. You play as a person stuck in a Holodeck-esque area, and you can navigate it with keyboard+mouse controls (or a 360 controller?). The “gimmick” in this game is a portable computer the player carries around that has the ability to PEEK and POKE memory addresses. This could change anything from the position or orientation of the player, to the level data that builds the world. (If someone knows beforehand the correct memory addresses, they could just make the win condition be accessible at the start of the game. This is perfectly fine, but is also the reason I won’t add high scores.)

Here’s a Vine video of the game-so-far in action (Sorry. I can’t use an Xbox controller with one hand.):

How the shader works:

  • Render game to a 256×192 render texture.
  • Render that render texture to another 256 rendertexture (this makes the framerate stable regardless of window resolution? I was getting ~33fps on a 1208×960 window before doing this, and ~180fps afterwards), using the shader:
    • Average all colors in a 8×8 block that AREN’T black.
    • Find the closest color in the ZX palette to the average.
    • If the original pixel isn’t black, make the non-black pixels in the 8×8 square equal to the closest color to the average.
  • Render the newer render texture to the screen.

TADA. This makes the game render close to how a ZX Spectrum would. The ZX Spectrum had a 256×192 resolution, with a colored border that could be changed to any of the bright colors. The 256×192 screen was divided in 8×8 px regions which could consist of two colors in the bright or dark palette. In Holodeck Game, it’s black and another color. This makes it way easier for me to develop and the game looks fine and unique as it is.

Oops. Not month or so.

Andi if you are reading this I am sorry for making a game with the hacking you’d like be a first person “shooter”. You get carsick from those. 🙁


  1. No Builds Yet
Oh no! Your holodeck malfunctioned. Manipulate everything you can to escape!


A test of the shader on particle effects
Memory editing just like old games!

Comments (3)

Leave a Reply

Your email address will not be published.

  1. Roker

    Comment’s author: penlcuihiao08/12/07 04:39:00 PM帥哥~真正的帥不是在外表(你的外表一點也不帥 可是很可愛!!)你是個很有內涵的人 光是這點你就夠帥了!!這可不是安慰的話喔 我不懂什麼叫做一個人的轟趴其實我根本不知道什麼是轟趴不過一個人在家做自己想做的事 那是一件很享受的事我還挺享受 宅男 的生活泡一杯濃濃的咖啡 看一部感人肺腑動人心弦的電影或是聽幾首優美的曲子爽啊~~

  2. Halley