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
100
S
21
G
12
Posts: 3,259
Reputation: 16,919

Post » Mon Jun 29, 2009 1:09 am

Call pRuntime->CallOnFrame()/CallOnFrame2() to start calling OnFrame/OnFrame2 again.
Scirra Founder
B
399
S
236
G
89
Posts: 24,525
Reputation: 195,382


Return to Construct engineering

Who is online

Users browsing this forum: No registered users and 0 guests