Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
2 registered members (Quad, AndrewAMD), 1,007 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
layer for video files #283057
08/05/09 13:26
08/05/09 13:26
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline OP
Expert
alibaba  Offline OP
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
hello

i´m coming directly to the question:
how i can set the layer of a video file??
because i want to make menu and a video files playing in the background but the video is always over the panels.


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: layer for video files [Re: alibaba] #283060
08/05/09 13:40
08/05/09 13:40
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
no layers.. but a trick..

create a plane entity in the level, wich has the size of the video.

and use this code:
Code:
media_play("Videoname.format",bmap_for_entity(modelpointer,0),volume);



this shows the video on the entitys first surface ( 0 ).

Hoping this works XD.. it´s directly from the manual...


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: layer for video files [Re: Espér] #283063
08/05/09 13:55
08/05/09 13:55
Joined: May 2004
Posts: 1,510
Denmark
Claus_N Offline
Serious User
Claus_N  Offline
Serious User

Joined: May 2004
Posts: 1,510
Denmark
Video files are displayed on the layer given by "media_layer", which is 900 by default (according to the manual). smile

Re: layer for video files [Re: Claus_N] #283119
08/05/09 19:29
08/05/09 19:29
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline OP
Expert
alibaba  Offline OP
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
ahh.... many many thanks.


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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