Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 16,005 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 | 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