Show:

What's happening?

  • NiftyGUI - Slick2D Integration

    Hi all, i've integrated nifty with slick2d correctly but i want to add a zoom functionality on the map. I tried to use g.scale(int x, int y) method but it scales the nifty gui too. I would like to scale the tiled map only. How can I do that? I can't figure it out... Here is my code.... GameState class: [code]package nifty.test; import org.newdawn.slick.Animation; import...

    2012-05-26 04:38:27 PDT by michele1987

  • Comment: Add new ImageMode to render like subImage without scaling

    Fixed for 1.3.2 see: https://github.com/void256/nifty-gui/commit/8d5a97cb407d8d45bbfdcba7b639cb3724fd36b0 https://github.com/void256/nifty-gui/commit/8799b47fc62662156d7c400346ca4ddb0591abe9.

    2012-05-26 02:25:10 PDT by void256

  • nifty-gui

    void256 pushed 2 commit(s) to refs/heads/1.3 in the nifty Git repository of the nifty-gui project.

    2012-05-26 02:22:13 PDT by void256

  • Add new ImageMode to render like subImage without scaling

    When using imageMode="subImage:0,50,120,70" the subimage specified will be rendered to the size of the original image. This is ok in some cases but in others we'd like to render only the smaller subimage in it's original size without scaling it to the original image size. The jMoneyEngine3 GUI Forum has an excellent example where this new imageMode might be helpful...

    2012-05-26 01:29:50 PDT by void256

  • Followup: RE: ListBox: highlight selection with custom entr

    Yes, there is an easy way to do it. It's a bit hidden, unfortunately :) When the selection of the listbox changes the ListBoxControl will start a custom effect on the selected item. Actually there are two custom effects used, one is named "focus" which will be activated when the item gets the keyboard focus and the other is called "select" which gets activated when an item...

    2012-05-25 05:15:15 PDT by void256

  • ListBox: highlight selection with custom entr

    I've implemented a listbox to display high scores (i.e. leaderboard) for a JME game. I followed the example from http://sourceforge.net/apps/mediawiki/nifty-gui/index.php?title=Standard_Controls_ListBox#How_to_use_the_ListBox:_Custom_display_of_ListItems. My list line definitions are very simple, containing only two or three labels: user name, date, score (the user's own high score list...

    2012-05-24 10:12:23 PDT by cheshirekow

  • Followup: RE: Custom button controller

    Thanks, it did what i want, but if nifty do need to instanciate the controller itself i don't understand how usefull could be the [code]controller(ctrl);[/code] inside the builder...i was thinking this line of code was for setting the controller... Anyway it works, i'll continue to complete my understanding of nifty-gui later. Regards.

    2012-05-18 04:30:11 PDT by epsilon777

  • nifty-gui

    void256 pushed 1 commit(s) to refs/heads/1.3 in the nifty Git repository of the nifty-gui project.

    2012-05-17 06:01:50 PDT by void256

  • nifty-gui

    void256 pushed 46 commit(s) to refs/heads/master in the nifty Git repository of the nifty-gui project.

    2012-05-17 06:00:21 PDT by void256

  • nifty-gui

    void256 pushed 6 commit(s) to refs/heads/master in the nifty Git repository of the nifty-gui project.

    2012-05-17 05:31:39 PDT by void256

Our Numbers