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), 13,353 guests, and 5 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
Panel Problem #177902
01/14/08 18:23
01/14/08 18:23
Joined: Jan 2007
Posts: 40
germany
boochie Offline OP
Warez
boochie  Offline OP
Warez

Joined: Jan 2007
Posts: 40
germany
Hello @all!
I'm creating a panel and have tested it and it works, but the egine shows a black screen, nothing else. The picture is in the right size and has the right format, visible is turned on. No errors. Where's the mistake? Is there an mistake at all? :
///////////////////////////
VAR video_mode = 8;
VAR video_depth = 16;

Bmap metal = "menu.bmp";//use this picture
///////////////////////////
PANEL menu_pan
{
pos.x = 0;
pos.y = 0;

Bmap = metal;//use predifined picture
}
///////////////////////////
FUNCTION main()
{
menu_pan.VISIBLE = on;//visible is turned on
load_level("menu_DG.wmp");//load in this level
}

thx, Boochie.

Last edited by boochie; 01/15/08 17:48.

Use condoms! They fit perfectly over your head! xD USING 3D GAMESTUDIO VERSION 6.22 PRO & BLENDER
Re: Panel Problem [Re: boochie] #177903
01/16/08 18:03
01/16/08 18:03
Joined: Jul 2007
Posts: 163
c:\Germany\Bavaria.exe
G_Tos Offline
Member
G_Tos  Offline
Member

Joined: Jul 2007
Posts: 163
c:\Germany\Bavaria.exe
ich denke es müsste
load_level(menu_DG.WMB);
heißen, denn nur so gehts bei mir, sonst gibt er imm level eine Fehlermeldung. Probiers einfach mal aus, ob#s geht weiß ich nicht, is nur n Vorschlag...


Spiele zu spielen ist Übung, sie zu machen Kunst!(Zitat)

Re: Panel Problem [Re: G_Tos] #177904
01/16/08 20:26
01/16/08 20:26
Joined: Apr 2005
Posts: 3,076
Germany, NRW
rvL_eXile Offline

3D Artist
rvL_eXile  Offline

3D Artist

Joined: Apr 2005
Posts: 3,076
Germany, NRW
@G_Tos
Nein, mit der A6 funktioniert das, ich benutz den Befehl immer so

Du hast den Visible Flag vergessen

Code:

///////////////////////////
VAR video_mode = 8;
VAR video_depth = 16;

Bmap metal = "menu.bmp";//use this picture
///////////////////////////
PANEL menu_pan
{
Bmap = metal;//use predifined picture
pos.x = 0;
pos.y = 0;
flags=visible;


}
///////////////////////////
FUNCTION main()
{
menu_pan.VISIBLE = on;//visible is turned on
load_level("menu_DG.wmp");//load in this level
}




Tutorials:
[Blender]Terrain creation ENG/GER
[Blender]Low Poly Tree Modeling
[GIMP]Create a Texture for Terrains
CLICK HERE


Re: Panel Problem [Re: rvL_eXile] #177905
01/16/08 20:50
01/16/08 20:50
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Quote:


3D GAMESTUDIO VERSION 6.22 PRO




quoted: boochie's signature

Maybe that is the problem.
Check out the download-page and scroll to the very bottom of it. There is a link to the latest A6 version.
Download it!


@rvl_exile: That is not the problem, or should not be the problem.
Setting flags in the panel object definition is the same as applying it via "panel.flag = status;" example:
in panel definition:
flags = visible, overlay;

is the same as having a function:
panel.overlay = on;
panel.visible = on;

Re: Panel Problem [Re: Xarthor] #177906
01/16/08 20:56
01/16/08 20:56
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
i dont think it has to do white it but maby VAR video_depth = 16; has to do white it. but why you dont change it to 32?


"empty"
Re: Panel Problem [Re: flits] #177907
01/16/08 22:10
01/16/08 22:10
Joined: Jan 2007
Posts: 40
germany
boochie Offline OP
Warez
boochie  Offline OP
Warez

Joined: Jan 2007
Posts: 40
germany
I read it in a tutorial... I'll change.


Use condoms! They fit perfectly over your head! xD USING 3D GAMESTUDIO VERSION 6.22 PRO & BLENDER

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