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

Bugs will be moved here once resolved.

Post » Sun Aug 24, 2014 4:24 pm

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
Last edited by shukra on Tue Aug 26, 2014 10:54 am, edited 3 times in total.
B
16
S
4
G
1
Posts: 59
Reputation: 1,129

Post » Sun Aug 24, 2014 4:40 pm

@shukra not a bug. See "Trigger once while true" to solve your issue.
B
28
S
8
G
4
Posts: 553
Reputation: 4,914

Post » Sun Aug 24, 2014 8:36 pm

DuckfaceNinja wrote:@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
B
16
S
4
G
1
Posts: 59
Reputation: 1,129

Post » Mon Aug 25, 2014 3:20 am

shukra wrote: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.
B
28
S
8
G
4
Posts: 553
Reputation: 4,914

Post » Mon Aug 25, 2014 7:44 am

DuckfaceNinja wrote:
shukra wrote: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.
B
16
S
4
G
1
Posts: 59
Reputation: 1,129

Post » Mon Aug 25, 2014 5:16 pm

DuckfaceNinja wrote:
shukra wrote: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
B
16
S
4
G
1
Posts: 59
Reputation: 1,129

Post » Mon Aug 25, 2014 5:52 pm

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.
B
28
S
8
G
4
Posts: 553
Reputation: 4,914

Post » Mon Aug 25, 2014 7:32 pm

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.
B
16
S
4
G
1
Posts: 59
Reputation: 1,129

Post » Mon Aug 25, 2014 8:51 pm

shukra wrote: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:
You do not have the required permissions to view the files attached to this post.
B
16
S
4
G
1
Posts: 59
Reputation: 1,129

Post » Mon Aug 25, 2014 9:06 pm

@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.
Vote for all the Construct 2 games on Steam Greenlight - Find them here
B
32
S
9
G
7
Posts: 444
Reputation: 6,731

Next

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests