LWJGL
May 24, 2013, 16:20:15 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL is now using GitHub
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Help the noob :) - Text and buttons  (Read 1592 times)
Lolmewn
Newbie
*
Posts: 3


« 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 Smiley

Thanks!
Logged
Lolmewn
Newbie
*
Posts: 3


« Reply #1 on: January 01, 2012, 04:18:52 »

nvm. Using Slick + LWJGL now Smiley
Still don't know about the buttons though..
Logged
CodeBunny
Nerdus Imperius
*****
Posts: 561



WWW
« 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


« Reply #3 on: January 01, 2012, 14:59:24 »

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



WWW
« Reply #4 on: January 02, 2012, 09:56:12 »

Take a look at their GUI example. And if not just extend their gui elements Wink
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!