b2dSetMovieLoop

Category: 2D Overlay

Syntax:

b2dSetMovieLoop:Void(handle:Int, loop:Int)


Parameters

Returns

Void



Summary

Sets whether the movie starts again from the beginning when it reaches the end, rather than finishing. Can be changed while it plays. The picture and the sound each loop at their own end, so over many loops of a file whose soundtrack is a different length from its video, the two can drift apart.

View detailed documentation online



Example
b2dSetMovieLoop(movie, loop)

See examples/Runtime/31 - Movies.


BambooBasic © 2026 Michael Denathorn