Java-Gaming.org    
Featured games (78)
games approved by the League of Dukes
Games in Showcase (428)
Games in Android Showcase (89)
games submitted by our members
Games in WIP (466)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  making button  (Read 671 times)
0 Members and 1 Guest are viewing this topic.
Offline Ayne

Senior Newbie





« Posted 2012-12-06 17:06:55 »

hi! i want to create a button in slick2d, how can i do this??
Offline Pickleninja

JGO Coder


Medals: 10
Projects: 1


I'm tired of working for someone else.


« Reply #1 - Posted 2012-12-06 17:09:54 »

hi! i want to create a button in slick2d, how can i do this??


Here ya go:

http://lmgtfy.com/?q=Creating+a+button+in+java+using+slick+2d#


ok, now I feel bad
This should tell you what you need to know: http://www.youtube.com/watch?v=lLYzToAaGQQ

-Pickle Smiley

Offline Ayne

Senior Newbie





« Reply #2 - Posted 2012-12-06 17:18:47 »


i didnt find anything on the google search but i will just watch that video ^^ thanks mate!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Pickleninja

JGO Coder


Medals: 10
Projects: 1


I'm tired of working for someone else.


« Reply #3 - Posted 2012-12-06 17:23:30 »

No problem,

Here's a link to the Button code that'll give you an idea of what methods can be used:

http://code.google.com/p/slick-sui/source/browse/trunk/sui/src/mdes/slick/sui/Button.java?r=85


My work blocks cokeAndCode (but not facebook... go figure), so I can't view those pages... but I would suggest looking there as well.

-Pickle Smiley

Offline Jimmt
« League of Dukes »

JGO Kernel


Medals: 121
Projects: 4
Exp: 3 years



« Reply #4 - Posted 2012-12-07 01:35:38 »

not to be all high and mighty but how is it that a google search didn't return anything?
Offline zngga
« Reply #5 - Posted 2012-12-08 03:53:24 »


I don't care about making a button, I just want to know how you made that automatic Google search link!!! That is killer!

Here is a tutorial on makeing those fancy links:  http://bit.ly/vXtvlP

My code never has bugs... it just develops unexpected features!
Offline HeroesGraveDev

JGO Kernel


Medals: 215
Projects: 11
Exp: 2 years


If it wasn't Awesome, it wasn't me.


« Reply #6 - Posted 2012-12-08 04:02:42 »

Even better

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (79 views)
2014-04-15 18:08:23

BurntPizza (71 views)
2014-04-15 03:46:01

UprightPath (82 views)
2014-04-14 17:39:50

UprightPath (66 views)
2014-04-14 17:35:47

Porlus (82 views)
2014-04-14 15:48:38

tom_mai78101 (106 views)
2014-04-10 04:04:31

BurntPizza (166 views)
2014-04-08 23:06:04

tom_mai78101 (262 views)
2014-04-05 13:34:39

trollwarrior1 (212 views)
2014-04-04 12:06:45

CJLetsGame (221 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!