czar's Forum Posts

  • I would simply set a instance variable for each object and when it is less than zero do the action and reset the variable. Each tick or every 0.5 seconds reduce the variable with an amount that is appropriate. i.e., either dt or a fixed time

  • There is a timer behaviour you could attach to the object.

    However, you also mention they all have to change at the same time then you could either

    1. set a variable which is subtracted from each tick e.g.., MyTime subtract by (10*dt)

    2. set a timer to a dummy object and when that fires loop through all your oibjects and set the new angles etc

  • skelooth sorry but that makes no sense. A low FPS is low FPS - for example if WebGL is displaying 15FPS it is not acceptable and would be very noticeable.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • done

  • Problem Description

    If Time Scale is 1 then

    • playing a audio file with a Tag will result in the On Ended "tag" event occurring as you would expect.

    If Time Scale is 0 then the On Ended event does not occur.

    Attach a Capx

    ____ Upload a Capx to this post ____

    Description of Capx

    The moving sprite will stop when you click the timescale = 0 text. It will move again when you click Time Scale On text.

    Clicking on either will result in audio file being played with a "MyTag"

    Steps to Reproduce Bug

    • Step 1 - press time scale on (hear pinball noise and then cymball - ymabll is played on the On Ended event.
    • Step 2 - press time scale off (hear pinball sound again - but no cymball - On Ended never fires)
    • Step 3 etc.

    Observed Result

    as above

    Expected Result

    as abpove

    Affected Browsers

    • Chrome: (YES/)
    • FireFox: (YES/)
    • Internet Explorer: (YES/NO)

    Operating System and Service Pack

    win 7

    Construct 2 Version ID

    ____ Exact version ID of Construct 2 you're using ____ 178 64 bit

  • Thanks A0Nasser, I never noticed that. Unfortunately it doesn't solve the problem as it was already switched to off.

    I am starting to wonder if it is a bug, ASHLEY.

    If time scale is Off then the On Ended should fire.

  • I have a challenge that is driving me bonkers.

    In my game a dialogue box is brought up on the screen and system time scale set to 0

    An audio file is played with a tag "Sentence" - it is the first audio file in a string that I need to play.

    Then problem is that Audio On Ended for that tag is never activated.

    If I disable system time then the On ended works as expected.

    Anyone have a suggestion on how to get around this problem?

    You can't set time scale for audio.

  • It is taking more than a minute to open a page... (from southern hemisphere)

  • At best you have to do much trickery to get a 3d effect using C2.

  • C2 is 2D - seek other solutions for 3D - e.g., unity

  • zenox98 it is not a business decision to drop cocoonjs. And yes Apple and M$ do consult users, especially developers, about up coming changes to products and reasons for those changes.

  • Ashley, thanks for the detailed insight on the situation. My suggestion would be that these significant changes should be discussed or explained before you make them.

  • I was quite miffed when I read that cocoonjs has been dropped as a normal exporter. There was no consultation and no discussion. I have 5 apps using cocoon for iOS and Android, never had any major issues. And the one problem I did have I got much support from Ludei to fix it.

    I feel an undercurrent of Scirra having a personal issue with Ludei and, in my opinion, that should not play a role in this.

    There don't appear to be any one-stop-shop alternatives for CocoonJS and quickly reading about the alternatives people complain about problems there also.

    To be honest I am annoyed and surprised by this unilateral move. Please restore CocoonJS

  • Ashley I have been using C2 productively for 1.5 years. We have found C2 to have plenty of features and incredibly well designed. However, the main blockage to productivity has been the IDE

    • search functions - highlight your search query in the text and being able to search across multiple even sheets
    • copy/pasting
    • it would be great if the objects (in the right panel) could be sorted or filtered on type. e.g., show me all my TileBackgrounds
    • debugging is still quite difficult and takes up a significant amount of time in larger projects

    Some of these features I try to use work arounds but when you have multiple people working on a project who don't share a single work system it quickly gets a bit hairy.

    So my vote would be to slow down on the new features and instead make some qualitative improvements in the actual work environment

  • agreed - would love to see more transparency about future direction.