Search Results
Post Author Forum Replies Views [asc] Posted
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

The solution should be to convert jint to jlong, but only those that are being used to hold pointers. You can't do "replace all" because jint are used in many places for legitimate 32-bit integers. So...
megamarc Support 79 154,462 12-11-2020, 07:12 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

You can use -m32 command line switch on C compilers that support both archtectures (tcc does)
megamarc Support 79 154,462 12-11-2020, 07:51 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

I'm trying to download the  32-bit JRE from Oracle, but their site is having difficulties and downloads don't work. We have to forget about having native 64-bit version and stick to the working 32-...
megamarc Support 79 154,462 12-12-2020, 12:30 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

Tha main reason to have Java support for Tilengine is to have it running on Android... other than that, there are better languages. Yes, using external DLLs/shared objects in C# is easier because: ...
megamarc Support 79 154,462 12-12-2020, 01:18 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

Yes, Oracle problem still persist. However I finally downloaded the 32-bit version from AdoptOpenJDK, that is the version I already had in 64-bit. Oracle even forces you to register an account just...
megamarc Support 79 154,462 12-12-2020, 02:37 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

Hi, After installing 32-bit version of OpenJDK 8 and building 32-bit TilengineJNI.dll, everything works as expected. Here is a screenshot of TestPanel:
megamarc Support 79 154,462 12-12-2020, 05:15 PM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

Hi! It works with the built-in window too, but I've posted the screenshot of the "TestPanel" because it has more integration with Java itself. The headers for jni are the same for 32 and 64 bit, s...
megamarc Support 79 154,462 12-13-2020, 05:12 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

I use notepad++ for editing and the command-line to build and run
megamarc Support 79 154,462 12-13-2020, 05:30 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

How are you doing progress? You can make a "pull request" so I can integrate your updates into main branch
megamarc Support 79 154,462 12-14-2020, 04:45 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

Hi, I did the test with my original samples, but with the modifications you made to Tilengine.java and TilengineJNI.c. Here I attach the same sources I used for the binding.
megamarc Support 79 154,462 12-14-2020, 07:18 PM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

I use Tilengine v2.8.5 32-bit built Aug 7 2020, the seme binary you can download at itch.io. Are you running your TestWindow or mine? I can see in the log dump you provided that the problem is caus...
megamarc Support 79 154,462 12-14-2020, 11:14 PM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

Cool! Basically the files I used are the same ones you pushed to your fork of the binding. Maybe the tricky part here is the building of native TilengineJNI.dll Now that you have it working again, f...
megamarc Support 79 154,462 12-15-2020, 12:50 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

I have the same issue: only dll generated by tcc works, the one with mingw32-gcc doesn't. It must be something about the calling convention (there are different standards). Under Windows I work with V...
megamarc Support 79 154,462 12-15-2020, 02:51 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

I've accepted your pull request as a "draft", that I must review. Thanks! I guess you'll recieve a notification when the merge is done
megamarc Support 79 154,462 12-15-2020, 07:29 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

Great :-) I've done another push with some more modifications after yours, if you want to continue from there, then you should sync again
megamarc Support 79 154,462 12-21-2020, 07:35 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

Hi, Last year I released a modified tilengine version with Lua support. It's quite different than the other bindings, because this version is designed to act as a retroarch emulation core plugin, wit...
megamarc Support 79 154,462 12-30-2020, 05:22 PM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

Whichever method you choose will be ok  :) However, a little advice for this early stage of evaluation and prototype testing. Don't over-engineer it. I mean, don't create a surrounding infrastruct...
megamarc Support 79 154,462 12-31-2020, 10:18 PM
    Thread: Morgana retro Dungeon Crawler (uses Tilengine)
Post: RE: First video of Morgana game (uses Tilengine)

Great work Jaume, impressive! Congratulations! I'm glad to see that the modifications you suggested about the mouse support have been useful :-) Could you share some insights about your Morgana pro...
megamarc Game development topics 59 130,062 03-17-2019, 07:09 AM
    Thread: Morgana retro Dungeon Crawler (uses Tilengine)
Post: RE: First video of Morgana game (uses Tilengine)

Thanks for sharing those insights about your game development! I'm curious about how you integrated text rendering in SDL_ttf and tilengine. Maybe yoy create/modify spritesets in realtime? The engi...
megamarc Game development topics 59 130,062 03-22-2019, 08:10 PM
    Thread: Morgana retro Dungeon Crawler (uses Tilengine)
Post: RE: First video of Morgana game (uses Tilengine)

Thanks for your explanations! I don't know why, but this forum platform delays email notifications for days -or even weeks-. I guess it's a combination of my ISP and the forum system... I know the ...
megamarc Game development topics 59 130,062 04-05-2019, 09:51 PM