how do i play a video file? it tried
DrawAnimation explosion.avi, 0, 0
PlayAnimation ("explosion.avi")
DrawScreen
but somehow it doesn't really work.
play video
Re: play video
Code: Select all
anim = PlayAnimation("explosion.avi")
Repeat
DrawAnimation anim,0,0
DrawScreen
Forever
StopAnimation anim
Peli piirtokomennoilla - voittaja, Virtuaalilemmikkipeli - voittaja,
Sukellusvenepeli - voittaja, Paras tileset - voittaja
Vaihtuva päähenkilö - voittaja, Autopeli - voittaja sekä
Hiirellä ohjattava peli - voittaja B)
Sukellusvenepeli - voittaja, Paras tileset - voittaja
Vaihtuva päähenkilö - voittaja, Autopeli - voittaja sekä
Hiirellä ohjattava peli - voittaja B)
Re: play video
oh, ok - so simple
and how can id set the SCREEN command by using variables?
SCREEN width$, height$, depth$, 0
doesn't work.
And how about resizing images with variables?
ResizeImage Monster, size-w$, size-h$
doesn't work either.
and how can id set the SCREEN command by using variables?
SCREEN width$, height$, depth$, 0
doesn't work.
And how about resizing images with variables?
ResizeImage Monster, size-w$, size-h$
doesn't work either.
Re: play video
They don't work because you are using strings ($) while those commands demand integers.Cool Ice wrote:oh, ok - so simple
and how can id set the SCREEN command by using variables?
SCREEN width$, height$, depth$, 0
doesn't work.
And how about resizing images with variables?
ResizeImage Monster, size-w$, size-h$
doesn't work either.
-
- Active Member
- Posts: 101
- Joined: Tue Aug 28, 2007 2:27 pm
Re: play video
Code: Select all
SCREEN Int(width$), Int(height$), Int(depth$), 0
ResizeImage Monster, size-Int(w$), size-Int(h$)