Programming in 3D with 3DPL


Here’s an interesting tool for making simple 3D games. It’s called 3DPL, the 3D programming language, and it’s a real-time interpreted language that allows you to create cubes and other primitives that respond to user input and internal logic. Not only that, but you can build 3D versions of breakout and asteroids very simply with only a few lines of code.

3DPL is based on Unity with a lot of JavaScript influences. Building a cube in 3DPL is as simple as declaring it with a name and position in 3D space. There are a few functions that can be applied to these cubes – they can be made to rotate at the press of a key, or translated in space to collide with each other.

It’s still a very early build, but looks to be pretty interesting for an ‘introduction to 3D graphics programming’ perspective. You can grab a copy of 3DPL to try out over on [amigojapan]‘s github. Hopefully we’ll see a gravity method soon for a proper 3DPL Tetris implementation.


  1. Geebles says:

    This is very very similar to Second Life (open source ‘open sim’ also available) where you are an avatar and create objects with advanced scripts to do things (real time 3D). Check it out if this kind of thing interests you (we had to do it for uni)

  2. kay says:

    The grid. A digital frontier.

  3. jvr says:

    Perl 3D — Now one dimension less readable!

  4. Reaper says:

    FreeCAD with Python scripting can be used the same, and you use python instead of joe snuffy’s random language.

  5. M4CGYV3R says:

    So…it’s a game engine…based on another, better game engine…using a language that shouldn’t be used for 3D games. Did I miss anything?

    • defaultex says:

      Sadly these sorts of things are a dime a dozen. The time spent learning them would be much better spent learning an actual programming language and 3D API. There are plenty of helper libraries out there for every language that make easing into a 3D API possible.

    • Torwag says:

      I guess you might miss the fun the author had to write this and the massive amount he learned during creating this. Many of those kind of projects, are created during a self study session. Some of them might not be as useful from a end-user perspective, however, making them public is a nice act and might help someone to get inspired to create there own stuff or to dive into the topic

  6. qwerty says:

    It could have some potential as a learning tool for kids (think LOGO), but I see no other use for it. And the cloud download/upload buttons made it even less cool:^)

  7. Mitch says:

    What does “real-time interpreted” mean? Sounds like an oxymoron…

  8. Oh, an by the way, the linux binaries are not available on github, because block it too large, but the latest link to the linux binares are posted on the description box of the youtube video (this is temporary while I get a website going)

  9. Oh,and I would also like you guys to think of this language, as a programmable minecraft, since it is basically all cubes… and we all know how good minecraft scenes can be. But now you can program the blocks to do whatever you want them to do.

  10. Official website of 3dpl now available at

  11. also version Beta 1 now available with many more tools!

  12. now I have debugging, and a maximizable code window. and a tutorial on how to make a 3d first person platformer(with gravity implemented)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s