when does OnFrame function get called again

Forum for plugin, effect and behavior programmers. Please use the Help & Support forum for help using Construct.

Post » Mon Jun 29, 2009 12:49 am

if I 'return 1;' in the OnFrame function, when does it get called again?

at first I thought that returning 0 was a way to avoid having it get called at all
but I can see in other plugins that's not the case
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Mon Jun 29, 2009 1:09 am

Call pRuntime->CallOnFrame()/CallOnFrame2() to start calling OnFrame/OnFrame2 again.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580


Return to Construct engineering

Who is online

Users browsing this forum: No registered users and 0 guests