Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Ayumi), 1,170 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Play_Moviefile question #6333
08/02/01 05:23
08/02/01 05:23
Joined: Jul 2000
Posts: 1,570
Windsor, CT 06095
W
WildCat Offline OP
Expert
WildCat  Offline OP
Expert
W

Joined: Jul 2000
Posts: 1,570
Windsor, CT 06095
I know that the play_moviefile command will play an AVI file, and I know that the MOVIE_FRAME is set to it's current frame.

Is there a way to terminate an AVI early, or make it jump to a specific frame and then continue?

-WildCat



Visit us at [url=http://www.vertexgames.com]Vertex Games[/url]!
Re: Play_Moviefile question #6334
08/02/01 06:21
08/02/01 06:21

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Can't just play the movie in a while loop? Like this....
while (current_frame <= desired_end_frame)
{
play_movie
}
end_movie

to make it restart
currentframe = where_you_want_to_restart_it
{
while (current_frame <= new_desired_end_frame)
{
play_movie
}

of course I didn't use the real commands, but I hope you got the concept.


Re: Play_Moviefile question #6335
08/02/01 07:54
08/02/01 07:54
Joined: Jul 2000
Posts: 1,570
Windsor, CT 06095
W
WildCat Offline OP
Expert
WildCat  Offline OP
Expert
W

Joined: Jul 2000
Posts: 1,570
Windsor, CT 06095
That would be great... I didn't think that would work for some reason. I'll try it out.

Thanks!

-WildCat



Visit us at [url=http://www.vertexgames.com]Vertex Games[/url]!
Re: Play_Moviefile question #6336
08/02/01 08:50
08/02/01 08:50

A
Anonymous
Unregistered
Anonymous
Unregistered
A



No problem at all. Please let me know if it works, for I will be using the same idea in my game.

Re: Play_Moviefile question #6337
08/04/01 00:09
08/04/01 00:09
Joined: Jul 2000
Posts: 1,570
Windsor, CT 06095
W
WildCat Offline OP
Expert
WildCat  Offline OP
Expert
W

Joined: Jul 2000
Posts: 1,570
Windsor, CT 06095
Sephiroth,

As I feared, MOVIE_FRAME is read-only, so your idea will not work.

I'm going to mention this in the FUTURE section under my post on AVI sprites, since this is the only time that I would even need to control the playback frames dynamically.

Thanks for the suggestion though!

-WildCat



Visit us at [url=http://www.vertexgames.com]Vertex Games[/url]!

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1