Category: 2D Overlay
Syntax:
b2dDrawMovieScaled:Void(handle:Int, x:Int, y:Int, width:Int, height:Int)
Void
Draws the movie's current frame stretched to width by height pixels —
the usual way to fit a movie to the window.
It sets the scale to 1 afterwards, not back to what it was before, so any
b2dSetScale in force is lost. That matches the Windows edition.
View detailed documentation online
b2dDrawMovieScaled(movie, 0, 0, 800, 450)
See examples/Runtime/31 - Movies.
BambooBasic © 2026 Michael Denathorn