cesisco's Forum Posts

  • Hi Tom , my graphics item "the Cookie" is in the Scirra store now, but i misread the license.My graphics item is a pack with more than 800 files, and is a major drawback to the user to buy this, and only use in one commercial project, because this pack have a lot of graphic assets, which could be used in dozens of games without repeat a single image .

    If you are ok with this, i will delete the item(no one bought it yet), and i will release them in smaller packs of 2 or 3 sets that work together, at a smaller price.

    Tell me what you think

    Thanks

  • The Cookie — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-free-graphics/the-cookie-207

    <p>"The Cookie" is the first pack of autotile terrains for 2d platformers.</p><p>This pack contains a collection of 55 autotile terrains, and each set contains 16 PNG images.</p><p>The images are optimized to make use of the autotile bitwise algorithm(capx available).</p><p>All images are 256x256 in size.</p>

    Use this topic to leave comments, ask questions and talk about The Cookie

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi i'm working in a application that requires that the user save images to the the disk, and i found that node webkit can't render the main window background transparency(the last layer set to transparent)...It's difficult to say without seeing your capx, but it could be this problem.

    This is a huge drawback, if we need to make applications that requires to edit and save images with alpha channel.

  • cranberrygame

    Hi, Just bought the plugins.I sent you a PM.

    Tks

  • Hi guys

    Maybe this not the best place to post this but, is there a problem with the accelerometer when using the build option "Crosswalk for Android" in the Intel XDK?, I set accelerometer to Yes, and I am using the device motion from the Touch plugin but cant get this to work. I tested my game using the cocoonjs launcher and accelerometer is working fine.

    Hi, any progress on getting this to work on crosswalk?

    Try to ask this to IntelRobert in the topic "Crosswalk Intel XDK experiences"

  • How are you measuring latency?

    I don't think there's anything we can do anyway, since the delay must be in Chrome or possibly the Android OS. There is no delay on C2's side, it says to play audio right away, and it does play right away on all other platforms.

    Ashley , i'm recording the device(see the video in the first post), and each frame of delay between the collision/sprite turns visible and the sound, represents 33ms if the video is 30 FPS(1/30*1000), but i shot the videos at 60FPS for more accuracy.

    It seems that is a Chome problem(crosswalk does the same), but it's weird that very few people noticed this.

    Thanks anyway.

  • There's not much latency on my Nexus 5. However some older Android devices have pretty laggy audio support. I think it's system wide - try testing a different (native?) app and see if it's the same. Which devices are you testing exactly and what version of Android are they running?

    Hi Ashley, here are the audio latency results, in Chrome for Android, for all my android devices:

    Samsung galaxy core plus, Android 4.2.2, Chrome 35.0.1916.141: 231ms

    LG L4, Android 4.1.2, Chrome 35.0.1916.138:297ms

    Asus Memopad hd 7 tablet, Android 4.2.2, Chrome 35.0.1916.141: 297ms

    Growing Wolf quad core, Android 4.2.1, Chrome 35,0.1916.141: 297ms

    The audio lag is similar in Chrome beta.

    None of these devices come close to my iPad 2/Safari, with no lag at all.

    The performance of these devices with native apps seems to be ok.

  • There's not much latency on my Nexus 5. However some older Android devices have pretty laggy audio support. I think it's system wide - try testing a different (native?) app and see if it's the same. Which devices are you testing exactly and what version of Android are they running?

    OK Ashley thanks , next week i will try to test this in a few more android devices, and i will report the entire set results.

  • Sound effects? No lag after the first sound is played.

    Music, no lag after preloading either.

    Ok thanks, i have to test this in a extended set of android devices to figure out what's going on, but it's a little bit weird to have this problem in all android devices.

  • Music needs a preload trigger for at least 1 second before playing, to have consistent results on mobiles (most Android devices I've tested).

    Sound itself WILL lag the first time a sound is played, but subsequent play of the same sound will not lag.

    To prevent this lag, I suggest you preload the sounds you need for that stage/level on start of layout.

    Yes i know , i always preload all the sounds.The answer I would like to know is, do you have any lag in your android devices and chrome for android?Thanks.

  • Hi, i did some tests on my 3 android devices, and i'm getting a big audio lag in Chrome for android(35.0.1916.141) and beta version too.

    Here's the video of two them performing vs my iPad 2.

    Android devices latency:more than 297 milliseconds.

    iPad 2 Safari latency: no lag.

    Chrome for Android audio latency

    Should i report this to Chrome?... maybe my devices are all crap.

    297 ms is a big and audible lag that ruins any gameplay, if someone can test this and give me the feedback, i would appreciate.

    Edit:I ran the test both on server and wifi local preview, with different audio samples, mono, stereo, file sizes , with different

    conditions, all with the same results.

  • Hi, cesisco, I am from Crosswalk team and working on the Crosswalk development.

    The lower framerate is very likely to be caused by the fact that we only ignore gpu black list for IA platform from Crosswalk 5, and it won't do any additional thing for ARM platform to avoid some crash which is reported from Construct2 user, see XWALK-934 in Crosswalk Bug JIRA.

    From Crosswalk 6, we allow the web developer to append command line options by themselves, for example, you could append '--ignore-gpu-blacklist' in 'assets/xwalk-command-line' file, and Crosswalk runtime will load this cmd option file firstly before launching your app.

    Hi hmin, thanks for your answer, good to know that i will be able to ignore the gpu blacklist(at least for testing purposes).

  • >

    >

    > Thanks Silverforce, but are you getting the same frame rate as the stable build?

    >

    cesisco

    Do you have a device with a blacklisted GPU?

    Crosswalk v5 adopted the chromium GPU blacklist while v4 seems to skipping it. (See here)

    Since almost 1/4 of the android devices out there have GPU blacklisted by the chromium team this may be your issue.

    Hmm, in my debugging text it says "canvas2d" as renderer, in both stable and beta builds but the stable has a better framerate(55 fps vs 32 fps).

    The intel app preview the app is using the "WebGL" renderer.

    Zhiqiang

    I was wondering why the performance is worst in Crosswalk 5, even when both builds are running with canvas2d renderer.

    Thanks.

  • cesisco

    I tested XDK beta with my own game and found it running smooth. On a LG G-Pad 8 inch, with Snapdragon S600.

    Thanks Silverforce, but are you getting the same frame rate as the stable build?

  • IntelRobert

    Zhiqiang , hi i made a simple project to see the performance drop in Crosswalk 5 beta vs Crosswalk 4.

    Even with only 2 sprites in this project, i 'm getting a big frame rate drop in Crosswalk 5 beta.

    Crosswalk 4 stable:55/56 FPS

    Crosswalk 5 beta:32/33 FPS

    I'm doing the tests with the ARM build in a 4.2.1 Android device and the latest C2 stable release.

    Here are the files.

    APK stable build

    APK beta build

    Construct 2 exported files

    Construct 2 capx

    It would be great if someone in the forums can test this in different devices to make sure that this is not a problem only related with my device.

    Thanks

    Hi, this is Zhiqiang from Crosswalk team. in terms of performance regression, is it possible to share the related sample code w/ us so we can reproduce it for a further check ?

    > IntelRobert, the audio lag in the Crosswalk 5(beta) build is ok, but the overall performance in every other aspects is very bad in my games, the framerate is almost the half comparing to Crosswalk 4(stable).

    > So i´ll wait until Crosswalk 5 goes stable, and hope everything runs smoothly.

    > Thanks

    >

    >

    > > Our build system gives you the choice of crosswalk 4 & crosswalk 5. The latest app preview uses crosswalk 5. Since you say that App Preview does not have the lag, then I am hoping that it was a problem fixed in crosswalk 5. Please check that you are using crosswalk 5 by going to the bottom of the details tab in the build dialog.

    > >

    > > If crosswalk 5 has the problem, then please PM a capx file that shows the problem.

    > >

    > >

    > >

    >