So I just spent way too long whipping up an example level lol, but then realised I couldn't bring csv into the forum, for good reason.
Instead you get this ridiculously oversized png instead. "Yay"
So, what are we seeing here? We're seeing the same level loaded in two different ways, and yes, I wrote the CSV manually, because I'm out of my mind lol.
What I'm TRYING to do is build a tile editor, so, for example, on the stage you'll see the pink version, and the game itself will just see the data, load it, and then fire off a ray. Every wall with the number 1 will be a wall with an assigned texture, every number 2 is a door that can be opened, and every door marked with a 3 is a combination of 1 and 2, as in it looks just like a wall, but operates kind of like a door, but instead of opening side by side, in wolf, it moves back two tiles.
Once I get that working, I can add the second layer, which is much larger, but for example, the first four examples would be office furniture, decorations, in wolf3D this was called the "Thing Plane" and was loaded after the level, but before gameplay. These were all sprites with multiple viewing angles and transparency effects, making the world look like an actual used space, instead of what it was, a list of lists.
(([4] [Desk] @delInput @addInput :: list)([5] [Light Fixture] @delInput @addInput :: list)([6] [Tree] @delInput @addInput :: list)([7] [Barrel] @delInput @addInput :: list) @delInput @addInput :: list
The Problem I'm having, is, probably self inflicted, like most of my problems, but I'm trying to make a blank level variable that can be changed by clicking on the stage... but for reasons beyond my knowledge, I just can't do it. Iunno what I'm missing.
Anyway, I'm rambling... good luck figuring this nonsense out. Swearing I missed a wall in the csv... whoops. sigh LOL