Haven't been here in a long time. I've been trying other stuff but I keep hving thoughts about returning to ORX so I think that I finally am. However before I start I just have one question.
Is ORX C or C++?
EDIT: One more question! Will there be tutorials for Microsoft Visual C++ 2010 Express?
EDIT EDIT: This question has been answered (thank you) my other question is down there |
So yes, ORX is write using the C language. And so, because it's C, you can call ORX functions from a C++ program.
If you want to do some C++, I suggest you to try Scroll, it's a good layer on ORX, made by Iarwain, using C++ (you can find informations on that by taking a look on the forum).
For Visual Studio Express 2010, yes, there's some tutorial. Try to open the solution located at : orx utorialuildmsvs2010Tutorial.sln
I suggest you to use the svn version because there's a lot of corrections and additional feature. For that, download the svn trunk of orx here : https://orx.svn.sourceforge.net/svnroot/orx/trunk
Hope that help !
EDIT: if you want some tutorial, take a look at the wiki, I'm sure you can learn more tricks about orx ! (http://orx-project.org/wiki/en/orx/tutorials/main)
Would you mind providing me with a link for Scroll? It sounds interesting.
I think this post is the more recent about that. Follow the link provided by Iarwain and you'll have some good information on Scroll !
Sure it's possible !
And, it's not possible to use Scroll without ORX
Now, one final question (I think),
Does the ORX download for Visual C++ Express 2008 work for Visual C++ 2010? Because I can't seem to find a file for 2010.
Do you use orx from the svn ? From where did you download orx ?
I downloaded the latest version.
The latest version (and recommended one) is under source control. Actually the source control for ORX is subversion (called svn).
You have to download all ORX's source code and build it yourself.
To get it (as I said to you previously) you need to get it from svn here : orx.svn.sourceforge.net/svnroot/orx/trunk
You need a subversion client to grab it. Under windows I recommend you Tortoise (google it), and for the repository location, use svn://orx.svn.sourceforge.net/svnroot/orx/trunk
Maybe, there's a full description somewhere on the forum about this process, I don't know.
Hope that help!
the above tute shows the basic steps of building orx from svn. (using tortoise svn on windows)
Can't create directory 'C:Program FilesTortoiseSVNorx.svn': Access is denied.
What's going wrong?
EDIT: Nevermind. :P
The second tutorial (object binding) will be finished soon.
I will modify it based on any feedback from readers.
And how do you handle input with this?
Scroll is only a layer on top of orx to bring some new features and convenience for map/objects handling. Inputs are still handled in the exact same way as with orx only.
EDIT: you can actually see an example in acksys' tutorial.
<basedir>/include/ [put scroll files here]
<basedir>/include/orx [put orx include files here]
... this should "just work" and whatnot, good luck!
edit: essentially, put an 'orx' folder inside the scroll include files, and put all the orx includes inside that.
edit2: and use the svn includes for orx, not a guarantee, but it's rare for scroll to be out of sync with orx.
I think only Scroll is sufficient in the include path (Scroll include "orx/orx.h", so if scroll is in the include path, orx/orx.h is in the include path too).
I don't know how orx include files from scroll mecurial repository are up to date.
Because I'm compiling orx mylself from the orx svn, I prefer keep those header version (because I use the corresponding orx dll). So, my method is to get the last version of Scroll, and copy them (*.h, *.inl) to my game src folder (without orx include).
If my game doesn't compile because a scroll compilation error, I have to fix it (or maybe get the last version of orx).
If there's a compilation problem, that means the orx header in scroll mercurial and orx svn are different, and it's always a good choice to have header synchronized with their corresponding library.
Hope that can help !
BTW, I've noticed if you don't bind any objects in the BindObjects functions, you get an assert on program exit.
One thing though, could you guys generate and upload (in a new directory?) the doxygen docs for Scroll? That would be great :]
To generate a doxygen doc, Scroll header file need some C comment ... and I think there's no comment for now.
So, this couldn't be done actually ...
But a good exercice is to learn Scroll by reading the header files and/or the .inl files. I'm really sure that this point can give you a complete overview of "an advanced use of orx"
Oh I see. I know I can read the header files to learn about Scroll, I'm just really comfortable with the doxygen docs