ENIGMA Forums

General fluff => General ENIGMA => Topic started by: The 11th plague of Egypt on December 16, 2009, 08:17:27 PM

Title: State of the project
Post by: The 11th plague of Egypt on December 16, 2009, 08:17:27 PM
I'm really having a hard time in understanding what's going on here. :raise:

Is there some kind of usable GM clone yet? If so, I wanna try it (link plz)
Title: Re: State of the project
Post by: Josh @ Dreamland on December 16, 2009, 11:15:55 PM
I think you're better off waiting until the next release. It will be friendlier to newcomers, in that it's closer to GM.

However, serprex is fixing up a modified R3 compiler to run R4's source (meaning some improvements on the third demo release. It's like an alpha-beta). I'd recommend you at least wait for that one.
Title: Re: State of the project
Post by: The 11th plague of Egypt on December 17, 2009, 12:07:46 AM
Well, I'm looking forward to see it then.

Will there be the possibility of using Game Maker DLLs like Ultimate3D (http://www.ultimate3d.org/)?
Title: Re: State of the project
Post by: IsmAvatar on December 17, 2009, 02:29:59 AM
That depends on a few things.
1) That enigma allows external libraries such as dlls. Of course, you can just write your own C code for importing the library
2) That the external library has no GM-specific dependancies, such as trying to access GM's memory structure, or depending on GM's window construction.
3) That your operating system supports the format of the external library. For example, DLLs are windows specific, and would usually need recompiling for linux. That said, provided you're using it on Windows and it's a dll, this requirement is met.

Provided those three requirements are met, I would say yes.
Title: Re: State of the project
Post by: Josh @ Dreamland on December 17, 2009, 12:31:36 PM
Condition 1 is met. ENIGMA R4 incorporates LibFFI, a library that allows DLL initialization very close to GM's.
As for condition 2, most libraries do not, but Ultimate3D may be an exception due to the fact that it actually paints on the GM window. If you had 39Dll in mind, that'll be fine.
Condition 3 means Windows.

Note that the goal is to not require either of those DLLs, however.
Title: Re: State of the project
Post by: RetroX on December 17, 2009, 08:34:22 PM
Quote from: The 11th plague of Egypt on December 17, 2009, 12:07:46 AM
Well, I'm looking forward to see it then.

Will there be the possibility of using Game Maker DLLs like Ultimate3D (http://www.ultimate3d.org/)?
Speaking with honesty, it would probably better if someone made a wrapper to use OGRE, instead.  In C++.  Also, I don't have much doubt that tons of 3D functions will be added to ENIGMA once we actually get to the point where we're using 3D.  It's open-source, and therefore can easily obtain tons of community-made wrappers, etc, just as Game Maker has.  It will all happen in due time.
Title: Re: State of the project
Post by: IsmAvatar on December 17, 2009, 11:36:29 PM
Yes, I should have mentioned that you will basically be sitting on top of a plethora of tools to design 3d games without needing to rely on a dll. But if you insist on using a dll, you'll need the above conditions to be met.
Title: Re: State of the project
Post by: Josh @ Dreamland on December 18, 2009, 08:04:32 AM
I wrote to the Ultimate3D developer, and he sent back that U3D shouldn't have a problem working with ENIGMA, as long as it can provide a window handle. I'll make sure that's integrated along with the DLL functions. Also, I'll see about an option to disable the main GL context.
Title: Re: State of the project
Post by: Rusky on December 18, 2009, 01:46:24 PM
It would also be nice to be able to transfer the main GL context to U3D- it shouldn't be too hard to provide an interface for that. Unless U3D uses DX... not sure what it uses.
Title: Re: State of the project
Post by: Josh @ Dreamland on December 18, 2009, 03:17:33 PM
I'm almost positive it uses DX.

And now I looked it up, and am 100% positive.
Title: Re: State of the project
Post by: juggernaut on December 18, 2009, 06:02:05 PM
omgz when is R4 likely to be released?
Title: Re: State of the project
Post by: RetroX on December 18, 2009, 11:15:36 PM
Quote from: Rusky on December 18, 2009, 01:46:24 PM
Unless U3D uses DX... not sure what it uses.
Rule of thumb: Game Maker uses DirectX.
Second rule of thumb: If it involves Game Maker, it uses DirectX.
Title: Re: State of the project
Post by: Micah on December 19, 2009, 12:22:55 AM
Actually, I'm pretty sure there are several GL dll's for GM.
Title: Re: State of the project
Post by: RetroX on December 19, 2009, 12:34:30 AM
Quote from: miky on December 19, 2009, 12:22:55 AM
Actually, I'm pretty sure there are several GL dll's for GM.
Name one.
Title: Re: State of the project
Post by: Josh @ Dreamland on December 19, 2009, 12:34:39 AM
Someone wrote a complete wrapper to it. Seemed interested in joining ENIGMA's team, but then wanted to work on everything -but- graphics.
Went by Xtra-Fear.
Title: Re: State of the project
Post by: Micah on December 19, 2009, 10:13:41 PM
Was that Extreme3D? If it wasn't, then there's another one.

There is also an Irrlicht wrapper, which can use GL.
Title: Re: State of the project
Post by: Josh @ Dreamland on December 20, 2009, 12:01:26 AM
Extreme3D may be GL (I seem to recall that it was). I remember it being insanely difficult to use due to lack of good documentation. Maybe it was just me, though. It struck me as the most impressive of all of them... I should look into it. But no, that's not the one I was talking about.
Title: Re: State of the project
Post by: Micah on December 20, 2009, 01:53:24 AM
OK, so there are 3.

Extreme3D was pretty fun to use. It was a ton more fun than d3d_*.
Title: Re: State of the project
Post by: Josh @ Dreamland on December 20, 2009, 03:14:33 AM
Certainly. Since the extent of d3d was... Its sad excuse for a model format.
Title: Re: State of the project
Post by: RetroX on December 20, 2009, 03:20:36 AM
Don't Threeow Dat

It will break.
Title: Re: State of the project
Post by: The 11th plague of Egypt on December 23, 2009, 10:45:31 PM
Quote from: Josh @ Dreamland on December 18, 2009, 03:17:33 PM
I'm almost positive it uses DX.

And now I looked it up, and am 100% positive.
Yep, DX 8.1 to be precise, and no OpenGL at all, unfortunately.

Also, there's a new beast around, this Ogre wrapper...struggling to get OpenGL to work
http://gmc.yoyogames.com/index.php?showtopic=455439&st=0
And it's using the LGPL licence!!!