Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Pages: 1 ... 3 4 [5] 6 7

Author Topic: Any Linux developers out there?  (Read 86649 times)

0 Members and 1 Guest are viewing this topic.

2.0

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 217
    • View Profile
Re: Any Linux developers out there?
« Reply #60 on: June 15, 2013, 03:05:46 PM »

I have uploaded a new build with viewport transformation removed. It works for me using the demo project. Can you give it a try?
Now coordinates are ok, but to make a click it is need to make two touches. First touch places the cursor to correct place and the second - makes a click event.
Logged

HCDaniel

  • Regular poster
  • ***
  • Karma: 8
  • Offline Offline
  • Posts: 168
    • View Profile
Re: Any Linux developers out there?
« Reply #61 on: June 17, 2013, 07:29:58 PM »

Hm, when running the wmelite touch demo I thought it was intentional. But I see the same behaviour in my "classic WME" project as well. I need to look into this.
Logged

HCDaniel

  • Regular poster
  • ***
  • Karma: 8
  • Offline Offline
  • Posts: 168
    • View Profile
Re: Any Linux developers out there?
« Reply #62 on: June 18, 2013, 06:31:59 PM »

It might be an SDL issue. I have updated the library to the latest snapshot, and the behaviour is still not correct - but something seems to have changed... Needs more investigation.
Logged

2.0

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 217
    • View Profile
Re: Any Linux developers out there?
« Reply #63 on: June 18, 2013, 07:03:15 PM »

It might be an SDL issue. I have updated the library to the latest snapshot, and the behaviour is still not correct - but something seems to have changed... Needs more investigation.

But the windows and ios versions works correctly. It may be some specific android issue of course, but I think that is issue is only in this current build.
Logged

HCDaniel

  • Regular poster
  • ***
  • Karma: 8
  • Offline Offline
  • Posts: 168
    • View Profile
Re: Any Linux developers out there?
« Reply #64 on: June 23, 2013, 02:04:35 PM »

New build, new try. I fixed an incorrect define in the Android version.
Logged

HCDaniel

  • Regular poster
  • ***
  • Karma: 8
  • Offline Offline
  • Posts: 168
    • View Profile
Re: Any Linux developers out there?
« Reply #65 on: June 23, 2013, 02:12:46 PM »

I also uploaded a build with the WME touch demo project, now that embedding the game packages into the app works. Please test if you're interested.
Logged

2.0

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 217
    • View Profile
Re: Any Linux developers out there?
« Reply #66 on: June 24, 2013, 10:57:47 AM »

Interested, of course! :) But how to use it with my own project? As I understand, changing data.png to my own renamed data.dcp will not work?
Logged

HCDaniel

  • Regular poster
  • ***
  • Karma: 8
  • Offline Offline
  • Posts: 168
    • View Profile
Re: Any Linux developers out there?
« Reply #67 on: June 24, 2013, 01:51:40 PM »

Yes, that would be too easy ;D You will need to build the Android Java wrapper with your modifications (including your data files). I need to check in the native libraries of the current build (or you might unpack it from the .apk), and then you should try to rebuild the "SDLActivity" Java part. You will need the Android SDK for that, and install the required dependencies for Android 2.3.3 (API level 10). Once you can build the Java part, adjusting it to fit your needs is not that difficult.
Logged

2.0

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 217
    • View Profile
Re: Any Linux developers out there?
« Reply #68 on: June 25, 2013, 03:44:04 AM »

Unfortunately, I have no expirience with the Android development, but already have Android SDK installed. Can you write small step by step tutorial with the information about development IDE and in which place of it it is necessary to set what parameters as it did Mnemonic for WME Lite? Is it needed such additional (external) dependencies for Androin compilation?

As for the touch issues in the new build - seems that now touches works correctly.

Yes, that would be too easy ;D You will need to build the Android Java wrapper with your modifications (including your data files). I need to check in the native libraries of the current build (or you might unpack it from the .apk), and then you should try to rebuild the "SDLActivity" Java part. You will need the Android SDK for that, and install the required dependencies for Android 2.3.3 (API level 10). Once you can build the Java part, adjusting it to fit your needs is not that difficult.
Logged

HCDaniel

  • Regular poster
  • ***
  • Karma: 8
  • Offline Offline
  • Posts: 168
    • View Profile
Re: Any Linux developers out there?
« Reply #69 on: June 25, 2013, 05:23:19 PM »

I'll see that I start documenting the Linux and Android build procedure. The Wiki seems to be a good place to put it into. It will take a while though.
Logged

2.0

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 217
    • View Profile
Re: Any Linux developers out there?
« Reply #70 on: June 26, 2013, 01:15:38 AM »

Nice :) Will wait.
Logged

Nihil

  • Supporter
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 528
  • Fear me! I'm evil!
    • View Profile
    • Order of Dagon
Re: Any Linux developers out there?
« Reply #71 on: June 27, 2013, 10:45:33 PM »

That's great progress, thanks a lot for all your hard work!

HCDaniel

  • Regular poster
  • ***
  • Karma: 8
  • Offline Offline
  • Posts: 168
    • View Profile
Re: Any Linux developers out there?
« Reply #72 on: June 29, 2013, 10:44:35 AM »

After adding all the required steps I found that it looks quite difficult to build an Android package, if you compare it to the steps required for the other platforms. I hope that this doesn't stop you from trying - it's not so difficult in the end. At least you do not need to build the C part of the app (unless you're interested of course).
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Any Linux developers out there?
« Reply #73 on: June 29, 2013, 03:49:42 PM »

Thanks a lot for all your porting efforts. You're a rockstar ::rock
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

HCDaniel

  • Regular poster
  • ***
  • Karma: 8
  • Offline Offline
  • Posts: 168
    • View Profile
Re: Any Linux developers out there?
« Reply #74 on: June 29, 2013, 04:33:59 PM »

Thanks for the praise :) There are still some things to do. I will enter them as issues in the bitbucket repo, to not forget them. Whenever there is time, I'll see what I can work on.
Logged
Pages: 1 ... 3 4 [5] 6 7
 

Page created in 0.038 seconds with 19 queries.