Java-Gaming.org
Java4K winners:
[
by our judges
|
by the community
]
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members
News
: Read the
Java Gaming Resources
, or peek at
the official Java tutorials
Home
Help
Search
Login
Register
Java-Gaming.org
>
Game Development
>
Newbie & Debugging Questions
>
Slick Strings..
Pages: [
1
]
Print
Slick Strings..
(Read 418 times)
0 Members and 1 Guest are viewing this topic.
SkyAphid
Full Member
Posts: 156
Medals: 1
Slick Strings..
«
on:
2012-01-06 08:10:34
»
So, I've been messing around with slick, and I'm getting the gist of it all. However, the string drawing seems to be a bit of a problem for me.
I tried using graphics.drawString, and it works fine, but there doesn't seem to be a way to edit the fonts. I tried graphics.setFont, but it told me fonts are inapplicable for it. So, then I looked up trueTypeFont, and it was deprecated. I went on to AngelCodeFont, and you have to import images containing fonts, but to do this you have to do a number of other things, which is a bit of overkill seeing as I simply want to use Arial.
Is there really no other simple way to change fonts in Slick?
"God grant me the serenity, to accept the things I cannot change; courage to change the things I can; and wisdom to know the difference."
kevglass
« League of Dukes »
JGO Kernel
Posts: 5214
Medals: 49
Mentally unstable, best avoided.
Re: Slick Strings..
«
Reply #1 on:
2012-01-06 08:15:35
»
Use TrueTypeFont (deprecated doesn't matter too much in this case) or use UnicodeFont
Cheers,
Kev
Current
|
Home
|
Twitter
|
Slick
|
Phys2D
|
Tutorials
SkyAphid
Full Member
Posts: 156
Medals: 1
Re: Slick Strings..
«
Reply #2 on:
2012-01-06 08:17:42
»
Quote from: kevglass on
2012-01-06 08:15:35
Use TrueTypeFont (deprecated doesn't matter too much in this case) or use UnicodeFont
Cheers,
Kev
Thanks Kevin.
"God grant me the serenity, to accept the things I cannot change; courage to change the things I can; and wisdom to know the difference."
Pages: [
1
]
Print
Jump to:
Please select a destination:
-----------------------------
Games Center
-----------------------------
=> Featured Games
=> Showcase
=> Contests
===> LWJGL16k - 2011
===> 4K Game Competition - 2012
===> JGO Comp Petite
===> Finished Contests
=====> 4K Game Competition - 2011
=====> 4K Game Competition - 2010
=====> 4K Game Competition - 2009
=====> 4K Game Competition - 2008
=====> 4K Game Competition - 2007
=====> 4K Game Competition - 2006
=====> 4K Game Competition - 2005
=====> Tiny Game 2010
=====> JGO Comp 2009
=====> 16K LWJGL Competition - 2005
=====> Java Technology Game Development Contest - 2004
-----------------------------
Discussions
-----------------------------
=> General Discussions
===> Suggestions
=> Business and Project Discussions
===> Jobs and Resumes
===> Community & Volunteer Projects
=> Miscellaneous Topics
-----------------------------
Game Development
-----------------------------
=> Newbie & Debugging Questions
=> Articles & tutorials
=> Game Play & Game Design
=> Game Mechanics
===> Artificial Intelligence
=> Networking & Multiplayer
=> Performance Tuning
=> Shared Code
-----------------------------
Java Game APIs & Engines
-----------------------------
=> Engines, Libraries and Tools
===> Java 3D
===> JInput
===> jMonkeyEngine
===> Xith3D Forums
===> Tools Discussion
=> Java 2D
===> JavaFX
=> OpenGL Development
===> JOGL Development
===> LWJGL Development
=> Java Sound & OpenAL
===> JOAL Development
=> Java on Mobile Devices
===> Android
===> J2ME
Loading...