2 registered members (AndrewAMD, Lapsa),
1,331
guests, and 1
spider. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Problem !!!
[Re: Roel]
#345171
10/23/10 18:36
10/23/10 18:36
|
Joined: Aug 2010
Posts: 131 Iran
Mafia_IR
OP
Member
|
OP
Member
Joined: Aug 2010
Posts: 131
Iran
|
an strange problem , 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
jane
Member
|
Member
Joined: Nov 2008
Posts: 216
|
ok, here the correct code, is tested
#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: Mafia_IR]
#345255
10/24/10 14:51
10/24/10 14:51
|
Joined: Aug 2010
Posts: 131 Iran
Mafia_IR
OP
Member
|
OP
Member
Joined: Aug 2010
Posts: 131
Iran
|
and an other question : Does anyone has the code of (follow path) for me ? thanks .
|
|
|
Re: Problem !!!
[Re: jane]
#345287
10/24/10 19:17
10/24/10 19:17
|
Joined: Aug 2010
Posts: 131 Iran
Mafia_IR
OP
Member
|
OP
Member
Joined: Aug 2010
Posts: 131
Iran
|
|
|
|
Re: Problem !!!
[Re: Mafia_IR]
#345288
10/24/10 19:59
10/24/10 19:59
|
Joined: Aug 2010
Posts: 131 Iran
Mafia_IR
OP
Member
|
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.
|
|
|
|