0 registered members (),
18,767
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
New to GS. Already Having problems...
#317010
03/28/10 16:19
03/28/10 16:19
|
Joined: Mar 2010
Posts: 56 Hertfordshire, England
Panda_Dude
OP
Junior Member
|
OP
Junior Member
Joined: Mar 2010
Posts: 56
Hertfordshire, England
|
I can't run a program if it has pictures in it. When I try to run it, it says that the picture can't be opened. This happens every time, even with the downloaded sample files (in tutorials). I am using 32-bit tga files. Anyone know what's wrong?
Last edited by Panda_Dude; 03/28/10 16:26.
|
|
|
Re: New to GS. Already Having problems...
[Re: Panda_Dude]
#317012
03/28/10 16:28
03/28/10 16:28
|
Joined: Nov 2009
Posts: 89 Germany, NRW
TrackingKeks
Junior Member
|
Junior Member
Joined: Nov 2009
Posts: 89
Germany, NRW
|
Perhaps you haven't unzipped the complete folder. Then gamestudio can't find the files.
Gamestudio: A7.82 Commercial/A8 Commercial System specs (Laptop): Windows 7 64bit DirectX v10.1 Intel Core i7-720QM CPU @ 1,60 GHz 4GB DDR2 Ram NVIDIA GeForce GT 230M (1024MB)
|
|
|
Re: New to GS. Already Having problems...
[Re: Pappenheimer]
#317016
03/28/10 16:38
03/28/10 16:38
|
Joined: Mar 2010
Posts: 56 Hertfordshire, England
Panda_Dude
OP
Junior Member
|
OP
Junior Member
Joined: Mar 2010
Posts: 56
Hertfordshire, England
|
Ok. I have sorted it out, kind of. The program starts but everything is upside down. What's going on there? Is there anything wrong with the script?
#include <acknex.h> #include <default.c>
PANEL* first_pan = { BMAP = "panel.tga"; pos_x = 200; pos_y = 250; button (100,100,"clicked.tga","normal.tga","over.tga",NULL,NULL,NULL); flags = OVERLAY | SHOW; } function main () { screen_size.x = 600; screen_size.y = 600; screen_color.green = 170; }
And also the button doesn't change when I click it or move the mouse over it.
|
|
|
Re: New to GS. Already Having problems...
[Re: Panda_Dude]
#317044
03/28/10 19:15
03/28/10 19:15
|
Joined: Oct 2007
Posts: 5,211 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
|
Ok. I have sorted it out, kind of. The program starts but everything is upside down. What's going on there? Is there anything wrong with the script?
#include <acknex.h> #include <default.c>
PANEL* first_pan = { BMAP = "panel.tga"; pos_x = 200; pos_y = 250; button (100,100,"clicked.tga","normal.tga","over.tga",NULL,NULL,NULL); flags = OVERLAY | SHOW; } function main () { screen_size.x = 600; screen_size.y = 600; screen_color.green = 170; }
And also the button doesn't change when I click it or move the mouse over it. for everything upside down problem: The tool you used to create TGA files may be doing that.(saving file upside down) for buttons doesnot change problem: set mouse_mode to 2 or 4 mouse_mode = 4;
3333333333
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|