3DML

Started by angros47, November 22, 2023, 18:52:41

Previous topic - Next topic

angros47

Does anyone remember the 3D Markup Language, with the browser plugin Flatland Rover?

It was less versatile than similar languages, like VRML, because it was specific for explorable levels, it was poorly suitable for single 3d objects. On the other hand, it allowed to draw a level as if it were a tilemap, with a syntax like:

<LEVEL NUMBER="1"> 
        ###...### 
        #.......# 
        #.......# 
        #.......# 
        #.......# 
        #.......# 
        #.......# 
        #.......# 
        ######### 
</LEVEL> 
    

and it allowed the creation of things like:

Its player is open source, and hosted on github:
https://github.com/powerspowers/flatland

(the author compares it to Minecraft, but the concept is pretty different: in fact, blocks in Minecraft can be considered voxels, and work more or less like pixels in a low resolution 2d game. Instead, in 3DML, blocks work like tiles in a 2D tilemap)

I was wondering if a similar language could be used as an easy tool to introduce people to 3d game development. Its simple scripting features were actually enough to implement a system of keys/locks, remotely operated doors, and so on, and that was enough to create simple adventure games with it.
Under OpenB3D, perhaps something similar could be implemented using octrees, for example.

Thoughts?