B4A Library libGDX - Game Engine

Discussion in 'Additional libraries, classes and official updates' started by Informatix, Sep 12, 2013.

  1. wonder

    wonder Expert Licensed User

    What's the difference between lgAsyncExecutor and lgAsyncTask?
     
  2. Informatix

    Informatix Expert Licensed User

    lgAsyncExecutor is the main class. The task executor. lgAsyncTask is a task run by the executor.
    Look at their function documentation.
     
    wonder likes this.
  3. wonder

    wonder Expert Licensed User

    Thanks! I'll have a look as soon as I get home.
     
  4. zhonghua

    zhonghua Member Licensed User

  5. Erel

    Erel Administrator Staff Member Licensed User

    It is fixed.
     
    Informatix likes this.
  6. wonder

    wonder Expert Licensed User

    I got it to work, thank you once again! :)
     
  7. wonder

    wonder Expert Licensed User

    Question, say I have 200 texture regions to draw on screen.
    Is there a performance advantage if I draw them into a frame buffer first?
     
  8. Informatix

    Informatix Expert Licensed User

    If you draw them every time at the same place with the same appearance, it's clearly yes. Otherwise no. Creating a frame buffer is slow.
     
  9. wonder

    wonder Expert Licensed User

    They're fast moving "objects", so... no, right?
     
  10. Informatix

    Informatix Expert Licensed User

    I cannot see what benefit you could hope from a frame buffer (total time spent = drawing time of regions+creation time of the FB+drawing time of the FB).
     
  11. wonder

    wonder Expert Licensed User

    I wasn't really hopping for anything, it was merely a shot in the dark. Thanks anyway! :)
     
  12. wonder

    wonder Expert Licensed User

    One of my testers got the following crash message:
    Caused by: com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load shared library 'gdx' for target: Linux, 32-bit

    Manufacturer: HTC
    Android version: Android 6.0
    RAM (MB): 2048
    Screen size: 1080 × 1920
    Screen density (dpi): 480
    OpenGL ES version: 3.1
    Native platform: armeabi-v7a
    CPU make: Qualcomm
    CPU model: MSM8952

    Any opinion on this matter? Many thanks in advance.

    (Related? http://stackoverflow.com/questions/21806778/couldnt-load-shared-library-gdx-for-target)
     
  13. Informatix

    Informatix Expert Licensed User

    What's the device and CPU? Currently, arm64-v8a is not supported.
     
  14. wonder

    wonder Expert Licensed User

    Native platform: armeabi-v7a (post edited above)
     
  15. Informatix

    Informatix Expert Licensed User

    It's not what's reported in the log.
     
  16. wonder

    wonder Expert Licensed User

    Capture.PNG

    It's all I have... I'm going to recompile the project just to be safe.
     
  17. Informatix

    Informatix Expert Licensed User

    According to Wikipedia, the CPU for this HTC is: Octa-core ARM64-bit 1.5 GHz, so libGDX cannot work with it. I will add the .so file soon if it's available.
     
    ilan likes this.
  18. wonder

    wonder Expert Licensed User

    Awesome!! Thank you so much, once again! :)
     
  19. wonder

    wonder Expert Licensed User

  20. Informatix

    Informatix Expert Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice