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

Post » Mon Jun 29, 2009 1:09 am

Call pRuntime->CallOnFrame()/CallOnFrame2() to start calling OnFrame/OnFrame2 again.
Scirra Founder
B
382
S
223
G
86
Posts: 23,994
Reputation: 189,745


Return to Construct engineering

Who is online

Users browsing this forum: No registered users and 1 guest