Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 14,141 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
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 Offline OP
Junior Member
Panda_Dude  Offline 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? confused

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
T
TrackingKeks Offline
Junior Member
TrackingKeks  Offline
Junior Member
T

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: TrackingKeks] #317014
03/28/10 16:33
03/28/10 16:33
Joined: Mar 2010
Posts: 56
Hertfordshire, England
Panda_Dude Offline OP
Junior Member
Panda_Dude  Offline OP
Junior Member

Joined: Mar 2010
Posts: 56
Hertfordshire, England
what about with my own pictures? Do they have to be in a folder with the script or what? It does this with all pictures

Re: New to GS. Already Having problems... [Re: Panda_Dude] #317015
03/28/10 16:36
03/28/10 16:36
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Yes, they have to be in a certain folder. With PRAGMA_PATH you can include folders, look for it in the manual.

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 Offline OP
Junior Member
Panda_Dude  Offline 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] #317026
03/28/10 17:38
03/28/10 17:38
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
*g*
which engine version do you use?
it is known that some versions don't support it wink

Re: New to GS. Already Having problems... [Re: Rei_Ayanami] #317037
03/28/10 18:32
03/28/10 18:32
Joined: Mar 2010
Posts: 56
Hertfordshire, England
Panda_Dude Offline OP
Junior Member
Panda_Dude  Offline OP
Junior Member

Joined: Mar 2010
Posts: 56
Hertfordshire, England
i use A7.
what is *g* ?

Re: New to GS. Already Having problems... [Re: Panda_Dude] #317039
03/28/10 18:36
03/28/10 18:36
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
nothing
which A7 Version, i mean?

please go to WED, Help -> About and tell us you version number wink

Re: New to GS. Already Having problems... [Re: Rei_Ayanami] #317042
03/28/10 18:45
03/28/10 18:45
Joined: Mar 2010
Posts: 56
Hertfordshire, England
Panda_Dude Offline OP
Junior Member
Panda_Dude  Offline OP
Junior Member

Joined: Mar 2010
Posts: 56
Hertfordshire, England
version 7.82

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 Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Originally Posted By: Panda_Dude
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
Page 1 of 2 1 2

Gamestudio download | 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