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
0 registered members (), 18,767 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
Panels... #260231
04/09/09 16:12
04/09/09 16:12
Joined: Apr 2009
Posts: 141
dakilla Offline OP
Member
dakilla  Offline OP
Member

Joined: Apr 2009
Posts: 141
PANEL level_pan =
{
pos_x = 0;
pos_y = 0;
layer = 1;
bmap = open_bmp;
flags = SHOW;
}

when i try to start up my level with this panel it doesnt work and says that 'open_bmp' is an undeclared identifier. i think that my fault lyes in 'open_bmp' but have no idea of what to do. i have tryed putting in just about every picture file type i know. any help?


One day there will be an unfixable bug,
That day is not today.
Re: Panels... [Re: dakilla] #260234
04/09/09 16:18
04/09/09 16:18
Joined: Jul 2007
Posts: 16
F
Farodin Offline
Newbie
Farodin  Offline
Newbie
F

Joined: Jul 2007
Posts: 16
Hi,

you have to define first your bmap for this panel.

e.g.: in c-script: bmap open_bmp = <yourfile.bmp>;
i think in lite-c it should be similar.

try this ;-)

Re: Panels... [Re: Farodin] #260235
04/09/09 16:26
04/09/09 16:26
Joined: Apr 2009
Posts: 141
dakilla Offline OP
Member
dakilla  Offline OP
Member

Joined: Apr 2009
Posts: 141
kk thanks


One day there will be an unfixable bug,
That day is not today.
Re: Panels... [Re: dakilla] #260237
04/09/09 16:35
04/09/09 16:35
Joined: Apr 2009
Posts: 141
dakilla Offline OP
Member
dakilla  Offline OP
Member

Joined: Apr 2009
Posts: 141
still not working, i used the lite-c code 'BMAP* open_bmp = "open.bmp";'
and now there is no error message, but the panel just doesnt show.


One day there will be an unfixable bug,
That day is not today.
Re: Panels... [Re: dakilla] #260238
04/09/09 16:50
04/09/09 16:50
Joined: Jul 2004
Posts: 1,710
MMike Offline
Serious User
MMike  Offline
Serious User

Joined: Jul 2004
Posts: 1,710
BMAP* open_bmp ="open.bmp";

you missed the panel* <-- (*)
PANEL* level_pan =
{
pos_x = 0;
pos_y = 0;
layer = 1;
bmap = open_bmp;
flags = SHOW;
}

Re: Panels... [Re: MMike] #260241
04/09/09 16:57
04/09/09 16:57
Joined: Apr 2009
Posts: 141
dakilla Offline OP
Member
dakilla  Offline OP
Member

Joined: Apr 2009
Posts: 141
yay!
thanks!


One day there will be an unfixable bug,
That day is not today.

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