Loops within loops

For questions about using Classic.

Post » Fri Nov 07, 2008 11:21 am

Is this supported? If not, is it possible to support?
B
8
S
2
G
5
Posts: 744
Reputation: 3,288

Post » Fri Nov 07, 2008 11:41 am

Its supported.
http://www.mediafire.com/?2vginlq5jtd Example of loop in a loop
B
4
S
2
G
4
Posts: 719
Reputation: 2,938

Post » Fri Nov 07, 2008 11:58 am

Sweet! And one quick question... Does sub events remember picked objects from the original event?
B
8
S
2
G
5
Posts: 744
Reputation: 3,288

Post » Fri Nov 07, 2008 12:03 pm

Why yes they do.
http://www.mediafire.com/?jrltwonrtyv And here is proof that they does.
B
4
S
2
G
4
Posts: 719
Reputation: 2,938

Post » Fri Nov 07, 2008 2:22 pm

Subevents are always working with the objects picked by the parent event - it's an important part of how they work. You can also use the Function object to call events and remember objects across them too!
Scirra Founder
B
367
S
217
G
82
Posts: 23,262
Reputation: 183,839


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests