MCPcopy Create free account
hub / github.com/coronalabs/corona / GetEffectiveNumFrames

Method GetEffectiveNumFrames

librtt/Display/Rtt_SpriteObject.cpp:502–551  ·  view source on GitHub ↗

n is the raw number of frames in the sequence (fNumFrames) i is the number of iterations (fLoopCount) For (i > 0), the number of effective frames depends on the loop count. for kBounce \ i (num iterations) n \ 1 2 3 ------------------------------------------------------- 1 | 1 (1) 2 (11) 3 (111) 2 | 3 (121) 5 (12121) 7 (1212121) 3 | 5 (12321)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

UpdateMethod · 0.80
IsPlayingMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected