Gamestudio Links
Zorro Links
Newest Posts
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
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (ozgur, TipmyPip, AndrewAMD), 1,209 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
A6.40.2 Button bug #67005
03/18/06 16:00
03/18/06 16:00
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline OP
Serious User
vlau  Offline OP
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
panel myButtons
{
...
...
button 500,30,NULL,<btnNormal.tga>,<btnOver.tga>,NULL,NULL,NULL;
}

Error(137): Bitmap unknown NULL
while the manual said each of the bitmaps and functions can be replaced by NULL.

Re: A6.40.2 Button bug [Re: vlau] #67006
03/18/06 16:18
03/18/06 16:18
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
try this:

bmap btnNormal = <btnNormal.tga>;
bmap btnOver = <btnOver.tga>;

panel myButtons
{
...
...
button 500,30,btnNormal,btnNormal,btnOver,NULL,NULL,NULL;
}

Re: A6.40.2 Button bug [Re: HeelX] #67007
03/18/06 17:03
03/18/06 17:03
Joined: Mar 2003
Posts: 569
FRAJO Offline
User
FRAJO  Offline
User

Joined: Mar 2003
Posts: 569
panel myButtons
{
...
...
button 500,30,NULL,"btnNormal.tga",btnNormal_tga,NULL,NULL,NULL;
}

define bmaps in button defs with "" the point gets replaced by an underscore


------------------------------------------- ICQ: 242543712 Ich bin nicht hier und bin nicht da. Wo bin ich dann? ".." ("") ^ ^ This is the evil vampire bunny. Copy and paste him into your signiture to help him achieve world domination. Yeah
Re: A6.40.2 Button bug [Re: FRAJO] #67008
03/18/06 17:38
03/18/06 17:38
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline OP
Serious User
vlau  Offline OP
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
Thanks Heelx and FRAJO.

but this line :
button 500,30,<btnClick.tga>,<btnNormal.tga>,<btnOver.tga>,NULL,NULL,NULL;

also work without error, only NULL doesn't, and the manual said both bitmap
and function can be replaced by NULL.

PS : FRAJO, have you got my email

Re: A6.40.2 Button bug [Re: vlau] #67009
03/20/06 08:37
03/20/06 08:37
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
This is what the manual says:

"Except for bmapOn, which determines the size of the button, each of the bitmaps and functions can be replaced by NULL."

Re: A6.40.2 Button bug [Re: jcl] #67010
03/20/06 12:11
03/20/06 12:11
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline OP
Serious User
vlau  Offline OP
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
Ah, Sorry for that, but could it be implement
in the future?


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