updated 2.5d map viewer

Community Forums/Showcase/updated 2.5d map viewer

Kalisme(Posted 2008) [#1]
Hi there... I sat down and had another rewrite of the code, then worked on the rewritten code for a while...
I've got badly projected textures on the wall, (but I've got the basis of it anywho) primitive sprites and clunky collision code.
Here's some pics:




and here's the *.zip with executable and code:
http://uploading.com/en/files/YI8N7FMB/2p5d.zip.html

All done in 2d commands... All done as a personal learning exercise. Still very glitchy.
I might do a simple li'l freeware game from it just for fun. Oh, you might notice that when sprites are REALLY close you get a bit of slow down... sorry :(


Chalky(Posted 2008) [#2]
.


daaan(Posted 2008) [#3]
Nnnnnnice! I love ray casters.


Jerome Squalor(Posted 2008) [#4]
thats cool


Zenith(Posted 2008) [#5]
Great job Kalisme, something I've always put off properly making is a raycaster. How do your rays work? Are you using line intersects to quickly check rays? :)


Kalisme(Posted 2008) [#6]
Zenith: It actually works more like rendering polygons in the 3d engine, but instead it just renders walls. I'm currently working on the floor texturing. If it actually checked with a line-esque method like classical raycasting I think it would be alot slower and wouldn't allow the walls to be as complex.