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
95
S
21
G
12
Posts: 3,252
Reputation: 16,780

Post » Mon Jun 29, 2009 1:09 am

Call pRuntime->CallOnFrame()/CallOnFrame2() to start calling OnFrame/OnFrame2 again.
Scirra Founder
B
373
S
218
G
84
Posts: 23,478
Reputation: 186,238


Return to Construct engineering

Who is online

Users browsing this forum: No registered users and 0 guests