Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat
Gideros 2017.9 Released... - Gideros Forum

Gideros 2017.9 Released...

SinisterSoftSinisterSoft Maintainer
edited September 2017 in Announcements
Hi Giderians,

We are proud to announce the official release of Gideros version 2017.9.
As always you can download it here: http://giderosmobile.com/download

So what has been put in this new version, you may wonder...

New features
Consistent random number generator (Core.random()/Core.randomSeed())
Automatic multi texture glyph caching for TTFont (by specifying an empty cache text)
Multi file TTFonts

Enhancements
Various plugin updates and enhencements (gaming, flurry, iab)

Fixes
Fix multitouch handling on player/desktop
Use a full sized canvas on WinRT
Fix plugins compatibility for AppleTV
+1 -1 (+6 / -0 ) Share on Facebook

Comments

  • Thank you.

    Have you tried compiling ios with iOS 11 SDK. Because I am getting some errors and crashes while app is runnings.(Bad access crashes).

    thanks.
  • In my project "Other Linker Flags" were set to -ObjC, it is required for appodeal. However, this causes some crashes on Gideros. I removed it now I dont get any crash.

    Likes: MobAmuse

    +1 -1 (+1 / -0 ) Share on Facebook
  • zoolaxzoolax Member
    edited October 2017

    Solved:

    Downloaded the latest, I get this error on iPhone.
    module 'lfs' not found:
    no field package.preload['lfs']
    since in one of my scenes:
    require("lfs")

    Oops, I had to add them to my plugins folder inside Xcode.
    www.zoolax.com
  • hgy29hgy29 Maintainer
    Or better, add it to your plugins folder in gideros studio ;)
  • Or better, add it to your plugins folder in gideros studio ;)
    It dose not let me to add the standard plugins, it opens up the location, when I highlight the plugin(lfs), and then ok, it dose not add it.Or maybe I do not know how to exactly do it.
    There is no folder for ios under lfs plugin folder.
    www.zoolax.com
  • flipdivingflipdiving Member
    edited October 2017
    Hello. I know your site through google and I have registered. I am very happy to be acquainted with you. I have some very interesting games that will help you to relieve stress after hours or study tired. In addition, brain training for you. Please visit to try it.

    flip diving
  • hgy29hgy29 Maintainer
    @zoolax, since Gideros 2017.8 plugins can be added to the project directly in the project tree: right click on 'Plugins' below your project name and select 'add plugin'. From there you should be able to choose 'LuaFileSystem' plugin and add it to your project.
    Gideros will then add LFS to your iOS project on export automatically.

    Is this what you are doing already ?
  • YanYan Member
    Gideros 2017.9, Player.exe crashes after I attempt to close player window on Windows. Any clues ? Same on Win 10 and Win 7 machines.
    c5b2016f7aa606bdebf0336c7656eb.png
    977 x 632 - 78K
    vk.com/yan_alex
  • hgy29hgy29 Maintainer
    Doesn't happen here, but it may be related to the code you previously ran. Can you come hope with a code that triggers it ?
  • I just installed 2017.9. On the Player on Windows the TextFields using TTFs have become blurry, similar to how they looked on WinRT if the fonts were created before the initial window sizing took effect. I don't know yet if this only effects the Player, but right now small text is almost unreadable. I didn't see this on 2017.8.2. Any ideas?

    Paul
  • I've figured it out. In the Settings dialog for the player, on the Configurations tab, the resolution was set to 320x480. Changing that to the resolution of the monitor where I run the Player brought back the crisp text.

    Likes: antix

    +1 -1 (+1 / -0 ) Share on Facebook
  • YanYan Member
    edited October 2017
    Doesn't happen here, but it may be related to the code you previously ran. Can you come hope with a code that triggers it ?
    Well, I found a gem.
    local bgimage 	= Pixel.new(Texture.new("app/gfx/bg.jpg"))
    If I try to load (big) image as Pixel, instead Bitmap, Player gives error after closing
    vk.com/yan_alex
  • kussakovkussakov Member
    edited October 2017
    Guys, My prior version of Gideros, in the export dialog, had "choose plugins to export". I just installed the new one. No such button". How can I include plugins now(easily)?

    Never Mind! I see that they are now part of the project! Very Nice!!!
  • I am getting "Fatal Exception: com.giderosmobile.android.player.LuaException: Invalid font size." crash report. But it doesnt happen on every sessions. Randomly, it crashes the app even if the font size is valid.
  • hgy29hgy29 Maintainer

    Well, I found a gem.
    If I try to load (big) image as Pixel, instead Bitmap, Player gives error after closing
    Nice catch @Yan, Pixel wasn't freeing textures leading to memory leak and crash on QT exit. I fixed it for next release.

    Likes: antix, Atavismus

    +1 -1 (+2 / -0 ) Share on Facebook
  • YanYan Member

    Well, I found a gem.
    If I try to load (big) image as Pixel, instead Bitmap, Player gives error after closing
    Nice catch @Yan, Pixel wasn't freeing textures leading to memory leak and crash on QT exit. I fixed it for next release.
    Nice ! Might it be a reason of memory leak if I use Pixel also to show particle with a smaller 15x15 pixels sprite ?
    vk.com/yan_alex
  • hgy29hgy29 Maintainer
    Impact is quite minimal if you reuse the same texture files, because gideros caches them anyhow, so not sure if this would be a reason in your case.
  • YanYan Member
    mertocan said:

    I am getting "Fatal Exception: com.giderosmobile.android.player.LuaException: Invalid font size." crash report. But it doesnt happen on every sessions. Randomly, it crashes the app even if the font size is valid.

    I have same NOW, very annoying !

    10-24 17:31:00.724 3196-3065/? E/audio_hw_primary: offload_thread_loop: Next track returned error -1
    10-24 17:31:00.754 3196-4125/? E/audio_hw_dolby: audio_extn_dolby_ds2_set_endpoint: Dolby set endpint :0x2
    10-24 17:31:00.811 3196-3065/? E/audio_hw_primary: offload_thread_loop: Compress handle is NULL
    10-24 17:31:01.192 2308-2325/? E/ExtMediaPlayer-JNI: env->IsInstanceOf fails
    10-24 17:31:01.192 2308-2325/? E/MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
    10-24 17:31:01.192 2308-2325/? E/ExtMediaPlayer-JNI: env->IsInstanceOf fails
    10-24 17:31:01.192 2308-2325/? E/MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
    10-24 17:31:01.198 3196-3091/? E/MM_OSAL: Data is not sufficient to validate AAC
    ValidateAACFile data not sufficient
    10-24 17:31:01.200 612-5403/? E/vigi_ZteDrm.cpp: [godfrey]ZteDrm::onInitialize() --begin--
    [godfrey]ZteDrm::onSetOnInfoListener() --begin--
    10-24 17:31:01.200 612-980/? E/vigi_ZteDrm.cpp: [qwu]ZteDrm::onOpenDecryptSession() --begin--
    ztedrm_AcquireSession sessionId 0,fileDesc 11
    ztedrm_ReleaseSession sessionId 0 release
    ZteDrm_attach is not drm file
    ztedrm onOpenDecryptSession not drm file close it
    10-24 17:31:01.202 612-612/? E/vigi_ZteDrm.cpp: [godfrey]ZteDrm::onTerminate() --begin--
    10-24 17:31:01.203 612-5402/? E/vigi_ZteDrm.cpp: [godfrey]ZteDrm::onInitialize() --begin--
    [godfrey]ZteDrm::onSetOnInfoListener() --begin--
    10-24 17:31:01.203 612-612/? E/vigi_ZteDrm.cpp: [qwu]ZteDrm::onOpenDecryptSession() --begin--
    10-24 17:31:01.204 612-612/? E/vigi_ZteDrm.cpp: ztedrm_AcquireSession sessionId 0,fileDesc 11
    ztedrm_ReleaseSession sessionId 0 release
    ZteDrm_attach is not drm file
    ztedrm onOpenDecryptSession not drm file close it
    10-24 17:31:01.205 612-980/? E/vigi_ZteDrm.cpp: [godfrey]ZteDrm::onTerminate() --begin--
    10-24 17:31:01.205 3196-3091/? E/MMParserExtractor: Set buffers is disabled by property
    10-24 17:31:01.205 3196-3091/? E/MM_OSAL: FileSource::FileSource
    FileSource::FileSource m_bEveryThingOK 1
    MM_File_Create failed .Efs Error No -1 , File Name /data/mmosal_logmask.cfg , Mode 0
    Open or read fail on /data/mmosal_logmask.cfg. Possible permission denied issue. Looking for /data/misc/media/mmosal_logmask.cfg
    MM_File_Create failed .Efs Error No -1 , File Name /data/misc/media/mmosal_logmask.cfg , Mode 0
    10-24 17:31:01.235 3196-3091/? E/MMParserExtractor: get metadata failed for meta type 19, size 0
    10-24 17:31:01.353 3196-3098/? E/audio_hw_dolby: audio_extn_dolby_ds2_set_endpoint: Dolby set endpint :0x2
    10-24 17:31:01.354 3196-3098/? E/ACDB-LOADER: Error: ACDB_CMD_GET_AUDPROC_COMMON_TABLE_SIZE Returned = -19
    10-24 17:31:01.354 3196-3098/? E/ACDB-LOADER: Error: ACDB audproc returned = -19
    10-24 17:31:01.354 3196-3098/? E/ACDB-LOADER: Error: ACDB AudProc vol returned = -19
    10-24 17:31:01.354 3196-3098/? E/ACDB-LOADER: Error: ACDB AFE returned = -19
    10-24 17:31:01.604 2308-2325/? E/AndroidRuntime: FATAL EXCEPTION: GLThread 750
    Process: ru.artnode.smashed, PID: 2308
    com.giderosmobile.android.player.LuaException: Invalid font size.
    stack traceback:
    core/Text.lua:5: in function 'init'
    [string "property.lua"]:52: in function '__new'
    [string "property.lua"]:59: in function 'new'
    app/levelBase.lua:89: in function 'loadBase'
    app/levels/LVL_5_MAIN.lua:7: in function 'level'
    core/Level.lua:183: in function 'startLevel'
    core/Level.lua:217: in function 'fn'
    [string "local function _start_(fn,...) coroutine.yield() fn(...) end return _start_(...)"]:1: in function <[string "local function _start_(fn,...) coroutine.yield() fn(...) end return _start_(...)"]:1>
    (tail call): ?
    at LUA.init(coreText.lua:5)
    at LUA.__new(string_property.lua:52)
    at LUA.new(string_property.lua:59)
    at LUA.loadBase(applevelBase.lua:89)
    at LUA.level(applevelsLVL_5_MAIN.lua:7)
    at LUA.startLevel(coreLevel.lua:183)
    at LUA.fn(coreLevel.lua:217)
    at LUA.string_local_function__start_fn_coroutineyield_fn_end_return__start_1(string_local_function__start_fn..._coroutine.yield_fn..._end_return__start_...:1)
    at LUA.call_(tail:1234)
    10-24 17:31:01.719 1163-3944/? E/InputDispatcher: channel 'bbd119a ru.artnode.smashed/com.giderosmobile.android.PlatformerActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
    10-24 17:31:01.727 1163-4019/? E/ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ id=178, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
    10-24 17:31:01.728 1163-4019/? E/ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ id=179, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
    10-24 17:31:01.734 3196-4125/? E/audio_hw_dolby: audio_extn_dolby_ds2_set_endpoint: Dolby set endpint :0x2
    10-24 17:31:01.750 3196-3098/? E/audio_hw_dolby: audio_extn_dolby_ds2_set_endpoint: Dolby set endpint :0x2
    10-24 17:31:01.817 3196-3098/? E/audio_hw_dolby: audio_extn_dolby_ds2_set_endpoint: Dolby set endpint :0x2
    10-24 17:31:01.817 3196-3096/? E/audio_hw_primary: offload_thread_loop: Next track returned error -1
    vk.com/yan_alex
  • YanYan Member
    Text.lua part

    Text = Core.class(Sprite)

    function Text:init(value, font, size, color, substrate, shift)

    local font = TTFont.new(font, size, false, true)
    vk.com/yan_alex
Sign In or Register to comment.