Seasky's Recent Forum Activity

  • Problem Description

    When "Pause on unfocus" is set as Yes and an audio is playing, on unfocusing the browser and focusing again, the event "On audio ended" is triggered.

    Attach a Capx

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

    Description of Capx

    Button that play some audio and fade in an sprite.

    Steps to Reproduce Bug

    • 1. Execute the project
    • 2. Unfocus the browser
    • 3. Focus again

    Observed Result

    "On audio ended" triggers on focusing the browser

    Expected Result

    Only trigger the event when the audio ends.

    Affected Browsers

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

    Operating System and Service Pack

    Windows 8.1 Pro (x64)

    Construct 2 Version ID

    r206

  • Here is the translation to Portuguese (Brazil). There's no need to compensate, just wanted to help ^^

    Good luck with your project!

  • I tested in preview (using Node-Webkit) and the exported game, and the game didn't freeze in both...

    On exported, I played until I died 3 times and the game was running smoothly...

    My PC configuration:

    • OS: Windows 8 x64
    • Processor: Intel Core i7-3770 3.4GHz
    • RAM: 8 gb
    • Video: AMD Radeon HD 7450

    I couldn't see your code, I don't have chinese/japanese installed on my PC, sorry... ¬¬"

  • Something like this?

  • Mazdakfx

    I played a long time ago, and don't remember how it works... xD

  • To close an opened item, just execute the actions that close the item (when Button.animationFrame = 1)

  • ...

    One more thing, when item A is open and item B touched, close item A and open item B,

    ...

    Done, but if each item have different sizes, the animation will be a little weird... So there's a CAPX without the animations

    ...

    Also I need to pin different sprites in left side of item (instead of Text_Item) as you can see in my screen shot in first page...

    It's there now!

  • Try Construct 3

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

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

    Like this? However the sprite will stretch

  • Mazdakfx

    Every so often I'm getting a strange bounce when Seasky's menu closes. Are you seeing that too?

    Haha, I saw that too, but I was too lazy to fix it...

    But I just put a max() and min() and it doesn't bounce anymore

    And now there is a button in the end

  • I have this example, see if it helps

  • You can start with the Auto-Runner template in C2 (Start a new project -> Search for: "Template: Auto-Runner")

  • You're welcome!!!

    And thanks for the cookie! Haha

Seasky's avatar

Seasky

Member since 22 Feb, 2013

Twitter
Seasky has 1 followers

Connect with Seasky

Trophy Case

  • 11-Year Club
  • Popular Game One of your games has over 1,000 players
  • Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

15/44
How to earn trophies