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 / Font subimages problem

Author
Message
kamac
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location: Poland
Posted: 29th Feb 2012 16:37 Edited at: 29th Feb 2012 16:57
Hey.

I've set up a font (.png) and correct subimages to it. Eg:

arial.png

&

arial subimages.txt Right next to it.

Now, when I use the font with AppGameKit, I basically not get the correct characters' positions (though I've checked, and they're set up correctly). For instance, instead of ! I get some rectangle took from somewhere off the set. Other characters usually don't display at all.

My code's as usual for that:
(Converted to BASIC)


My image's dimensions are 512x512.


@EDIT

Nevermind. It was some weird problem, but I've had to re-arrange the image.

Login to post a reply

Server time is: 2024-11-23 04:59:20
Your offset time is: 2024-11-23 04:59:20