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 (Ayumi, NewbieZorro, TipmyPip), 13,887 guests, and 6 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
Font Error #151419
08/31/07 23:17
08/31/07 23:17
Joined: Jun 2006
Posts: 19
H
Hogona Offline OP
Newbie
Hogona  Offline OP
Newbie
H

Joined: Jun 2006
Posts: 19
Hi Everyone.
I am having trouble getting Fonts to work.

Code :

FONT* My_Font = "numbers.tga";

When I try to compile, I get the Error Keyword Unknown FONT*

This is how the manual tells me to do it.

Could someone please tell me what I am doing wrong ????

I am using A7 Commercial.

Re: Font Error [Re: Hogona] #151420
09/01/07 04:42
09/01/07 04:42
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline
User
Shadow969  Offline
User
S

Joined: Oct 2006
Posts: 873
have you included acknex header in your main file?

Re: Font Error [Re: Shadow969] #151421
09/01/07 11:13
09/01/07 11:13
Joined: Jun 2007
Posts: 236
acknex.exe
ACKNEX007 Offline
Member
ACKNEX007  Offline
Member

Joined: Jun 2007
Posts: 236
acknex.exe
try to include the headers like as this..
#include <acknex.h>
#include <default.c>

and don't forget to save the source file was .c , not .WDL !

thanks.

Re: Font Error [Re: ACKNEX007] #151422
09/02/07 07:04
09/02/07 07:04
Joined: Jun 2006
Posts: 19
H
Hogona Offline OP
Newbie
Hogona  Offline OP
Newbie
H

Joined: Jun 2006
Posts: 19
Thank you Shadow969 and Acknex007, but I saved my file as a .c file and I included the files, but I still get the error.

Last edited by Hogona; 09/02/07 07:05.
Re: Font Error [Re: Hogona] #151423
09/02/07 09:47
09/02/07 09:47
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline
User
Shadow969  Offline
User
S

Joined: Oct 2006
Posts: 873
looks strange. maybe you should post your full code here, it may help

Re: Font Error [Re: Shadow969] #151424
09/04/07 23:09
09/04/07 23:09
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline
User
Ottawa  Offline
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
HI!

Question :

How does the compiler look at a font file?
Must it be bmp or pcx?

Ottawa

Re: Font Error [Re: Ottawa] #151425
09/05/07 03:53
09/05/07 03:53
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline
User
Shadow969  Offline
User
S

Joined: Oct 2006
Posts: 873
It can be both bmp and pcx
The bitmap size must exactly be either 11 times, 128 times, or 256 times the given character size

Re: Font Error [Re: Shadow969] #151426
09/06/07 22:55
09/06/07 22:55
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline
User
Ottawa  Offline
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Thanks for the info Shadow969


Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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