Jump to content

Matthew Nicholls

Members
  • Posts

    97
  • Joined

  • Last visited

Everything posted by Matthew Nicholls

  1. Not relevant after the the roll back.
  2. Managed to finally get a scene to load in Java. I have written nearly all the library, just have to test and debug every method.
  3. woot it works.. I just built it and put it in the leadwerks folder and ran it and I got a window with hello world on screen using the DrawText() comand. now to see what else it can do. don't want to jump the gun!
  4. Instead of using the JNI directly use the JNA API JNA JNA docs You don't have to touch the c++ side other then for reference for the function names
  5. I have just found that you can use the engine.dll straght into Java without using the JNI. I just managed toget the graphics window up wand working. Now to see if i can get the rest of the commands to work. =)
  6. I would like to have LW working in java. I tried to the other day and couldn't get it to work. I wrote all the Java side native interface part and generated the header file but then I was stumped on the C++ side as I don't know it much. I couldn't work out what types to use and how to write the inplamentation of the wraper. Maybe if I was good at C++ I could do it but then why would I need it in Java lol. I managed to get some simple functions in a dll and then load it in java and use them there but not the Leadwerks stuff. I have been using Java on my college courses and I understand it far better then I do C++ so I would really like it to try stuff out in Java then do a rewrite in C++ once I have it working. Or if it was a reasonable speed I would just use it in Java. I was thinking of writing some classes for AI in Java then using them as a Library to use in C++. By the way the JNI documentation does say that if you use the native code librarys then there is not much of a lost of speed if you keep comunication between both sides to a minimum. Do a large chunk on one side then send it across, don't do lots of little transfers and it is ok. Not sure if that is very helpful in a game engine =).
  7. Thank you Lumooja =) I'm not sure why I couldn't find it.
  8. Hello, Is Font Studio the only way to make a font that works in leadwerks or is there another option? If it is does anyone have Font Studio that they could send me or have a link to where I could download it? The server at www.nitrogen.za.org is not working. The wiki says so im thinking I going to need it. Cheers =)
×
×
  • Create New...