Kyriel's Forum Posts

  • 4 posts
  • Hi guys, sorry for the question, I know it isn't about the making of a videogame. I want to know if it's possible to create a Punnett square (yeah, that one for genetic crosses) with Construct 2, I think yes...but I really don't know how to realize that! Anyone can help me? Thank you for your attention!

  • Problem Description

    As subject says, the problem is that disabled buttons can be pressed and runs an event.

    On Chrome, buttons works fine if are visible and disabled: they can't be pressed.

    On Firefox and Internet Explorer, buttons can be pressed also if are visible and disabled.

    Attach a Capx

    https://www.dropbox.com/s/k8wsx38fv6cle ... utton.capx

    Description of Capx

    With this Capx you can see that pressing where there is an invisible and disabled button, an event will work anyway.

    Steps to Reproduce Bug

    • Run Layout
    • Press where the yellow button is

    Observed Result

    Text "Hi" will appear also if invisible button is disabled (invisible button is on yellow area).

    Expected Result

    Text "Hi" should not appear because button is set on "disabled".

    Affected Browsers

    • Chrome: YES (only if button is invisible and disabled)
    • FireFox: YES (also if button is visible and disabled)
    • Internet Explorer: YES (also if button is visible and disabled)

    Operating System and Service Pack

    Windows 7 64 bit SP1

    Construct 2 Version ID

    r172

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It works perfectly, thank you so much!

  • Hello everybody, I am developing a card game and I have a problem, maybe trivial: I created some spawner objects that generate themselves an object (let's call it "Global") that has an animation with several frames. Global object is the entire hand of a player.

    I need to create the following condition: if the Global object (that is the player's hand) has some certain frames (e.g. frame 3, 5 and 7), an event will activate.

    So, I set the condition:

    (Global) Animation frame = 3 & 5 & 7

    The problem is here, because the game recognizes the first frame (3) and the event is already active, while I need the event to be activated ONLY if there are ALL 3 frames, not only the first.

    How can I fix this? Thanks in advance! (and sorry for my bad english)

  • 4 posts