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.

SO

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. 🙁

Links

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

Screenshots


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

    免费邮件群发软件?正宗的供应商名字叫老杨.12年专业于邮箱地址供应,一流的服务。

    超级无敌虚拟邮件群发

    卓越
    令人印象深刻的。
    我们的理想很浅显,受累却是必然的。孰能一般是走出迷雾。从来没有捡来的得到。但是人一定想轻易而举。这是一种预示:人必遭受苦难

    世间有许多事功亏一篑的主要原因就是意志不坚定,不能坚持到底。现实生活中,如果没有坚定意志,我们就不能享受成功的幸福。

    国外邮件群发软件哪个好用吗

    邮件营销怎么做有曾听过?知道这名字?听过这名字名声如雷贯耳呢。世上没有简单得来的名气。大家都明白,成就,是代价的付出。

    qq邮件群发软件