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
3 registered members (NewbieZorro, TipmyPip, AndrewAMD), 14,749 guests, and 7 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
Page 1 of 2 1 2
entity layer #268978
06/01/09 06:57
06/01/09 06:57
Joined: May 2009
Posts: 37
S
shiznitIII Offline OP
Newbie
shiznitIII  Offline OP
Newbie
S

Joined: May 2009
Posts: 37
Can somebody please help me how to set my entity to be at the front most. I am the script below and my entity is behind all panels. how can i have it infront or top most layer?

Script:
function load_frog_run()
{
// level_load("road.wmb");
level_load("");
wait(1);
ent_create("frog_run.mdl", vector(400, 0, -50), frog_run);

}

Re: entity layer [Re: shiznitIII] #268980
06/01/09 07:32
06/01/09 07:32
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
The Panels are always in front...

Re: entity layer [Re: Widi] #268984
06/01/09 07:51
06/01/09 07:51
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
Use ent_createlayer().

Re: entity layer [Re: Widi] #268989
06/01/09 09:35
06/01/09 09:35
Joined: May 2009
Posts: 37
S
shiznitIII Offline OP
Newbie
shiznitIII  Offline OP
Newbie
S

Joined: May 2009
Posts: 37
thanks! I guess there is no way to have my entity in front then.
Does the webcam capture have to be on a panel? I was wondering if there is a way i can just use it as a background and have my entity in front

Re: entity layer [Re: shiznitIII] #268992
06/01/09 09:53
06/01/09 09:53
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
Use a negative layer for the panel, and a transparent level background.

Re: entity layer [Re: Spirit] #269005
06/01/09 10:47
06/01/09 10:47
Joined: May 2009
Posts: 37
S
shiznitIII Offline OP
Newbie
shiznitIII  Offline OP
Newbie
S

Joined: May 2009
Posts: 37
Hi. I tried using a negative layer but the image from the webcam does not appear anymore. i am using transparent right now but i was wondering if there is a way to leave the panel the way it is without using transparency and having it in the background

Re: entity layer [Re: shiznitIII] #269008
06/01/09 10:57
06/01/09 10:57
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
You must not use transparency for the panel, you must use it for the level background. When you set the sky color to 0,0,0, then its transparent.

Or alternatively use not a level at all but use ent_createlayer.

There are often two or more solutions.

Re: entity layer [Re: Spirit] #269015
06/01/09 11:32
06/01/09 11:32
Joined: May 2009
Posts: 37
S
shiznitIII Offline OP
Newbie
shiznitIII  Offline OP
Newbie
S

Joined: May 2009
Posts: 37
I need to level_load right so i can use the ent_create?

Re: entity layer [Re: shiznitIII] #269018
06/01/09 11:45
06/01/09 11:45
Joined: May 2009
Posts: 37
S
shiznitIII Offline OP
Newbie
shiznitIII  Offline OP
Newbie
S

Joined: May 2009
Posts: 37
Thanks a lot!!! It works now. there is no need for the ent_createlayer. i just set the panel to negative layer then set the background to transparent. thanks again!

Recording Sound [Re: shiznitIII] #269044
06/01/09 13:14
06/01/09 13:14
Joined: May 2009
Posts: 37
S
shiznitIII Offline OP
Newbie
shiznitIII  Offline OP
Newbie
S

Joined: May 2009
Posts: 37
Hi! would you be able to help me on how to record sound and save it as wav or mp3 using my headset?

Page 1 of 2 1 2

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

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