|
Search Results
|
| Post |
Author |
Forum |
Replies
[asc]
|
Views |
Posted |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| that's not magical, you can have any engine or framework, it can bring some functions or interfaces to manage ressources, you have to implement mechanics by yourself. An engine won't help you to make ... |
|
System64 |
Support
|
79 |
206,412 |
12-10-2020, 06:22 AM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| I still update the Java bindings and I have some problems.
I updated some simple functions likes TLN_GetLayerHeight and updated the Tilengine.java too
And when this function is executed, my prog... |
|
System64 |
Support
|
79 |
206,412 |
12-10-2020, 11:09 AM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| For the SetLayerTilemap method, you can just remove the duplicate one I will fix it in the next commit.
for the sample, I still worked with it so the archive I sent you is outdated.
what I did is ... |
|
System64 |
Support
|
79 |
206,412 |
12-10-2020, 06:56 PM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
|
megamarc Wrote: (12-10-2020, 08:50 PM)
--
I think we're experiencing portability problems here. I cannot run my own TestWindow/TestPanel samples either, java gets complaining about crashes inside lot... |
|
System64 |
Support
|
79 |
206,412 |
12-10-2020, 09:16 PM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| I'll try that
It's a shame a 64-bits Java installation isn't compatible with 32 bits libs too!
So if I understand well, jint becomes jlong and jshort becomes jint?
What should I do to fix that?
Upd... |
|
System64 |
Support
|
79 |
206,412 |
12-11-2020, 03:34 AM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| Yeah I think sticking to 32-bits will be easier, I also don't need so high values that 64-bits supports. But I'm on a 64-bits processor, how can I compile for 32-bits? |
|
System64 |
Support
|
79 |
206,412 |
12-11-2020, 07:14 AM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| I compiled to 32-bits but this time, it crashes directly likes I have a white window with nothing and after, the app closes itself |
|
System64 |
Support
|
79 |
206,412 |
12-11-2020, 08:48 AM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| Alright!
But yeah, Java isn't good for that :/
Also, I'm using Java 8 for my project.
And it's me or implementing C DLLs is much easier on C# than Java? |
|
System64 |
Support
|
79 |
206,412 |
12-12-2020, 12:51 AM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| The reason I'm using Java is I learning it at school so it's the language I know the best.
But I shouldn't have too much trouble to move to C# and Python in the future.
By the way, is the problem ... |
|
System64 |
Support
|
79 |
206,412 |
12-12-2020, 02:06 AM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| I know this JDK, it's pretty good and also Open Source!
Did you downloaded the Version 8? |
|
System64 |
Support
|
79 |
206,412 |
12-12-2020, 03:41 AM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| Does it work with the normal window? I also have multiples versions of Java, 2 for Java 8 : 32 and 64 bits. The problem is %JAVA_HOME% brings me to a 64-bits version. Is that the thing that causes the... |
|
System64 |
Support
|
79 |
206,412 |
12-12-2020, 09:14 PM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| Which IDE are you using? I'm using IntelliJ IDEA so I can choose which version is used in the Project Structure window |
|
System64 |
Support
|
79 |
206,412 |
12-13-2020, 05:21 AM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| Ah yeah then if you want to have to keep both versions of Java, you need to specify the absolute path to the 32-bits compiler or create a new variable environnement
Did you tried with my project? |
|
System64 |
Support
|
79 |
206,412 |
12-13-2020, 05:35 AM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| I'll do it when the crash issue is solved.
I still have the crash issue and the program closes with this message : Process finished with exit code -1073740940 (0xC0000374)
Normally, if the progr... |
|
System64 |
Support
|
79 |
206,412 |
12-14-2020, 05:46 AM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| did you linked with the latest version of Tilengine.dll?
I did and the Java compiler said that :
Code:
--
Execution protection violation
#
# A fatal error has been detected by the Java Runti... |
|
System64 |
Support
|
79 |
206,412 |
12-14-2020, 09:23 PM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| It works! how did you do that? did you do some modifications in the files? |
|
System64 |
Support
|
79 |
206,412 |
12-15-2020, 12:12 AM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| Very very weird
I compiled with gcc, the program doesn't even start and the compiler say : Exception in thread "main" java.lang.UnsatisfiedLinkError: Tilengine.Init(IIIII)I
I compiled with tcc, ... |
|
System64 |
Support
|
79 |
206,412 |
12-15-2020, 02:08 AM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| yeah it complains because gcc compiled a buggy dll, but it works fine now.
I'll change the readme.md to indicate people to use tcc on Windows, update the dates on the licenses, commit and do a firs... |
|
System64 |
Support
|
79 |
206,412 |
12-15-2020, 02:57 AM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| You're welcome! If there are issues, don't hesitate to tell which ones you have encountered! |
|
System64 |
Support
|
79 |
206,412 |
12-15-2020, 08:27 AM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| Thank you for accepting my pull request
There are still things I need to update, so I'll do another one soon |
|
System64 |
Support
|
79 |
206,412 |
12-21-2020, 06:53 AM |