nutmix's Forum Posts

  • I tried the demo on a Samsung SIII Mini, using Chrome, and the scanning window shows up black - it does not use the camera. Android version 4.1.2.

  • Tom, how about adding a new forum, and keeping the old one read only for a period?

  • Guys, looking for the new debugger, where can I get it/how does one use it?

  • In the game are several voice overs, and I need to make sure they don't overlap as it sounds terrible, but also make sure that each is played.

    Now, if say sound 1 is playing, and I want to play sound 2, I need something like:

    If (sound 1 still playing) {

    create new event:

         Audio on "1" ended: Audio play sound 2.

    }

    or similar.

    The problem I see with this approach (even if creating events dynamically were possible), is that there is a window of opportunity for the sound 1 to end before the "on 1 ended" is registered or active, which means sound 2 will never get played.

    So perhaps we need a sound queue plugin, which will maintain a First in First out queue of voice overs to play in sequence, at the same time and independent of a other sound effects playing.

    Its logic would be more like:

    Every tick: (if no sound with tag "voiceOver" playing) {

    pop next sound item off queue.

    If item found, play item.

    }

    C2 has no Queue structure, and an array would be less than ideal.

    any ideas? This must be a common issue.

  • Tom was saying its a known problem with the forum SW they are using, and he has to restart the service every 15 mins which could account for the majority of the session problem. He is working on migrating to a new system, for which we will all be grateful!

  • Hi, The current C2 audio does not work at all on Android, neither android browser nor chrome on android. Sounds dont play at all, clip, or happen late. Music wont play etc. Colleagues have got audio working perfectly on android using howler. I guess we are going to have to try and get howler integrated with C2, as sound on android is a requirement, unfortunately. It has to be HTML5 - apps are not an option. Anyone already working on this?

  • Kyatric, how do I contact Tom? I may be able to help - I know quite a lot about load balancing, networking and session management.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ok, the problem seems to be that SIII 4.1.2 browser reports 360 as the width and device-width, but has a pixel density of 2. This is more or less the same as iphone - it reports half the resolution, and you have to factor in the pixel density.

    The question is, how do I hack the output of C2 to work on this device? I dont know much about CSS, but I guess the crux is to

    a) detect this case

    b) force C2 to use the native resoution.

    Anyone done this?

  • I have a HTML5 game which is designed for 640 or wider (iphone). On any screen wider than 640, it looks good too.

    On SIII mini, which is only 480 wide, its a bit cramped, but playable.

    But on the SIII (android 4.1.2 + chrome) which is 720 wide, I only see a tiny part of the game, looks like its a phone with only 360 with (like switching retina mode off on the iphone).

    However, an older SIII, with android 4.0, and the android browser, looks great! The game can use the full 720 width.

    So the question is, does anyone know whats in 4.1.2 which is "downgrading" the resolution to half the native resolution? Anyone seen this?

    The C2 project is a mobile one with crop fulscreen mode and "use ios retina display" set to "iphone only"

  • I get that error occasionally using C2 1.39 and IOS 6.1.3 on iphone 4. Have not been able to reproduce. Assume its a loading order issue or similar. Refreshing seems to fix.

  • Sounds work well on iphon4 with ios 6.1.3, and both sounds and music work perfectly on ipad with ios 6.1.3

    However, they do not work at all on iphone 5 with ios 6.1.4

    Try this 2 line capx which uses the C2 sounds. I tried in C2 preview, and also exporting as HTML5 and running from a web server.

    https://www.dropbox.com/s/9v8yderjrrvmthh/soundTest2.capx

    Any one know why this is, and more importantly, how to fix?

    Also, music (see capx) does not work on iphon4, 6.1.3, either as music or as sound (one is streamed, the other downloaded). Any ideas?

    Unfortunately, packaging is cocoon etc is not an option.

  • How can I stop C2 generating the offline.appcache? When I get a final version, ill add it back, and pray I dont need to patch it.

  • Interestingly, this is the response from the web server when Chrome requests the file:

    HTTP/1.1 304 Not Modified

    Date     Thu, 01 Aug 2013 17:13:01 GMT

    Server     Apache

    Connection     close

    ETag     "5a149e9-402-4e2e5ccdd308a"

    The server is in a different time zone. The server and client clocks are correct.

    I last updated the file at 19:12 GMT+2 (which FTP shows correctly as the timezone adjusted modification time)

    When I ran this it was 19:15 in Gibraltar, which was 18:15 in UK, which in summer is 17:15 GMT or UTC.

    This was the request:

    GET /bingo/offline.appcache HTTP/1.1

    Host     test.nektan.com

    Connection     keep-alive

    If-Modified-Since     Thu, 01 Aug 2013 17:01:59 GMT

    If-None-Match     "5a149e9-402-4e2e5ccdd308a"

    User-Agent     Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36

    Accept-Encoding     gzip,deflate,sdch

    Accept-Language     en-US,en;q=0.8

    The crux is that apache is returning the 403 response incorrectly for a file which was just modified. This would appear to be a bug in Apache (which is unlikely) or other time zone related issue?

  • This is the offline.appchache

    CACHE MANIFEST

    #1375349555

    index.html

    c2runtime.js

    jquery-2.0.0.min.js

    icon-16.png

    icon-32.png

    icon-114.png

    icon-128.png

    loading-logo.png

    NETWORK:

    *

  • Kyatric, I can confirm that:

    1) I export the entire project each time, delete all the old files on the web server, and upload all the exported files each time.

    2) I don't modify in any way any file between exporting and uploading to server.

    3) I always upload all files.

    4) the web server is correctly setting the mime type to text/cache-manifest when I want it in Charles Proxy.

    5) repeated Shift+F5, Ctrl+F5, F5, Ctrl+Shift+F5 etc. has no effect.

    6) test.nektan.com/test I have uploaded a project with a slingle layout with a single number. On my browser it is 4, but I have updated it several times to 7 I think. Chrome (and safari on ios) are stuck on 4. any new person will see the new version (7 or so). The only way i can get chrome to go from 4 to 7, is do do that thing with chrome://appcache-internals/

    7) It doesnt appear to be the network, as if I request the offline.appcache, http://test.nektan.com/test/offline.appcache I see the correct file with the correct mimetype, content etc. But Im not 100% sure what the header should look like.