Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Where i can find the default text image?

Author
Message
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 30th Oct 2013 17:03
As the title say...
Where i can find the default text image?
I need the size of the image as i wanna do a text template to use in PSD.
After i will post it for the community.

Long life to Steve!
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 30th Oct 2013 17:23
I don't think you can get the actual file because it is automatically generated.

But, if you start an application from the AppGameKit IDE, you can find the file it generates in Documents/AGK/<appname>.

But it doesn't make much of a template. Basically, you create an image with your letters (in white) with no background. It should have 6 rows of 16 characters in this order (the first and last are spaces):
!"#$%&`()*+,-./
0123456789:;<=>?
@ABCDEFGHIJKLMNO
PQRSTUVWXYZ[\]^_
`abcdefghijklmno
pqrstuvwxyz{|}~

If you use a fixed size font, then you don't need to do anything else. If you use a non-fixed font, then you need to create the subimages file. And that can be a pain.

Attached is a fixed font one created with PSD.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master

Attachments

Login to view attachments
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 30th Oct 2013 17:30 Edited at: 30th Oct 2013 17:32
if you press play and the app is running you have png images
from player in user/documents/agk/projectname/
until you stop the exe.

Verzeichnis von C:\Users\rauch\Documents\AGK\Try

30.10.2013 17:29 <DIR> .
30.10.2013 17:29 <DIR> ..
30.10.2013 17:29 29.524 Arial.png
30.10.2013 17:29 12.232 Avenir.png
30.10.2013 17:29 1.492 Button.png
30.10.2013 17:29 1.496 ButtonDown.png
30.10.2013 17:29 237.700 interpreter-backdrop.png
30.10.2013 17:29 58.460 interpreter-logo.png
30.10.2013 17:29 2.092 interpreter-power.png
30.10.2013 17:29 17.828 interpreter-spinner.png
30.10.2013 17:29 5.240 JoystickInner.png
30.10.2013 17:29 8.184 JoystickOuter.png
24.07.2013 14:18 <DIR> media
30.10.2013 17:29 724 Missing.png
11 Datei(en), 374.972 Bytes
3 Verzeichnis(se), 23.803.674.624 Bytes frei

AGK 108 B19 : Windows 8 Pro 64 Bit : AMD Radeon HD 6670
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 30th Oct 2013 19:07 Edited at: 30th Oct 2013 19:07
Well i only use Mac so i will search in the run folder.
I already done a template in psd, but i want the default png to get the same size as the default font is very precise on low font size.

Can anyone of do it for me and upload it?

Long life to Steve!
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 30th Oct 2013 19:40
Creating your own is simple, especially if you want to use your own font.

The default Arial.png file is 512x512 and the Avenir.png file is 256x256 (I am not sure how that file is used in AGK).

My two files, one fixed and the other variable, are 480x264 and 1024x512 in size, respectively.

In my PSD files for them, the fixed font is using Courier New at 36pt and seems good. The variable one is using something else at 72pt. It has better detail I suppose.

The Arial.png file looks like it is about 58pt (and using the Arial font I suppose) based on comparing the character heights in that file to the ones in my two files.

So, use something like 60pt and make the canvas size big enough to hold the text as I posted it in my earlier response and that should be good.

If you use a fixed font, you need to make sure that the image width is divisible by 16 and the height by 6. That is for 16 characters across by 6 rows down.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
george++
AGK Tool Maker
17
Years of Service
User Offline
Joined: 13th May 2007
Location: Thessaloniki, Hellas
Posted: 30th Oct 2013 19:45
I remember the old good days of my Amstrad PC since 1990
I was able to read the video ram using the GW Basic "Peek" command and draw the characters in any way... Unfortunately I forgot the address. Sorry xGEKKOx I can't help
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 31st Oct 2013 01:33
Yes Lady, this is just how i do my fonts with AGK.
I have a PSD template, but i'm using 36px size on monospaced fonts.

But i want to give a look to the files that AppGameKit generate, can you please upload them?
Thx in advance.

Long life to Steve!
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 31st Oct 2013 03:11
If I remember in the morning. I will try to upload the Arial.png file.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 31st Oct 2013 03:22
Thx Lady!

Long life to Steve!
easter bunny
11
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 31st Oct 2013 03:40 Edited at: 31st Oct 2013 03:41
Here they are

Arial and Avenir


formerly MissJoJo - Audacia Games

Attachments

Login to view attachments
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 31st Oct 2013 05:06
Thx
I will post soon my new PSD

Long life to Steve!
Rknight
20
Years of Service
User Offline
Joined: 25th Sep 2003
Location: NJ
Posted: 19th Nov 2013 00:05
This was helpful!

But how about the extended text font?

I tried to access it the same way but it does not show up.
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 19th Nov 2013 04:50
I don't think that there is an extended text font default image. If you want to use the extended text, you need to create your own image file(s) for it.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master

Login to post a reply

Server time is: 2024-05-20 11:40:20
Your offset time is: 2024-05-20 11:40:20