DarkBASIC Professional Help Wiki
Advertisement


This command redefines the drawing area of a previously loaded animation.

Syntax
PLACE ANIMATION Animation Number,X,Y,X,Y
Parameters
Animation Number

Integer
This value specifies the animation number, between 1 and 32 X Integer
This value represents the X coordinate of the top left corner of the area to be drawn Y Integer
This value represents the Y coordinate of the top left corner of the area to be drawn X Integer
This value represents the X coordinate of the bottom right corner of the area to be drawn Y Integer
This value represents the Y coordinate of the bottom right corner of the area to be drawn

Returns

This command does not return a value.

Description

Using this command, animations can be stretched, shrunk or moved across the screen even while the animation is playing.

Example Code
LOAD ANIMATION "video.avi",1

PLACE ANIMATION 1,50,50,590,430

WAIT KEY
Advertisement