So, I’ve been trying to build a tile editor for a while, a good long time. Specifically, this is to expand on Jens and Jadga’s raycaster that they both made years ago, and then once the thing is built, I’ve got an expansion idea in the wings as well.
The reason, is because as cool as that was, the engine they were imitating wasn’t actually famous for its raymarching more what it DID with that raymarch, and blew everyone’s mind that you got “3D” graphics on a machine designed specifically for spreadsheets and only had enough graphics hardware in place for bar charts and precious little else, then this kid from Kansas turns up figures out how to translate the bar chart system into 3D surfaces (Textures) convincingly… well, for the time anyway. Most people hadn’t even tried!
The first three images are what I’m trying to do, well, specifically, get the snap editor to build a matrix with tile id’s, which is the first part, and then aside the second image as tile properties.
The third image is the stage, wherein if I where to mouse over each square it’d say the TID and the Property.
And the final image, shows about 10% of the rays I’d be firing off at the bottom of the screen, and only along one wall in engine, and that’s scaled for 320x200 like the original, the wider the res, the more rays. (I did that all manually! In MSPaint! Ooooof)


My problem, is I can get snap to draw a grid easy, but I can’t quite figure out how or what I’d need to generate a tile ID and map it to the stage, or then map those properties along side it.
I’d also want the levels to be stored as text strings (and if I could get further, maybe figure out how they stored those strings in wolf3d(but that’s optional, for now)). Now, all my examples are 8x8 in size, though technically the final picture is 8x12, because I drew it first and then figured out what it would like like in the first three images manually and decided on 8x8 for brevity, and the first two parts are text files, but in order for me to upload them to these forums I had to screenshot them and save them in paint, but the level I have in mind is 64x64. Much like the original.
Now. While I have the original game and tile editor’s source, they are both written in C89 and specifically queries things long since forgotten. That and I can’t read text code… or, more accurately, I want to put them in snap to see what they’re doing with snap’s incredible feature set, and the smallest example I have is 27000 lines of code (That’d be wolf3d (without the editor))
Which is, and I know this because I’ve tried this… multiple times… tedious to transpose to snap. I usually give up after the first H file (and usually well before)
Wolf3D is also the hardest to implement, because it’s the only one that uses a tile editor, DooM uses a homebrew simplified version of vector graphics that is far easier to implement in snap, but the tile editor can be also converted to a graphics editor, instead of storing a single character, each tile could just store colour data, and that’s also trivial in snap.
The later projects are harder, because they need that z co-ordinate that snap does not have. (it could probably do it, Quake was software rendered after all but let’s clear this obstacle first shall we)
TL;DR == Have assets, can’t for the life of me figure out how to implement them.
(Does this make ANY sense???)





