Colludium's Recent Forum Activity

  • Update - using the Chrome console I note the following extra info:

    [quote:27dl8hf1]Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 33554432, (2) compile with ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set Module.TOTAL_MEMORY before the program runs.

    Physics_behavior.js:10 Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 33554432, (2) compile with ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set Module.TOTAL_MEMORY before the program runs.

  • I have run into a bit of an unexpected problem with the physics and tilemap plugins. I am clearing out tiles in a tilemap that also has the physics immovable behaviour. Sometimes this causes the following error to be displayed:

    This seems to happen when I clear a large number of tiles in relatively quick succession (3 per second for 10 secs seems to cause it to happen). Creating a bug report will be rather challenging... Anyone any ideas what might cause this and how to avoid it?

    Thanks.

  • Some templates ship with c2; just start a new project and type in "multi" to filter and you'll see them.

    Or simply is HTML5's or wrapper's fault. Come on, today we can run 1080p/4k content and play HD games without any issue on our phones, but can't run a f*cking 2D game, we need to optimize the s*it out of it ?

    I feel your frustration. I'm testing my project on an intel hd4000 laptop (the kind that a kid might own...) and I'm struggling to maintain 60 fps in Chrome with only a few on-screen sprite blending effects (960x540 integer scaling). The back-to-front renderer used in c2 will always be problematic for performance on low end devices (I recall a front-to-back renderer failed beta - and I never understood why an orthographic 3d camera was not chosen to take advantage of gpu 3d support...). Anyway, I've been using c2 as a hobbyist for 5 years now and it's proven to be a superb tool for learning and prototyping... But some elements feel incomplete and don't appear to ever be updated (shadowlight: one per layer! / no platform collision filtering / physics lacks many box2d features / asm.js physics joints can be inexplicably stretchy / etc).

    But as far as exporting a project as a commercial entity to anywhere beyond the likes of Newgrounds/Kongregate (without full api support), c2 users will always be at the mercy of wrappers and the associated never ending cycle of updates, bugs, and updates, and... etc. I suspect that these things will be the same in another 5 years - as browser tech changes the wrappers will always be playing catch-up (anyone remember Impact.js & cocoonjs..?).

    I will continue to use c2 with joy to complete my current multiplayer project and for tinkering with game ideas, just because the event system is amazingly intuitive and it's ideal for prototyping. Perhaps, in 5 years, the novelty of html5 will have reduced and in-browser performance will permit a more stable 60 fps (ie webgl export) for c2 games. But all of these are why I just bought Playmaker...

    So, to the OP, find something you will enjoy using - a tool that won't be beyond your abilities and will allow you to realise your dreams - and get stuck in. Just make sure you test on your target hardware to ensure that you don't become unexpectedly disappointed.

  • I have this with nw.js v14.5. Weird. I added the nw.js object and edited the events to show the viewport size and the nw.js window size in the text object. The sizes were the same in both cases. So I print-screened the preview and learned:

    1. The preview window is the same pixel size for both scaling options (at approx 338x190).

    2. The integer scale option renders to the correct canvas size within the nw.js window, whereas the letterbox scale option scales up to fill the full nw.js window (which draws to an incorrect size). Not great if you want to use pixel art.

    I am going to guess that this is a nw.js bug, so it would be best to report it on github.... Sigh, another example of nw.js not being reliable.

  • Tinyupload is a terrible upload site - it wants to install unwanted crzdi@p on my browser before making the capx available. Can you use dropbox for file sharing?

  • Thanks Ashley - that's good to know... I won't bother with creating a throttle which will certainly save me a lot of testing of something that will provide little gain (if any)!

    I hope the cause of that bug doesn't prove to be too elusive!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Just an open question because this is something I am now thinking of working on....

    I'm designing a multiplayer game for a max of 4 or 5 players. I am using the basic functions of the Multiplayer plugin but, because it is useless with the platform behavior I have opted to create my own data sync-engine. No biggie, but it's a slow process, and I'm now very aware that things could get out of hand if I am not careful. My question concerns bandwidth management:

    Has anyone considered bandwidth throttling with Multiplayer? At 30 fps my sync data-rate is approx 12 kbps, which I think is totally acceptable for a desktop game where the player has a good internet connection. So.... Is it likely to be worth trying to create a data-rate throttle system that detects when the data-rate is poor for a client (probably by time-stamping the data) or am I just over thinking something that really is a non-problem? It's my first multiplayer game, so I'm having to make some assumptions...

    Any thoughts would be appreciated..... Thanks.

  • Thank you for this!

  • lucid - that's fixed it! Thank you - looking forward to testing this .

    • Add an scml object in the same way you would any other C2 object (do not drag the scml file into your layout)
    • When the image dialog pops up (or double click the scml object to open it), choose the generated spritesheet image from the output folder you selected
    • In C2's project pane, right-click on 'Files', and select 'Import Files', and choose the scon file from the output folder you selected
    • Select the scml object, and in the object properties pane, for SCML file, type in the filename of your scon file
    • Set 'draw self' to 'true'
    • Run your project, and report any issues or bugs to this thread.

    Hi I am struggling with these instructions, even though they appear very straight-forward.

    When I create a scml object, I am unable to double click on it to open an image editor. I went through the normal create object routine and then dropped a scml object in my layout. The edit option is greyed out if I right click on it, as well. This leaves me rather stuck regarding the instructions above - could you (or someone else) point out the probably obvious step that I'm missing here? I downloaded the plugin from here and have installed Spriter 8 and exported the 4 files using the instructions from the list I quoted above (but removed for space).

    Thanks!!

  • Problem Description

    If you delete a layer you are then unable to save the capx because the editor crashes....

    Attach a Capx

    capx

    Description of Capx

    One layout with a few layers.

    Steps to Reproduce Bug

    • Delete a layer
    • Try to save

    Observed Result

    If you select Abort then the editor crashes and your saved capx file gets deleted...!

    Expected Result

    The editor does not crash on save.

    Affected Browsers

    • N/A

    Operating System and Service Pack

    W10 x64.

    Construct 2 Version ID

    r230 64 bit.

Colludium's avatar

Colludium

Member since 26 Aug, 2013

Twitter
Colludium has 11 followers

Connect with Colludium

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x3
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

18/44
How to earn trophies