j0schi's Forum Posts

  • allright Ashley, thank you very much!

    Colludium, i am glad it helped. your demo now runs much better, i would say even if there are some jerk its one of the smoothest things i saw in html 5 so far... hahah

    regards

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have done a lot of research on this topic as this is one big issue for me.

    my game seems to have a poor quality because of this, and it really anoys me. i cant make a game i love with construct 2 even if i love construct 2.

    here are my thoughts on this:

    1) it is NOT a construct problem! the jitter/stutter is everywhere in html5.

    take a look here: http://www.thewildernessdowntown.com/

    you ddont have to start the film. there are birds flying around smoothly and suddenly they begin to stutter, then they fly smoothly again.

    i see this issue with EVERY html 5 game where are objects moving. even with the simplest animation (using chrome or firefox).

    2) we are not alone with this problem and its not "new" so html 5 is new doesnt count. smooth movement and good audio are some of the MOST IMPORTANT things and should be the first things that work perfectly!

    http://stackoverflow.com/questions/2241 ... on-stutter

    http://stackoverflow.com/questions/1419 ... -in-chrome

    3) it is NOT a hardware problem, at least in most cases. it doesnt matter if its a galaxy s2(crosswalk) or my "high end" gaming pc. this issue of the "micro stuttering" is always present

    4) Colludium with the framedrop on start of layout: move all the objects you are using to the menu. then destroi them.

    it will better the lag when starting the main layout. at least that solves the 25fps for 5 seconds on start of layout problem for me <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

    5) we should look out mfor any information if this will befiuxed in a later version of canvas.

    i am especially speaking of crosswalk developpers. maybe they con do something. the least we should do is adress this issue to development teams of the software that causes it.

    6) if those issues dont get fixxed within the next 6 month i really see no pont to develop with html5 at all. eli0s i totally understand your frustration, its the same with me.

    the point is we (the developpers) did nothing wrong than chosing html5/canvas over a engine whith can handle our demand. html5/canvas might be god for point and click / drag and drop games. but nothing with "fast" animations then.

    7) Ashley thanks for reporting that issue. the interesting part for me (and i think for many others) will be when the crosswalk team implements the update (i speaking about the intel xdk for android releases)

    should we directly report this to the crosswalkteam (https://crosswalk-project.org/contribut ... _bugs.html)? or just wait till chromium has fixxed this issue and then report it there?

    kind regards

    joschi

  • just updated to the latest xdk version, unfortunatelly the problem peresists...

    its alwaysthe same, sound and jitter problems. ive also read that android is slow in decoding sounds, thats wye it takes so long to start when i Import the music as sound...

    both circumstances are so not acceptable

    Ashley , could that be a cosntruct bug or is at just an issue with crosswalk? are there any workarounds? is it even possible to develop a "good" game with construct2 for android? i just love constuct and i love making games with it, but whats the use if you cant publish them?

  • Ive enabled it and now it runs in the browser preview like i exported it with crosswalk, which is a nice to have but doesnt solfe the skittering issues... but i am fine with that. whats more important right now is that when i export the app with crosswalk the music aleways gets played at maximum volume! (like i mentioned in my other thread)

    i have a workarround for the lags at game start: i moved all the object to the menu layout and destroy them on start. now the game itself stats with less lags!

    regards joschi

  • jep, i have read it.... but also there seem to be several issues with the sound in crosswalk... basically the whole sound thing lags on start of a layout + you cant controll music volume... it always plays at max vulume at crosswalk. and when you import music as sound it works, but the app takes 5 minutes to start O_o doesnt make sence....

    hopefully things get sorted out soon. its very frustrating when you have your whole app ready and cant publish it because BASIC features dont work.

    regards

  • Hey, everyone,

    I’ve encountered a bug / error which I can’t walk around so i ask you guys if you have any ides...

    For referent, everything is working fine in website export: http://bytecrunch.org/games/ocp1/

    When I export the same game for crosswalk and build the app everything works, but the music is always playing at maximum volume... ( I have an option menu where you can set the volume....) it also works in the intel XDK emulator without problems...

    Also I have trouble getting the tilt control to run. Touch works without problems. I’ve activated the accelerometer plugin in crosswalk and added the necessary options in construct 2 [quote:1s8vgmfr] gamma orientation = -20 MOVE playerbox.movingspeed*dt pixels at angle 180

    Any thoughts on this? i really want to get this game done but those issues are very demotivating :/

    Kind regards

    Joschi

    Edit: I’ve also uploaded the apk for arm, just in case anyone wants to test the game on their device... I’ve still having some trouble with lags on start of the main layout... http://bytecrunch.org/games/ocp1/ocp1.apk

    and as always: Thank you very much for your help!

    Edit2: ive also tryed to import the music file as sound, which solves the issue. i can set the sound and the music volume seperatly. the problem with this is, the app then takes 4 minutes just to start (stuck at the loading screen at 60%) which is also unacceptable...

    shouldnt this go much faster as the music isnt streamed when compiled with crosswalk?

  • Thanks for pointing this out. Same problem with Asus K00F

  • AlexFrancois i had the same problem, when frames dropping to low everthing gets pretty unresponsive... i chose a completelly different game layout and for now i am fine... hopefully they will fix the webgl issues... i havent tryed ashleys tip yet but will do so shortlydid you try it?

  • to answer my own question, round(random(1,3)) does the trick

  • Hey guys,

    the following script leaves the variable completly empty:

    [attachment=0:15mldtjj][/attachment:15mldtjj]

    am i doing something wrong?

    regards

    joschi

  • alvarop there is not much going on... you can download the capx from my dev server here: http://bytecrunch. org/dl/

    if i remove all objects from the layout exept the background and the butttom it runns smothly and drops to 55 fps from time to time... but still those drops are kind of strange... such few objects shouldnt have such an impact... i will get a new phon ein a few weeks, hopefully i find something that is not bigger than my s2 haha <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

  • i give it up for today... those framelags just seem to be to random... all runs smothly on 6ß fps and then suddenly the whole frame lags... drop to 35... a few seconds later everything is fine again

  • , thanks for the clarification. canvas seems to be fine, but webgl is just "impossible" to activate on my s2 in chrome. its kind of frustrating that my really small game has such a poor performance...

    for reference: (the game to test)

    bytecrunch . org/flow

    does it mean that if webgl is not available for crome its also not available for crosswalk? any work arrounds? or a way to test it and be sure? i really want to focus on developing the games, but if they dont run smooth its just not fun to play them at the end...

    its hard to find information on this...

    shinkan thats good to hear, but is there any way to ensure that it is enabled on all your customers phones? i mean you have to develop for the wekest phone you want to target... for me this is the galaxy s2... if my games dont run smoothly on them its just pointless... and i hate this dilemma as i just love construct2!

    regards.

  • It says WebGL: unavailable

    does this affect the performance if i dont use any WebGL effects? also does this apply for crosswalk?

  • yep, i will read a tutorial about this