Gamestudio Links
Zorro Links
Newest Posts
Lapsa's very own thread
by Lapsa. 06/26/24 12:45
Executing Trades on Next Bar Open
by Zheka. 06/20/24 14:26
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Lapsa), 1,331 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Mino, squik, AemStones, LucasJoshua, Baklazhan
19061 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 4 1 2 3 4
Re: Problem !!! [Re: MasterQ32] #345159
10/23/10 17:18
10/23/10 17:18
Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
Roel Offline
Senior Member
Roel  Offline
Senior Member

Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
I had problems with visibility and clickability sometimes.
it seems that the order in which the panel elements are defined gives them a sort of layer.
you can try to make your background a panel, and the buttons another panel with a higher layer.


Check out the throwing game here: The throwing game
Re: Problem !!! [Re: Roel] #345171
10/23/10 18:36
10/23/10 18:36
Joined: Aug 2010
Posts: 131
Iran
Mafia_IR Offline OP
Member
Mafia_IR  Offline OP
Member

Joined: Aug 2010
Posts: 131
Iran
an strange problem laugh , it has no way to solve ...

these files are not in my engine folder ,they are in "G:\'my game name'".

It is strange that the background shows, but buttons are not!

menu.tga = NG.tga

but ... .

Re: Problem !!! [Re: Mafia_IR] #345183
10/23/10 20:50
10/23/10 20:50
Joined: Nov 2008
Posts: 216
J
jane Offline
Member
jane  Offline
Member
J

Joined: Nov 2008
Posts: 216
ok, here the correct code, is tested

Code:
#define PRAGMA_PATH "pic"

#include <acknex.h>
#include <default.c>

///////////////////////////////////////////////////////////////////////

BMAP* menu_tga = "Menu.tga" ;
BMAP* LD_tga = "LD.tga" ;
BMAP* SG_tga = "SG.tga" ;
BMAP* NG_tga = "NG.tga" ;
BMAP* HM_tga = "HM.tga" ;
BMAP* CTM_tga = "CTM.tga" ;
BMAP* EX_tga = "EX.tga" ;

///////////////////////////////////////////////////////////////////////
function NGF ()
{
level_load("level_one.wmb");
beep();
}

PANEL* menu =
{
pos_x = 120 ;
pos_y = 10 ;
layer = 10 ;
bmap = menu_tga ;
button (250, 134, NG_tga, NG_tga, NG_tga, NGF, NULL, NULL);
flags = OVERLAY | SHOW;
}
function main ()
{
mouse_mode = 4 ;

video_mode = 7 ;
video_screen = 2 ;
}



use for the panel and button .bmp or .pcx
or .tga with a alpha-chanel (32bit)

Last edited by jane; 10/23/10 21:09.
Re: Problem !!! [Re: jane] #345201
10/24/10 04:01
10/24/10 04:01
Joined: Aug 2010
Posts: 131
Iran
Mafia_IR Offline OP
Member
Mafia_IR  Offline OP
Member

Joined: Aug 2010
Posts: 131
Iran
Hay jane,Roel,richi007,Helghast,badapple thanks .

Why when I used the image(.tga) ,Image was inverted. shocked

Re: Problem !!! [Re: Mafia_IR] #345255
10/24/10 14:51
10/24/10 14:51
Joined: Aug 2010
Posts: 131
Iran
Mafia_IR Offline OP
Member
Mafia_IR  Offline OP
Member

Joined: Aug 2010
Posts: 131
Iran
and an other question : laugh

Does anyone has the code of (follow path) for me ?

thanks .

Re: Problem !!! [Re: Mafia_IR] #345256
10/24/10 15:01
10/24/10 15:01
Joined: Nov 2008
Posts: 216
J
jane Offline
Member
jane  Offline
Member
J

Joined: Nov 2008
Posts: 216

Last edited by jane; 10/24/10 15:07.
Re: Problem !!! [Re: jane] #345287
10/24/10 19:17
10/24/10 19:17
Joined: Aug 2010
Posts: 131
Iran
Mafia_IR Offline OP
Member
Mafia_IR  Offline OP
Member

Joined: Aug 2010
Posts: 131
Iran
Hey jane thanks .

Re: Problem !!! [Re: Mafia_IR] #345288
10/24/10 19:59
10/24/10 19:59
Joined: Aug 2010
Posts: 131
Iran
Mafia_IR Offline OP
Member
Mafia_IR  Offline OP
Member

Joined: Aug 2010
Posts: 131
Iran
How can i link my web page, in my game ?

Last edited by Mafia_IR; 10/25/10 17:17.
Re: Problem !!! [Re: Mafia_IR] #345371
10/25/10 17:18
10/25/10 17:18
Joined: Aug 2010
Posts: 131
Iran
Mafia_IR Offline OP
Member
Mafia_IR  Offline OP
Member

Joined: Aug 2010
Posts: 131
Iran
any help ... laugh

Re: Problem !!! [Re: Mafia_IR] #345373
10/25/10 17:29
10/25/10 17:29
Joined: Jul 2009
Posts: 1,198
Berlin, Germany
L
Liamissimo Offline
Serious User
Liamissimo  Offline
Serious User
L

Joined: Jul 2009
Posts: 1,198
Berlin, Germany
with exec


"Ich weiss nicht genau, was Sie vorhaben, aber Sie können keine Triggerzonen durch Ihr Level kullern lassen."
-JCL, 2011
Page 2 of 4 1 2 3 4

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

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