Colludium's Forum Posts

  • So.... Without changing anything, apart from doing a restart of C2, it all works as expected now...

  • Dear all, I am struggling to find a solution: to have continuous music playing across different layouts.

    Is it possible to play a continuously looping track (tagged music) across different layouts or - as I am beginning to suspect - will the track have to be restarted upon a change of layout? This is a bit irritating because I want to have the same music track continue to play on layout 1 and layout 2; at the moment the music does not play if the layout is changed and it has to be restarted - this could be a few seconds after the game has started and looks (sounds) a bit unprofessional.

    Thanks for any help.

  • eli0s, that's excellent! Thanks for sharing.

  • I'm liking the thinking here!

  • It's a weird one - if I delete the Family or the SpriteFont+ object then the problem goes away - but the SpriteFont+ object is not part of the Family...

  • shinkan, I think you could be right. If I delete the SpriteFont+ object from the original project then the fault immediately disappears.

  • Problem Description

    I have a demo capx which is reduced from a game I am working on. When the capx is opened all objects on the layout are visible; however, scrolling left or right or zooming in and out on the layout causes most of the objects to disappear - and the ones that remain visible cannot then be selected using the mouse. The only subsequent way to see these missing objects is to deselect WebGL.

    Attach a Capx

    [attachment=0:abm5ftxv][/attachment:abm5ftxv]

    Description of Capx

    The capx contains a few objects and a family containing some of these objects.

    Steps to Reproduce Bug

    • Zoom in and out on the layout using ctrl + mouse-wheel
    • Alternatively - scroll left or right by dragging a scroll bar in the editor

    Observed Result

    After a short period of scrolling or zooming, most of the objects in the editor can be seen to disappear and none of the remaining objects can be selected in the layout editor. Deleting some of the objects or the Family sometimes rectifies this fault.

    Expected Result

    The objects should always be visible in the editor.

    Affected Browsers

    • N/A - this bug appears in the editor.

    Operating System and Service Pack

    Tested and reproduced on W8.1 x64 and W7 SP1 x64.

    Construct 2 Version ID

    r170

  • Mentioned before but I would support this as well - the ability to turn off WebGL in the editor would be most helpful.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here's a 10 minute flashlight example. The flashlight uses 8 direction behavior and you use the mouse to control the direction it points. Ninja'd by eli0s, but this is slightly different.

  • Mayfly, I asked Austin that very question a few weeks ago because I didn't want my game in NG to use the Clay login. He told me there was no way to isolate the plugin so all I did was set up my events so they would not break and then delete the clay plugin before exporting the game - then press the undo button. Worked OK if a little less than ideal.

  • jobel, predictive aiming is possible with the application of some maths - it depends on what effect you want to achieve. You could change the angle of the bolt to always equal the angle to the target, but that might not give a good effect....

  • I would prefer this option to ejecta for sure but only because it's cross platform. If the non-crosswalk android option from Intel has about the same performance then I guess it doesn't matter. Ashley, have you any wise words on this?

  • I used to use PowerPoint or Word produced objects as place holder graphics - quick copy paste and move on. Glad it helped!

  • Random question because I had this a few months ago - do you happen to have any microsoft office documents saved inside the project file system and open at the time of trying the save? Told you it was quite random...

    To regain access to C2 I found I had to press return, which cancelled the save.

  • I might be missing something... Have you tried using web storage for the data save? I don't think there's a way to overwrite your game file settings.json but I could be wrong. So when you suspend the app just save a json string of the array into akey in web storage and when the app resumes, load that key back into the array. On start of layout just do a check that the key exists so that you chose to load the default file if there's no local save-game.