K&P Raycaster

wallop's picture
Screenshot 2021-09-20 at 23.05.42.png
Game File: 

Hi all, or whoever is still around on here. I used to be a member about 10 years ago but drifted away and hadn't touched Klik & Play since. I recently saw a post elsewhere online about creating a raycasting engine, which must have triggered some repressed memory because after getting this stupid idea, I couldn’t get it out of my head. I knew I had to somehow make it happen.

I see there was some discussion a long time ago about creating a raycaster in this fine bit of development software but as far as I can see, nobody ever got it going; or at least if they did, nobody ever shared it. So today, I’m ambivalent to unveil the world’s worst raycaster.

It’s slow, glitchy, and almost indecipherably low resolution, but it does just about work. Arrow keys move the player around.

Tested working in a WinXP virtual machine under Parallels on Mac OS. No idea if it works in WINE etc.

enjoy!

Made For: 
An event

Comments

snapman's picture

cool!

After all these years I still follow the twitter account that automatically tweets the names of games submitted to GT, and of course a title like this is gonna draw me back here again.

SpindleyQ (creator of this wonderful corner of the internet) did a very simple raycaster in 2008, and although at the time I modified it to have shaded walls, I never posted my edit. So it's cool to see, 13 years later, a KnP raycaster with shaded walls and even multiple wall colors! Very cool and thanks for sharing :)

sergiocornaga's picture

There's also YeargH 3D! by

There's also YeargH 3D! by Radix, but I'm very keen to check out this new addition to the field.

wallop's picture

Wow - I had no idea that

Wow - I had no idea that other one existed! Glad I hadn't found it actually though as I had a lot of fun making my one. Looks like SpindleyQ and I went very different routes in how it all works - mine has a noticably lower vertical resolution and is a real hog with active objects to fire all the 'rays'.

cool stuff

I tested and it runs well in dosbox (win 3.1) https://youtu.be/9llot5fBhac (only seems slow because of obs)