How construct2 compiles or reads the code?

Get help using Construct 2

Post » Sun Feb 22, 2015 2:23 am

Hello people,

I'm new with construct 2, I cannot understand how construct 2 compiles or read my code. I developed with c++, visual basic, .net, php, etc in the past. Those lenguages have a clear debugger to see how the code is going but construct's debugger is very different.

I need to understand how construct works, it is doing a loop of my entire code all the time but I have not created any loop. When I need a loop on the above lenguages I had to create it but here is different.

Could some explain me, please? :roll:

Thanks.
B
3
Posts: 2
Reputation: 179

Post » Sun Feb 22, 2015 2:27 am

You must read about how events are processed in the event sheet. Basically they are continuously executed from top to bottom, yes like a loop. You just have to get used to it.. There are still traditional loop constructs like for, repeat and while. And forget about the debugger.. Use print statements/logging.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Sun Feb 22, 2015 5:34 am

codah wrote:You must read about how events are processed in the event sheet. Basically they are continuously executed from top to bottom, yes like a loop. You just have to get used to it.. There are still traditional loop constructs like for, repeat and while. And forget about the debugger.. Use print statements/logging.



ok but how I can stop the loop or I can't?, do you have link to that information?. Thanks. :|
B
3
Posts: 2
Reputation: 179

Post » Sun Feb 22, 2015 6:17 am

How can you stop it? You'll see that question doesn't make sense once you read the manual. Click Manual above then Project Primitives -> Events -> How events work
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596


Return to How do I....?

Who is online

Users browsing this forum: NN81, tarek2 and 18 guests