Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by dr_panther. 05/18/24 11:01
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (7th_zorro, dr_panther), 724 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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 | 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