Bug - many creation of object (Number of events&bug)

0 favourites
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • Problem Description

    My bug - in group "perehod4" with comment ( one) - many creation of some object. I try varibal and trigger once while... nothing helped me.

    Attach a Capx

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

    Description of Capx

    Click on the squares. In the first group - on any word. in the latter group contains a bug. Capx shows colored squares. They disappear when you click.

    Steps to Reproduce Bug

    • Click on orange square. And then - on any word.
    • wait. Click on yellow square. wait. Click on green square.
    • Here the bug. With object "zastavka"-many creation.

    Observed Result

    In last group "perehod4" - when it is play - show the bug - the many creation of object "zastavka". Instead the only one creation of object "zastavka".

    Expected Result

    Only one creation of object "zastavka" in last group "perehod4"

    Affected Browsers

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

    Operating System and Service Pack

    Windows 7

    Construct 2 Version ID

    178 r

  • shukra not a bug. See "Trigger once while true" to solve your issue.

  • shukra not a bug. See "Trigger once while true" to solve your issue.

    Thank you for answer.

    I did capx file with Trigger once and it show the same error( bug). This is on Layout - bug. Another Layout (no_bug) with another event sheet ( Event sheet_no_bug) have the same part of code in C2 ( not all event but the same group with events that have bug on Event sheet _bug) .

    And the object is creating normally - one time.

    IT IS ALL BECOUSE NOMBER OF EVENT, i think. I write about it on the top.

    Here you can see my file 2:

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

  • IT IS ALL BECOUSE NOMBER OF EVENT

    Nope.

    You are not using them correctly that's why you have that problem. I'm not going to explain since you can find the best answer already. See the "trigger once while true" paragraph, should be very helpful as it also a direct answer to your problem.

  • > IT IS ALL BECOUSE NOMBER OF EVENT

    >

    Nope.

    You are not using them correctly that's why you have that problem. I'm not going to explain since you can find the best answer already. See the "trigger once while true" paragraph, should be very helpful as it also a direct answer to yourproblem.

    How can you comment this:

    another Layout (no_bug) with another event sheet ( Event sheet_no_bug) have the same part of code in C2 ( not all event but the same group with events that have bug on Event sheet _bug) .

    And the object is creating normally - one time.@

    The SAME code.

  • > IT IS ALL BECOUSE NOMBER OF EVENT

    >

    Nope.

    You are not using them correctly that's why you have that problem. I'm not going to explain since you can find the best answer already. See the "trigger once while true" paragraph, should be very helpful as it also a direct answer to your problem.

    Ok, here tha file with ALL advice from best answer and with SAME results. You can see it in debug mode.

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

  • NOPE. NOT BUG. SAME MISTAKE.

    Line 58, Line59 and all other relevant event above them. Good Luck.

    This is getting repetitive, I'm gonna stop here, sorry.

  • Line 58 and 59 not influence on my bug ( group Perehod 4 in Event sheet_bug).

    This is due to the fact that you can not create new events or edit them. though events are not 100

    numbers.

  • Line 58 and 59 not influence on my bug ( group Perehod 4 in Event sheet_bug).

    This is due to the fact that you can not create new events or edit them. though events are not 100

    numbers.

    I can describe this by 2 sreenshots:

  • shukra

    Global variables count towards events. You can see this by creating a new blank project and adding a global variable, the Events counter will go from 0 to 1.

    That would account for the extra events you are seeing.

  • OddConfection

    Thank you for you answer. I didn't know about count global variables.

    But my main bug it doesn't solve.

    I'm looking for reasons...

    Yet I can not edit a project in which fewer than 100 events.

  • Remove an effect and see if you can then continue editing.

  • zenox98

    Thanks. i will edit top post.

  • Closing, there is no bug here. The free edition does count groups, variables etc. as events towards the 100 limit, even though the editor only numbers event blocks. Please also follow the bug report guidelines when reporting bugs - the original post includes 70-80 events, which is too many to prove it's a C2 bug and not just a mistake in your own events, which is why we ask for absolutely bare minimum reproduction .capx files only.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley - apologies for posting in a closed bug thread, but I noticed something odd about the capxs posted

    shukra - I just had a look at the capxs you posted to see if you had too many layers or effects which are also a limitation of the free version mentioned in the pop-up in your screencaps, and I noticed you have Families and Subfolders, even though the Free Version doesn't allow these according to the limitations listed here.

    How did you manage to add these? Are you using a capx someone else made using the paid version? Maybe it's these and not the events that are preventing you from editing.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)