NetOne's Forum Posts

  • just added

    Moto G4 - Android 7 (website) Lots lots lag....

    https://drive.google.com/open?id=19dl7DEuRsnqW8eA4lxZwd6ofVVIfJF2J

  • fredriksthlm thanks for testing I would expect the S10 to kick ass but the even on the S6 no lag? hmmm Interesting....

    I did think about introducing an animation to see if that was also delayed but I didnt want to muddy the waters. I have asked my S7 refund dude to test also hopefully he will get aback to me.

  • Ok my dudes

    hosted test app. my official app does nothing more than this. Turn you sound down a bit before try.

    https://yamaforce.com/ironpan/open/soundlagtest/

    top button to start sound

    bottom button to change frequency.

    have found that the hosted website performs slightly better than the apk.

    debug apk

    https://drive.google.com/open?id=1RBg31xg3gHwkdZTHCQcOFtUmzzxkEWRb

    would really appreciate if people would try the apk. as it seems more laggier that hosted on the laggy device.

    c3p (note I am aware that I am setting frequency every tick this is deliberate as it reflects the behavior of the real app as the frequency can be changed by other events also not just button press anyhew i get exactly the same results if I change the frequency only once on the button press)

    https://drive.google.com/open?id=1ReMGWOnP3l8yU0AgqqE-hzCwbVnOHXbs

    Video Tests

    Note: Im tapping the screen with my nail so you can hear the nail tap then the change in sound to hear the lag.

    Cubot Power - Android 8 - Very little lag - IMO realtime playable

    drive.google.com/open

    Moto G5 - Android 8 - Lot of Lag (sorry I dont know why the sound is so low but you can clearly hear 300-400ms delay. This phone can play fortnight and geometry dash with no lag. so why is this simple app lagging?

    drive.google.com/open

    Moto G4 - Android 7 = lag. ...

    drive.google.com/open

    Samsung S7 Android 8 = lag

    drive.google.com/open

    Hawaei P10 Android 8 = lag

    drive.google.com/open

    Galaxy Tab A Android 8 = lag

    drive.google.com/open

    Galaxy S8 Android 9 = lag

    drive.google.com/open

    all measured 300-400ms

  • fredriksthlm

    Yes this could be a possibility, however the main phones I tested on ( Cubot Power, Galaxy Note 8, HTC 11 have little to no lag especially when fully charged.)

    I will reduce my app to simplest possible and post cp3 asap to diagnose.

  • Cheers Asmodean

    I will try to check that tonight on my daughters phone. (at work now) and get back.

    its lunch time so I am just now going to put my full app on the demo stream on play store then maybe some of you guys with different phones can try. Ill post the link then its published.

    (edit just realized don't have my signing key with me right now so to be continued tonight...need to get back to day job now)

  • fredriksthlm Is this for construct games ?

    This guy said he can play cod and pubg with no lag but my app = lag.

    Ive seen my daughter play very high level & high speed geometry dash and also fortnight on her phone (moto G5 android 8) with no issues, but my simple app = very laggy (with 1%CPU ?)

    I will post some vids and my demo app link later and will also make a simple tester app to hopefully get some feedback.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • So I had my first few sales on Play of my real-time instrument. Yes.. Result.

    However I have ended up refunding all purchases as all the users complained of impossible touch lag of around half sec.

    Some of the phones I dont recognize but two of the phones are both Samsung Galaxy S7 running android 8.

    I managed to get a dialog going with one of these guys and worked with him to try to resolve the lag but in vain.

    Now I fully understand and accept that these construct apps are running JavaScript in cordova and it is interpreted language using browser APIs and we are never going to get blazing native like performance.

    However... bearing in mind that my app has no moving graphic elements (0% GPU) and ultimately consists of about 20 events that just play a sound when the screen/sprite is touched. Which results in about a 1-3% CPU on most phones I have tested.

    Then I would expect that

    Samsung Galaxy S7 (which although not a new phone I would still consider an extremely high spec phone (Snapdragon 820 - 4 GB high speed ram , quad core up to 2Ghz processor, adreno 530 GPU still considered high end even today) - running Android 8 ...

    ....should have no issues with touch lag.

    So why does it? and is this common? And if it happens one a simple app like mine surely it happens on all these games that you guys are making?

    I don't want this to be a bash Construct thread, I would like to use it to investigate, get hard data, get some feedback and maybe even resolve.

  • I would say IE is pretty dead. You shouldn't go near it for construct games. and im not entirely sure if supports everything Construct can do these days.

    Also, Microsoft moved to Edge a few years ago. and even they are going to change edge to use Chromium soon, if they haven't already.

    You should stick to Firefox, Edge or Chrome for your debugging.

    and although I would love to promote Firefox over chrome it just cannot beat the brute performance of Chrome at the moment.

  • Man this looks sweet.

  • CGamez

    You could probably cut those 5% of users off by building apk for android 7+ only.

  • I tested my game with c3-runtime on two devices (android 6 and android 7) - both times it didn't start, saying I need to update webview.

    I thought web-view was disabled since android 7 and construct android games running 7+ would just use chrome directly now?

  • Ok so I raised a suggestion on the suggestion place.

    (Unless someone is going to tell me I am being dumb and there is indeed a way to do it???)

    but for now , I have had to revert to my old sprite words and sprite fonts as cannot adjust the overall spacing between characters of the same webfont versions in construct to get the right look.

    But it seems to me that they really should be the way to go, if you could just adjust spacing... :(

    maybe not so many people are using them? Am I right in saying that they do not have the performance overhead of the old text object?

    anyway suggestion here if anyone interested

    construct3.ideas.aha.io/ideas/C3-I-1130

  • So its taken a few years, but I've finally started messing with web fonts by importing some woffs to replace some sprite fonts / words I had

    but I cant see any way to increase the spacing between characters?

    the imported woffs appear to have uncomfortably close default spacing can anything be done about it?

  • Cheers thanks for the info. I will look into this. It def makes a pretty major difference.

    also PS

    just built an (construct server built) update APK using the last beta 172, may be my imagination....not sure if Ashley has changed anything in the audio dept, but it feels a bit snappier than the last apk built with the stable. To the point where I would now confidently say that real-time synth is viable with construct 3 on android (if you also incorporate all the above.) (at least on powerful phones, dont have too much feedback on range of capable devices yet.) Anyway good stuff Construct team thanks again for this awesome software.

  • Nepeo

    I am currently uploading an app and going to upload a proper demo in the next few days so will get a better picture soon!

    and not using worker mode as advised by Ashley. also it looks like chrome devs have fixed the desycro issue (https://github.com/Scirra/Construct-3-bugs/issues/3369) with APKs for a future release but from reading the notes Im still not sure that that means that desyncro option will be available in APKS in future?

    The final APK I made I went with Android 8 as I felt that this would block out a lot phones that would be older less powerful so more laggy.

    Fib nothing sophisticated at all, just bog standard sample player, im playing a set of samples over a range of frequencies in this case its not when button is pressed (like a piano) but as Im trying to emulate a flute / whistle its doing a little calculation to figure out which is the highest not pressed button (i.e. open hole) then playing the sample at frequency accordingly. Then just added reverb and an LP filter to take off any harsh high ends.

    Cant really do anything sophisticated off the bat as we dont have access to oscillator creation part of the audio API in construct or the modular routing of tracks/ effects which is 1) why I am a little excited that it may be possible using scripting and 2) I will raise a suggestion for them to be added in as I think music instruments / synthesizers / sequencers etc etc could be a cool avenue for Construct.