R102 LOOP BUG

Bugs will be moved here once resolved.

Post » Mon Sep 10, 2012 3:22 pm

Hi, here's an example of "slash effect", like fruit ninja.
The events are the same in both examples, but the version exported from R102 doesn't work at all and crashes the browser, the R90 version works fine(i use this effect in my game SBTB:The Eraser as well)

R90
R102
slash_capxcesisco2012-09-10 15:22:31
B
33
S
11
G
9
Posts: 381
Reputation: 10,153

Post » Mon Sep 10, 2012 3:59 pm

I cannot figure out what is wrong with this project because there is too big a range between the releases. If you wait 12 releases then there are so many changes it becomes extremely difficult to tell which specific change has broken a project. This is why we encourage you to install and test every beta release that comes out.

I am not able to tell if this is broken by a known breaking change or if there is a bug here. Also your events seem to be creating the effect in an unusual way. I re-wrote the effect in r102 the way I would have done it, and it works fine:
https://dl.dropbox.com/u/15217362/slash-fixed.capx
Your other events seem overly dependent on the Z order (which may have changed) and spawning in subevents (which definitely has changed). But doing it the above way is more efficient (it creates less objects) and works fine in r102.

Please let me know if you can isolate a specific issue, or a specific release which broke it. Otherwise I will have to close this as something to workaround.
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578

Post » Mon Sep 10, 2012 4:32 pm

@Ashley thanks, this method is so much better!If you like(for debugging purposes)i can search in which release this started to happen, otherwise i will stick with this solution.
B
33
S
11
G
9
Posts: 381
Reputation: 10,153

Post » Mon Sep 10, 2012 4:35 pm

@cesisco - if it wouldn't take too much time, it would be interesting to know just in case there is a C2 bug, thanks.
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578

Post » Mon Sep 10, 2012 9:13 pm

@Ashley, the release that broke the original events is R100.
B
33
S
11
G
9
Posts: 381
Reputation: 10,153

Post » Mon Sep 10, 2012 9:16 pm

OK, I guess it was the issue with spawning objects in loops... I'm still not sure though, but as long as you switch to the new way of doing it you should be fine.
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578

Post » Mon Sep 10, 2012 9:46 pm

Ok Thanks.
B
33
S
11
G
9
Posts: 381
Reputation: 10,153

Post » Mon Sep 10, 2012 11:21 pm

Oh my god!!!!!!!

Thank you @Ashley and Cesisco, it was exactly what I was searching for 2 weeks and decided to give up (This is just to make a trail of sparkling on touch).

You know, when you're not searching for, you find what you needed =]

Awesome way, simple (complex) and efficient, thank you very much!
ImageImageImageImageImageImage
B
93
S
19
G
12
Posts: 1,209
Reputation: 18,369

Post » Tue Dec 11, 2012 5:19 pm

The slash-fixed .capx link is broken. Will someone post it again please. Thanks.
B
4
G
2
Posts: 12
Reputation: 1,249

Post » Sat Jan 12, 2013 3:17 pm

@Ashley @cesisco please fix this broken link:
https://dl.dropbox.com/u/15217362/slash-fixed.capx

Thanks before :)
Enlik Tjioe
Game Programmer

Image

www.touchten.com
B
45
S
11
G
6
Posts: 176
Reputation: 7,289

Next

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests