I've worked with JNI before on prior projects, but I don't think I
want to convert my games to Java. What I am likely to do myself is
upgrade the .Net version of my engine because its a lot easier to work
with than the current C++ version of the engine. Its very object
oriented like Java, is cross-platform using Mono, and I can access
DirectX via SlimDX. Plus I've already got a working engine. It just
needs to be updated to .Net 4.0 and have Managed DirectX replaced
using SlimDX instead.
However, I hear you about C. Its not that object oriented, and working
in C++ is difficult for large projects. I know I am getting fairly
annoyed with handling string conversions etc as it is 10 times more
difficult than it needs to be. In C# .Net if I want to convert an
integer variable to a string just do
and it is done. In C I have to use a function like itoa() to convert
an integer variable to a character string. Then, if I want to pass it
off to SAPI or Jaws I have to convert that from a char to to wchar
which is enough to drive anyone up the wall. Not to mention strcmp()
for comparing strings, strcpy() for copying one string to another, and
several other helper functions that are easier in .Net. So its things
like that I want to avoid in future projects myself.
On 12/2/11, QuentinC <quent...@cfardel.net> wrote:
> > If you ever consider using your screen reader API from java, take a
> look at the java native interface (jni). Once you've created a wrapper
> it is easy to use.
> JNI wrapper for my screen reader API is already under construction. I
> carefully though on this and that's why I said in last post that my next
> forecoming game is likely to be in java again, because I don't need any
> concrete UI for games like magic blocks (In fact I greatly would like to
> do a much more complex game, something I would certainly never be
> capable of doing it in C or C++ (I'm not eased with C++ and C is unable
> to deal with object-oriented programming)). But that's for next coming
> games requiring no concrete UI, not for the playroom.
> Gamers mailing list __ Gamers@audyssey.org
> If you want to leave the list, send E-mail to
> You can make changes or update your subscription via the web, at
> All messages are archived and can be searched and read at
> If you have any questions or concerns regarding the management of the list,
> please send E-mail to gamers-ow...@audyssey.org.
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
You can make changes or update your subscription via the web, at
All messages are archived and can be searched and read at
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.