Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Akow), 1,365 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to put my panel bitmaps in a separate directory #410405
11/02/12 16:07
11/02/12 16:07
Joined: Apr 2010
Posts: 56
Badrizmo Offline OP
Junior Member
Badrizmo  Offline OP
Junior Member

Joined: Apr 2010
Posts: 56
I'm facing a very simple problem, as when I move my bitmap files in a separate directory inside my project directory, it gives me a syntax error "Bitmap unknown images"

//the below code give a syntax error
PANEL* Background =
{
bmap = "images\bg.png";
}


When I move my bitmap files back to my original directory it works fine
PANEL* Background =
{
bmap = "bg.png";
}

Thanks in advance guys

Re: How to put my panel bitmaps in a separate directory [Re: Badrizmo] #410406
11/02/12 16:59
11/02/12 16:59
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
keep bmap = "bg.png"; and use #define PRAGMA_PATH "images" at the beginning of your code-file (where the #includes are located, too)


POTATO-MAN saves the day! - Random
Re: How to put my panel bitmaps in a separate directory [Re: Kartoffel] #410407
11/02/12 17:06
11/02/12 17:06
Joined: Apr 2010
Posts: 56
Badrizmo Offline OP
Junior Member
Badrizmo  Offline OP
Junior Member

Joined: Apr 2010
Posts: 56
Thanks a lot for your feedback, I will try that and I will let you know the result.


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