Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Thomas Uster
    @thomasuster
    Yea so
    Using satus bar just
    let's you match the game to the status bar right?
    So only thing this might impact is if someone has some very strange game that actually relies on knowing if the game is face up or face down on a surface
    Which I doubt anyone does
    @PaulGene Merged. Thanks for working with me.
    Paul Gene Thompson
    @PaulGene
    I don't know why it fixes my issues i just know it does, and lots of people are using the same "fix". I have a game where you hold the game in portrait mode and you tilt left / right to make a car spin left or right. Without the "fix" sometimes it glitches and tilting right = tilt left etc
    Thomas Uster
    @thomasuster
    If you have a PR in the future please follow that format. PR with "Fixes #123" where #123 is the issue number. And the issue has clear reproduction steps.
    Paul Gene Thompson
    @PaulGene
    Yeah sorry, as usual i was doing things in a mega rush
    Thomas Uster
    @thomasuster
    No worries
    Thanks again
    Paul Gene Thompson
    @PaulGene
    It was also supposed to be 2 separate pull requests
    Thomas Uster
    @thomasuster
    Yea
    Please do that to
    Paul Gene Thompson
    @PaulGene
    of course
    Would me adding a compiler flag to disable sound be acceptable ?
    Hugh Sanderson
    @hughsando
    The MovieClip thing could be a haxe/hxcpp bug with reflection. Can you try a git version of hxcpp? and what haxe version are you using?
    Hugh Sanderson
    @hughsando
    I think disabling the android Sound is going to be a template thing. This could be doing in a couple of ways - either add a ::if !NME_DISABLE_SOUND:: around the bits in templates/android/java/org/haxe/nme/MainView.java, or create a 'Sound.java' file in your extension (ie, android/java/org/haxe/nme/Sound.java), and stub out the functions that nme calls. The template system should use your version instead of the nme sound system version. You might even like to use the api (new Sound, Sound.checkSoundCompletion) in your code.
    Paul Gene Thompson
    @PaulGene
    I'm on quite an old version of HXCPP (4.0.11) and Haxe (3.4.7) actually, i'll test with some more recent versions
    @thomasuster what version of Haxe and HXCPP are you using ?
    Paul Gene Thompson
    @PaulGene
    @hugh I don't think I'm up to tackling disabling sound myself in a "clean" way, I'm also going to code my own iOS sound system so ideally i would like a way of completely removing all reference to audio for all platforms in NME so its nice and clean.
    For now I think I'm going to just hack it out so I can get the game uploaded.
    Thomas Uster
    @thomasuster
    @PaulGene Haxe Compiler 4.0.0-rc.3+e3df7a4
    HXCPP using git version 3b098be9ef7ecfc8f2ee15788a2d2bb5bb44a4db
    Which is recent, 2019-07-09
    To build it just do
    cd hxcpp/tools/hxcpp
    haxe compile.hxml
    cd hxcpp/tools/run
    haxe compile.hxml
    Just put that in a little script
    Latest HXCPP also has a really nice speed up in CPP if you have large numbers of files
    Paul Gene Thompson
    @PaulGene
    Thanks man
    Paul Gene Thompson
    @PaulGene
    Just tried building Android for the first time (ant not gradle) with latest NME from git, and I'm getting Unknown architecture: armeabi-v7a
    The libnme-64 / libnme-v7 binaries have been built fine and i can see them in \ndll\Android
    Any ideas ?
    Windows is working ok
    Called from platforms.AndroidPlatform::new line 85
    Called from platforms.AndroidPlatform::findArchitectureByName line 130
    Uncaught exception - Unknown architecture: armeabi-v7a
    Paul Gene Thompson
    @PaulGene
    arrgghphp im running out of time again
    Thomas Uster
    @thomasuster
    @PaulGene Try building a sample first
    Also, make sure test device is plugged in if doing android
    Or emulator
    Paul Gene Thompson
    @PaulGene
    Nah its not that, i think something is wrong with ant building
    Its the changes you put in for 64bit
    nme-6.0.97.zip is working fine from http://nmehost.com/nme/
    Do those latest changes need Haxe 4 + latest version of HXCPP ?
    We postponed the release of the game until wednesday so I could get it working with NME, but i think im stuck with OpenFL :(
    The game needs a ton of fixes to get it working with Haxe 4 and i just dont have time
    Paul Gene Thompson
    @PaulGene
    And i cant get 64bit builds working because of ^
    Thomas Uster
    @thomasuster
    Do those latest changes need Haxe 4 + latest version of HXCPP ? <-- Yea
    @PaulGene ^^
    Paul Gene Thompson
    @PaulGene
    :(
    OpenFL it is then