Asmodean's Recent Forum Activity

  • Problem Description

    If an 'is overlaping' event is with other events in one OR-Block, the other events are ignored.

    Is the overlaping event is outside the or-block it works.

    Attach a Capx

    https://drive.google.com/uc?export=down ... 114l0M3Mm_

    Description of Capx

    A sprite that moves from left to right. If it's overlaps an other sprite (wall) or is outside the viewport it changes the direction.

    Steps to Reproduce Bug

    • load the capx
    • run it

    Observed Result

    The sprite change direction when it overlaps an other sprite but ignored if it's outside the viewport.

    Expected Result

    Not ignoring the other two events in the or-block.

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)

    Operating System and Service Pack

    Windows 7 SP 1

    Construct 2 Version ID

    C2 R256

    C3 R89

  • These kinds of errors are usually caused by buggy third-party addons.

    Correct, it was my own buggy plugin. As the error message said the flag was wrong. I set world instead of object.

    I never had this error in previous versions of Construct, is this new?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I got this error with every capx:

  • What is a local variable? I think I made one by accident a while back when I tried to put a global variable inside a group.

    That is how you make a local variable. The scope of the local variable is only for this group. The benefit is if you make an event and use a variable you will only see the globals and the lokal variables from this group. It's all about clarity.

  • I would try to arrange the events in groups and use lokal group variables. For me that is much more clearer and lokal variables are some times the better choice over instance or global variables.

  • Not perfect, but maybe it can give you an idea how to achieve it.

    https://drive.google.com/uc?export=down ... g3diGeg2At

  • You could go to an older release:

    https://www.scirra.com/construct2/releases

    and change the version of your capx.

    The capx is only a zip-file. You can unpack it (maybe renamoe capx to zip) and in the folder there is .caproj-file. Open it in an editor and change 'saved-with-version' to the version you have.

    Save it and now make a double click on the caproj-file it. C2 should open it now.

  • [quote:266mow6t] After the last update I start having this bug, I dont know if it is only concidence.

    It's not a coincidence. I tried your capx with 252 and 255. No problem with 252 but I get the error with 255.

    So it seems there is a problem with 255.

  • matrixreal

    I have a C2-Plugin that check for tablet or phone it based on mobil-detect.js. But it's not 100% reliable because it depends on 'userAgent' from the Browser and this behaves different on different mobil browsers.

  • What effect do you want to achieve? After disabling the platform-behavior the box snaps to imagepoint1 and the sin-behavior started. Isn't that what you want?

  • You have to disable the Plattform-Behavior or at least set the gravity to 0 in event 94 when the EnergyBox is put in the EnergyPlug . Then it should work.

  • You have to use the correct name of the effect:

    -> Sprite: Set effect "Pixellate" parameter 0 to 10

    The name of the effect is case sensitive, so it's "Pixellate" not "pixellate".

Asmodean's avatar

Asmodean

Member since 31 Jul, 2015

Twitter
Asmodean has 9 followers

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

15/44
How to earn trophies