Wednesday, January 29, 2014

Heart Realm Update #010

I recently got back into working on Heart Realm after having been away from it for about a month or so. I had been working on another project which I started with the intent of it being a short term project, as in I don't plan on working on it as long as Heart Realm and would hope to finish it in a much shorter time.

Since the last update I had worked out how I would go about implementing Lua scripting into the game. I came across a Java library called LuaJava which I had some trouble implementing due to some compatibility issues. Turns out it was just something stupid. The .dll and .jar files were compiled to run with a 32-bit JRE, and I was running a 64-bit JRE. My initial solution was to run the make files provided with the source of LuaJava to make a 64-bit version, but I had no luck. I then realized that the problem was in fact the JRE version I was using being 64-bit. I had the 32-bit version on my computer but was not using, for some reason, so I switched the project over to using the 32-bit JRE and now it's all good.