LWJGL
May 24, 2013, 16:20:15
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
LWJGL is now using GitHub
Home
Help
Search
Login
Register
LWJGL
>
Programming
>
Lightweight Java Library Game Development
>
Help the noob :) - Text and buttons
Pages: [
1
]
« previous
next »
Print
Author
Topic: Help the noob :) - Text and buttons (Read 1592 times)
Lolmewn
Newbie
Posts: 3
Help the noob :) - Text and buttons
«
on:
December 28, 2011, 12:39:42 »
Hi,
I just started developing with LWJGL, and it's going quite ok.
I was just wondering how I could add Text, since slick-util forgot to add the replacement for TrueTypeFont (UnicodeFont I thought).
And how to add buttons
Thanks!
Logged
Lolmewn
Newbie
Posts: 3
Re: Help the noob :) - Text and buttons
«
Reply #1 on:
January 01, 2012, 04:18:52 »
nvm. Using Slick + LWJGL now
Still don't know about the buttons though..
Logged
CodeBunny
Nerdus Imperius
Posts: 561
Re: Help the noob :) - Text and buttons
«
Reply #2 on:
January 01, 2012, 08:16:35 »
For buttons, you can either use an established LWJGL-GUI API (TWL, Nifty, etc), or you could program simple buttons yourself (detect if mouse is hovering over the button, detect mouse clicks, and change the state of the button accordingly).
Logged
Lolmewn
Newbie
Posts: 3
Re: Help the noob :) - Text and buttons
«
Reply #3 on:
January 01, 2012, 14:59:24 »
Quote from: CodeBunny on January 01, 2012, 08:16:35
For buttons, you can either use an established LWJGL-GUI API (TWL, Nifty, etc), or you could program simple buttons yourself (detect if mouse is hovering over the button, detect mouse clicks, and change the state of the button accordingly).
Do you know if Slick has buttons?
Logged
Evil-Devil
Prolific Timewaster
Posts: 298
Re: Help the noob :) - Text and buttons
«
Reply #4 on:
January 02, 2012, 09:56:12 »
Take a look at their GUI example. And if not just extend their gui elements
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Programming
-----------------------------
=> Lightweight Java Library Game Development
=> LWJGL Documentation
=> Bug Reports / RFE
=> OpenGL
=> OpenAL
=> General Java Game Development
-----------------------------
Archive
-----------------------------
=> Resolved Bugs/RFE
=> DirectX
=> DevIL
=> FMOD
Loading...