dop2000's Forum Posts

  • I'm not a fan of using "Or" with triggered events. Try splitting your event #7 into two - one On keyboard key pressed and one On gamepad key pressed, without "Or".

    , none of the settings on Compatibility tab helped in my case.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Basically you do this:

    On every tick: Set Layout scale to lerp(LayoutScale, newScale , dt*6)

    LayoutScale is a system expression for current scale.

    newScale is a variable.

    change "6" to other number if you want to zoom faster or slower.

    KeeghanM

    Not all Windows 10 users are affected, which, I guess, makes it very difficult to found the cause of this problem.

    Are you rebooting your laptop daily? Do you install all windows updates as they become available?

  • Did you set it in C2 preferences, or in project properties?

  • AbusiveChAoS In your capx sprite2 scales, but it doesn't adjust its position.

    gibbon , Is this what you wanted?

    https://www.dropbox.com/s/foxidpba23dli ... .capx?dl=0

  • Try changing your events to something like this (screenshot from someone else's game):

  • Zion

    Set Unbounded scrolling=yes on the layout

  • When playing audio, don't leave the tag field empty.

    Then you'll be able to stop audio with a specific tag.

    Audio tag "textSound" is playing -> Audio stop tag "textSound"

  • You can't get object's name.

    You should do this with instance variables. Create an instance variable on the family - it could be "objectName" or "audioName".

    Set the correct value to this instance variable for each text instance.

    Then on tap simply play audio file FamilyTexts.audioName

    Also, I thought you have a family with multiple text objects?

    On you screenshot I see only one text object - txt_session. If you want these events to be universal (to work with all text objects), you need to replace txt_session with family name.

  • If you set density=5 to one balloon and density=0.1 to another, and let them collide, you'll notice that the lighter balloon will bounce away much harder.

    This is a known issue with C2 on Windows 10. It has been repeatedly reported to Scirra, unfortunately, there is still no solution.

    There was a long and heated discussion in that post nimos100 mentioned. As a result, Scirra released version r251 that was supposed to fix some issues with performance. However, I've been using this version for a week now and didn't notice any improvements...

    For me and some other people rebooting Windows helps - C2 runs fine for some time (maybe a few hours or days). Then everything becomes very slow again.

  • You can add Function object to your project and create a function that resets font color for all texts:

    On Function "SetAllTextBlack" -> FamilyTextObjects set Font Color to rgb(0,0,0)

    Then on tap call this function before setting yellow color to tapped text:

    Touch On Tap FamilyTextObjects

    ------------------------> Function call "SetAllTextBlack"

    ------------------------> FamilyTextObjects set Font Color to rgb(255,255,0)

    As for sharing you screenshot, you can upload it to a service like Imgur and post the link here.

  • Your event #10 is one condition. It will never work because the GravityTimeMultiplier variable can't be 1, and 2, and 3 etc. at the same time.

    Each condition should be in a separate event:

    event 10:

    GravityTimeMultiplier=1 Set gravity to 2

    event 11:

    GravityTimeMultiplier=2 Set gravity to 5

    And so on.

    If you want all new balloons to be created with the same physics properties, you need to set them in editor on that balloon sprite that you have outside of the layout. It's a "default" instance for balloon object, and all new instances, when created, will be copied from it.

    You don't see any difference in density and elasticity because they are only visible when physic objects interact with each other or with immovable objects.

  • Have you tried setting it in your project?

    On the left panel - > Configuration Settings -> Preview browser=NW.js