jugger87's Forum Posts

  • Problem Description

    It's simple, setting a value to an instance varaible does not work. When I create a Sprite, on its On Create I call function with its UID. With this UID I want to change a value of a variable, but it seems that it doesn't work. I putted another action to that sprite to check if it was not being picked, but with Destroy action(for example) it works. Also i save the X coordane and Y to a global variable and that works well.

    The Spire is called "PuntuacionObtenida".

    Attach a Capx

    dropbox.com/s/qw8z63p0nkx399a/Bug.capx

    Description of Capx

    I took a flappy bird template, you control a bat and insects come continuously from right to left. When a insect collides with the bat a number is spawed.

    Steps to Reproduce Bug

      Just ensure the bat eats an insect (but also take into account not to eat more than one, because changing the instance variable must only be done for the first number that appears). The variable bOriginalFusion remains 0 (despite setting it to true). You can disable the toggle in the destroy action and you can check that the number does not appear or see that the X and Y global variable have the sprite X and Y values.

    Observed Result

    The variable bOriginalFusion remains 0

    Expected Result

    The variable bOriginalFusion must be 1

    Affected Browsers

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

    Operating System and Service Pack

    Windows 7 Ultimate Service Pack 1 64 bits

    Construct 2 Version ID

    163

  • Try Construct 3

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

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

    When an object of a certain family spawns another object of the same family, it crashes.

    Attach a Capx

    dropbox.com/s/nl6fmw5thmb5fhb/family_bug.capx

    Description of Capx

    First of all, it creates 10 random number from a family that includes only numbers 1 or 2 (just to

    summarise the problem). The game consist in connecting 3 or more same numbers ( 1 1 1 e.g.). After you

    select them, they are deleted and replaced by another number, and so on. On the spawn action, you will

    see that if you replace the family números (numbers) with a direct Object, like Sprite1 Object, it works.

    Even if you put another family which has the same Objects as the problematic family the game still runs.

    I include 2 .png files that shows the message error given.

    dropbox.com/s/lkviw44ygny1dpx/Bug2.png

    dropbox.com/s/1inyt8kjtzswlt4/Bug.png

    Steps to Reproduce Bug

      1. Run the game 2. Try to match 3 equal numbers (in case it's not possible, just reload the game) 3. See how it crashes, but only if on the spawn action there is a número Object (try to put the other family)

    Observed Result

    Sometimes it crashes, other times shows an error message which I have included

    Expected Result

    The touched numbers remain low-opacity for a second, then dissapeard and new random number from número family show up

    Affected Browsers

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

    Operating System and Service Pack

    Windows7 Ultimate Service Pack 1 64 bits

    Construct 2 Version ID

    163