3 registered members (NnamueN, Akow, 1 invisible),
1,421
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
acknex.exe problem
#274184
06/26/09 00:28
06/26/09 00:28
|
Joined: Jun 2009
Posts: 148
gamingfan101
OP
Member
|
OP
Member
Joined: Jun 2009
Posts: 148
|
Hi, i looked in the workshops and couldnt find anything on this, when i start my program it comes up as a black screen with nothing on it at all. When i close it it just doesnt do anything. Any ideas? Thanks!
Sorry, im new. I have a tendency to ask really simple questions, so please be patient.
|
|
|
Re: acknex.exe problem
[Re: gamingfan101]
#274188
06/26/09 00:41
06/26/09 00:41
|
Joined: Aug 2005
Posts: 512 Bayern
Schmerzmittel
User
|
User
Joined: Aug 2005
Posts: 512
Bayern
|
What do you start? Your Game or the SED, WED, MED?
If you start the Game, what does the acklog.txt say?
A7 Com V7.80
|
|
|
Re: acknex.exe problem
[Re: Schmerzmittel]
#274190
06/26/09 00:51
06/26/09 00:51
|
Joined: Jun 2009
Posts: 148
gamingfan101
OP
Member
|
OP
Member
Joined: Jun 2009
Posts: 148
|
considering i use the free version i use the test run option, and it doesnt have any run-time errors, it just comes up with a black screen.
Sorry, im new. I have a tendency to ask really simple questions, so please be patient.
|
|
|
Re: acknex.exe problem
[Re: Damocles_]
#274200
06/26/09 01:49
06/26/09 01:49
|
Joined: Jun 2009
Posts: 148
gamingfan101
OP
Member
|
OP
Member
Joined: Jun 2009
Posts: 148
|
all of my other programs work fine, and this one does untill i get so far. I dont have any idea whats going on.
Sorry, im new. I have a tendency to ask really simple questions, so please be patient.
|
|
|
Re: acknex.exe problem
[Re: gamingfan101]
#274202
06/26/09 01:55
06/26/09 01:55
|
Joined: Jun 2009
Posts: 148
gamingfan101
OP
Member
|
OP
Member
Joined: Jun 2009
Posts: 148
|
I think whats causing it is my TEXTs heres my code, can anyone find a problem with it?
/////////////////////////////////////////////////////////////////////////////////// #include <acknex.h> #include <default.c> ///////////////////////////////////////////////////////////////////////////////////
BMAP* mouse_bmp = "gold_cursor.bmp"; STRING* header_str = "BOXIE"; STRING* maingame_str = "MAIN GAME"; STRING* endurance_str = "ENDURANCE"; STRING* credits_str = "CREDITS"; STRING* exit_str = "EXIT"; FONT* header_font = "reprise title#50b"; FONT* option_font = "reprise stamp#20b";
/////////////////////////////////////////////////////////////////////////////////// TEXT* header_txt = { pos_x = 300; pos_y = 20; string = header_str; font = header_font; layer = 1; flags = SHOW; }
TEXT* maingame = { pos_x = 10; pos_y = 200; string = maingame_str; font = option_font; layer = 1; flags = SHOW; }
PANEL* endurancebutton = { pos_x = 10; pos_y = 200; layer = 1; button(0, 0, "goclicked.bmp", "gonorm.bmp", "goover.bmp", quit_program, NULL, NULL); flags = OVERLAY | SHOW; }
PANEL* creditsbutton = { pos_x = 10; pos_y = 300; layer = 1; button(0, 0, "goclicked.bmp", "gonorm.bmp", "goover.bmp", quit_program, NULL, NULL); flags = OVERLAY | SHOW; } ////////////////////////////////////////////////////////////////////////////////////
function main() { mouse_map = mouse_bmp; mouse_mode = 4; }
function quit_program() { while (key_any) { wait (1); } sys_exit(NULL); }
Sorry, im new. I have a tendency to ask really simple questions, so please be patient.
|
|
|
Re: acknex.exe problem
[Re: gamingfan101]
#274205
06/26/09 02:13
06/26/09 02:13
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
It LOOKS ok, but try it with string (header_str); and string (maingame_str); instead of the "string =" format.
And maybe change your sys_exit to be sys_exit("");
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
Re: acknex.exe problem
[Re: EvilSOB]
#274206
06/26/09 02:26
06/26/09 02:26
|
Joined: Jun 2009
Posts: 148
gamingfan101
OP
Member
|
OP
Member
Joined: Jun 2009
Posts: 148
|
nope, still doesnt work. I thought maybe something wasnt installed correctly and so i reinstalled it, but that didnt work either. I've tried programming it a little differently, and that doesnt help, yet all my other programs work fine. So i dont know.
Sorry, im new. I have a tendency to ask really simple questions, so please be patient.
|
|
|
|