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

Hello! Is the latest version of Tilengine compatible with Java? Can I use the newer functions if I use the bindings? Thanks for the answer.
System64 Support 79 192,747 12-01-2020, 02:14 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

Thanks! So if I put the latest Tilengine DLL library, I can use the newer features of the library? Shouldn't I add the new functions to this file? https://github.com/megamarc/JTilengine/blob/master/j...
System64 Support 79 192,747 12-02-2020, 07:53 PM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

megamarc Wrote: (12-03-2020, 01:27 AM) -- Hi! Provided samples should work with old JNI, as they don't use newer features of the engine. However, to access these newer features, yes, TilengineJNI.c...
System64 Support 79 192,747 12-03-2020, 03:23 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

I'll take a look to theses exemples and give it a try. By the way, are the bindings stuck to an old version or will they updated some day? Because they can be useful for people that use others languag...
System64 Support 79 192,747 12-03-2020, 05:07 PM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

megamarc Wrote: (12-04-2020, 04:15 PM) -- Hi, The bindings that are updated more are C# (for compiled, managed language) and Python (for interpreted, scripted language). Other bindings are contrib...
System64 Support 79 192,747 12-04-2020, 10:54 PM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

megamarc Wrote: (12-05-2020, 04:07 AM) -- You picked two extreme cases :) In order to communicate, sometimes the binding must do data conversion before passing the arguments. In other cases, it mu...
System64 Support 79 192,747 12-05-2020, 04:15 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

megamarc Wrote: (12-05-2020, 04:32 AM) -- Not like the callback one, sure. Any function that passes strings will need the data conversion, same as functions that pass or get structures (structs). But...
System64 Support 79 192,747 12-05-2020, 05:05 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

megamarc Wrote: (12-05-2020, 05:23 PM) -- Of course, that would be welcome! If you do that, after cloning the repo in your GitHub and do the modifications, you can do a "pull request". With this, ...
System64 Support 79 192,747 12-05-2020, 10:37 PM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

I have a problem. I try to compile TilengineJNI.dll, but the jni.h header is not included in the project. Where can I find this header please? Thanks for the answer.
System64 Support 79 192,747 12-07-2020, 12:27 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

When I type the build command that you can find on the GitHub, the compiler says "Undefined Reference to [For all Tilengine functions], except if I put "-c" argument in the command. I included the Ti...
System64 Support 79 192,747 12-07-2020, 09:43 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

I finally did it! And it works on Java! This update is still in a Work In Progress state, but I think the most of functions are updated. You can find the WIP update here https://github.com/syste...
System64 Support 79 192,747 12-08-2020, 12:42 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

Thanks! I'll can now use this fantastic Engine!
System64 Support 79 192,747 12-08-2020, 05:06 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

megamarc Wrote: (12-07-2020, 06:36 PM) -- Hi! What version of the OS and JDK are you using? I use Windows 10 x64 2004 and OpenJDK 1.8.22. I've tried the commands I put on github, and they still wor...
System64 Support 79 192,747 12-07-2020, 08:08 PM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

I want to allow the creation of multiples raster effects, so I have to create an object instance of a Raster Effect class, what I did. But it doesn't work. How can I achieve that please? what I ...
System64 Support 79 192,747 12-08-2020, 09:50 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

So I can't have a different raster effect for Layer1, another for Layer2 and another for Layer3? By the way, is it possible to make methods in the Tilengine class Static? UPDATE : I checked for ...
System64 Support 79 192,747 12-08-2020, 06:13 PM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

I continued to convert some functions to JNI and I encountered a problem. I tried to convert this function :  - .h file - Code: -- TLNAPI void TLN_EnableCRTEffect (TLN_Overlay overlay, uint8_t...
System64 Support 79 192,747 12-09-2020, 02:13 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

I joined a ZIP with all my source files. My workspace is a bit wonky because I'm testing engine's features. I have no idea if treating layers and raster effects as objects a good idea by the way, but...
System64 Support 79 192,747 12-09-2020, 04:12 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

Oh so it shouldn't be so hard if I can spawn objects with data inside the list (the object and its cordinates). I'll experiment that. Update : On Tiled, I saw I can define custom properties for a til...
System64 Support 79 192,747 12-09-2020, 04:34 AM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

Ah yeah the custom type field is useful, that means I can define a behavior for each type, for exemple 1 for solid, 2 for semisolid, 3 for a ladder, etc...
System64 Support 79 192,747 12-09-2020, 10:16 PM
    Thread: Tilengine on Java
Post: RE: Tilengine on Java

I think the Python Platformer and Super Mario Clone C# are probably the best samples : It shows how a small prototype game can be built with the engine. Others are good too, it can learn what you can ...
System64 Support 79 192,747 12-09-2020, 11:01 PM