Retrogamecoding(.org) > Examples

Raycaster map through new lib

(1/5) > >>

Mopz:


I'm working on a 3d library for naalaa 6 based on one of my old game engines. I wrote a loader for maps created with naalaa's raycaster editor and after running some pull functions on the floor and ceiling it already looks kind of cool. The engine DO support non-orthogonal walls, but since this is a raycaster map you don't see it here.

I've attached the example, but you need naalaa 6 to compile and run it.

Mopz:
Yes, I record everything: http://youtu.be/wM3mGohetfw

Cybermonkey:
Great. But could the spinning around be stopped if one moves the mouse to the right or to the left?
And is it possible to toggle the library to fullscreen?

Guilect:
Looking good Mopz.

Mopz:
I posted something yesterday night that didn't work at all (hardcoded paths). But the TD library and editor are soon finished. Here's a rather blocky example. Only mouse control this time: move and turn with arrow keys, look up and down with PgUp and PgDown.

Textures from opengameart.org.

I need to add support for water and change of lighting so that you can make parts of a map more gloomy. Also, you can't add models to your map yet (that's why things look blocky, only walls, floor, ceiling and heightmap are used).

Navigation

[0] Message Index

[#] Next page

Go to full version