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
93
S
21
G
12
Posts: 3,250
Reputation: 16,668

Post » Mon Jun 29, 2009 1:09 am

Call pRuntime->CallOnFrame()/CallOnFrame2() to start calling OnFrame/OnFrame2 again.
Scirra Founder
B
366
S
217
G
82
Posts: 23,243
Reputation: 183,484


Return to Construct engineering

Who is online

Users browsing this forum: No registered users and 0 guests