Author Topic: Has anyone made a 3D level editor with GLB?  (Read 2585 times)

Offline Yodaman Jer

  • Mc. Print
  • *
  • Posts: 47
  • Codin' the Day Away!
    • View Profile
One of my biggest, incomplete projects to date (I've been working on the idea since 2009) thrives off of the integration of a built-in level editor to allow the player to build their own worlds, thus hopefully increasing the replay value.

I was just wondering if anyone here has made a 3D level editor with GLB? I've made plenty of them in DarkBASIC. I'm going to try to do it with GLB once I have the full version, and I'm excited because I think I could build my own custom meshes in the editor thanks to the "add vertex" commands. Has anyone done that before? I think it would be great for level editors!

If you have made a 3D level editor, can you post a screen shot or two and tell me how you did things? I've always loved level editors and they're always fun to code, especially in a new language! I'm going to try and make a 2D one later this week, I'll post back when I've got it running. It will be my first GLB program!  :good:
Click the pic to go to my development blog!

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10851
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Has anyone made a 3D level editor with GLB?
« Reply #1 on: 2011-Sep-27 »
a veeeeery old project of mine:
http://www.glbasic.com/showroom.php?site=games&game=Wumbo3D
has a 3D level editor (it uses pre-build 3D objects you can place and move along a path).
The code is horrible!!! Don't even dare opening it. It came from a version of GLB with no integers, no types, no nothing.


MrTAToad

  • Guest
Re: Has anyone made a 3D level editor with GLB?
« Reply #2 on: 2011-Sep-27 »
Ahhh - those were the days  :D

GLBasic has come a very long way...  What is odd though is that generally Google finds occurances of GLBasic 3 demo, rather than the latest version... :(
« Last Edit: 2011-Sep-27 by MrTAToad »

Offline Yodaman Jer

  • Mc. Print
  • *
  • Posts: 47
  • Codin' the Day Away!
    • View Profile
Re: Has anyone made a 3D level editor with GLB?
« Reply #3 on: 2011-Sep-27 »
I've actually downloaded Wumbo3D and it looked pretty dang cool. It's one of the demos that helped me decide to get GLB. :)

How in the world did you do it without types and integers?! That would make my face morph into something like this if I even attempted it:  :S
Click the pic to go to my development blog!

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10851
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Has anyone made a 3D level editor with GLB?
« Reply #4 on: 2011-Sep-28 »
It wasn't hard. I had global arrays for everything. The only problem is, that I coded it quickly and had all varaibles and use in mind. Changing something now might require some investigations...