OSDN Git Service

mikumikustudio/libgdx-mikumikustudio.git
11 years agoMerge pull request #25 from anserran/master
Mario Zechner [Fri, 7 Sep 2012 11:53:11 +0000 (04:53 -0700)]
Merge pull request #25 from anserran/master

Added configuration property to set assets output folder in gwt backend.

11 years agoMerge pull request #28 from ksclarke/master
Mario Zechner [Thu, 6 Sep 2012 13:09:57 +0000 (06:09 -0700)]
Merge pull request #28 from ksclarke/master

Added gitignore entry for libgdx-*.zip instead of just libgdx-nightlies.zip

11 years agoMinor changes.
NathanSweet [Thu, 6 Sep 2012 07:44:00 +0000 (00:44 -0700)]
Minor changes.

11 years agoLwjgl canvases, added start().
NathanSweet [Thu, 6 Sep 2012 07:43:47 +0000 (00:43 -0700)]
Lwjgl canvases, added start().

11 years agoInterpolation, clamp fade.
NathanSweet [Thu, 6 Sep 2012 07:43:02 +0000 (00:43 -0700)]
Interpolation, clamp fade.

11 years agoBitmapFontCache, added setColor for a range of characters.
NathanSweet [Thu, 6 Sep 2012 07:42:51 +0000 (00:42 -0700)]
BitmapFontCache, added setColor for a range of characters.

11 years agoMerge branch 'master' of https://github.com/libgdx/libgdx
Kevin S. Clarke [Thu, 6 Sep 2012 02:25:20 +0000 (22:25 -0400)]
Merge branch 'master' of https://github.com/libgdx/libgdx

11 years agoTree, fixed getNodeAt. Again.
NathanSweet [Thu, 6 Sep 2012 01:23:41 +0000 (18:23 -0700)]
Tree, fixed getNodeAt. Again.

11 years agoTree, getNodeAt was off slightly.
NathanSweet [Thu, 6 Sep 2012 01:09:29 +0000 (18:09 -0700)]
Tree, getNodeAt was off slightly.

11 years agoStage, addAction to match addActor.
NathanSweet [Thu, 6 Sep 2012 01:09:14 +0000 (18:09 -0700)]
Stage, addAction to match addActor.

11 years agoTree, selectable and multiselect settings.
NathanSweet [Wed, 5 Sep 2012 22:23:06 +0000 (15:23 -0700)]
Tree, selectable and multiselect settings.

11 years agoActor, isAscendant isDescendant methods renamed to be more clear. It was confusing...
NathanSweet [Wed, 5 Sep 2012 18:55:56 +0000 (11:55 -0700)]
Actor, isAscendant isDescendant methods renamed to be more clear. It was confusing, even the javadoc was wrong.

11 years agoadded ignore for versioned zip products in addition to existing nightly zip ignore
Kevin S. Clarke [Wed, 5 Sep 2012 03:56:03 +0000 (23:56 -0400)]
added ignore for versioned zip products in addition to existing nightly zip ignore

11 years agoClickListener, touch up doesn't mean the mouse is no longer over.
NathanSweet [Wed, 5 Sep 2012 02:46:34 +0000 (19:46 -0700)]
ClickListener, touch up doesn't mean the mouse is no longer over.

11 years agoTable, added getPadX/Y.
NathanSweet [Wed, 5 Sep 2012 02:46:03 +0000 (19:46 -0700)]
Table, added getPadX/Y.

11 years agoParticleEditor, changed back to spinners instead of sliders for now.
NathanSweet [Wed, 5 Sep 2012 01:13:19 +0000 (18:13 -0700)]
ParticleEditor, changed back to spinners instead of sliders for now.

11 years agoLabel, round text position to int. Seems to still be a fucking rounding problem somew...
NathanSweet [Tue, 4 Sep 2012 16:37:30 +0000 (09:37 -0700)]
Label, round text position to int. Seems to still be a fucking rounding problem somewhere in BitmapFont. :(

11 years agoWindow, respect touchable in hit().
NathanSweet [Tue, 4 Sep 2012 16:03:46 +0000 (09:03 -0700)]
Window, respect touchable in hit().

11 years agoSelectBox, respect bg padding, over and opened bgs, prefwidth equal to list width.
NathanSweet [Tue, 4 Sep 2012 16:03:29 +0000 (09:03 -0700)]
SelectBox, respect bg padding, over and opened bgs, prefwidth equal to list width.

11 years agoDialog, keep keyboard focus.
NathanSweet [Tue, 4 Sep 2012 16:02:26 +0000 (09:02 -0700)]
Dialog, keep keyboard focus.

11 years agoCheckBox, over image.
NathanSweet [Tue, 4 Sep 2012 16:02:11 +0000 (09:02 -0700)]
CheckBox, over image.

11 years agoLwjglAWTFrame runnable fix, Lwjgl*Frame crash on close fix, javadocs.
NathanSweet [Tue, 4 Sep 2012 13:31:54 +0000 (06:31 -0700)]
LwjglAWTFrame runnable fix, Lwjgl*Frame crash on close fix, javadocs.

11 years agoLwjglFrame, allow initialize() to set size and/or position.
NathanSweet [Tue, 4 Sep 2012 12:59:57 +0000 (05:59 -0700)]
LwjglFrame, allow initialize() to set size and/or position.

11 years agoTextField, fixed click to set cursor with right align.
NathanSweet [Tue, 4 Sep 2012 12:59:30 +0000 (05:59 -0700)]
TextField, fixed click to set cursor with right align.

11 years agoLwjglCanvas, fixed flickering cursor.
NathanSweet [Tue, 4 Sep 2012 12:22:52 +0000 (05:22 -0700)]
LwjglCanvas, fixed flickering cursor.

11 years agoLwjglCanvas, cursor support.
NathanSweet [Tue, 4 Sep 2012 12:09:03 +0000 (05:09 -0700)]
LwjglCanvas, cursor support.

11 years agoLwjglCanvas, fixed runnable/Timer crash, added initialize().
NathanSweet [Tue, 4 Sep 2012 08:37:15 +0000 (01:37 -0700)]
LwjglCanvas, fixed runnable/Timer crash, added initialize().

11 years agoTextField, background padding can now be used to position the text.
NathanSweet [Tue, 4 Sep 2012 08:36:42 +0000 (01:36 -0700)]
TextField, background padding can now be used to position the text.

11 years agoTextField, fixed cursor position.
NathanSweet [Tue, 4 Sep 2012 07:39:49 +0000 (00:39 -0700)]
TextField, fixed cursor position.

11 years agoTexrturePacker, better ninepatch pixel error messages.
NathanSweet [Tue, 4 Sep 2012 07:39:14 +0000 (00:39 -0700)]
TexrturePacker, better ninepatch pixel error messages.

11 years agoWindow, round title position differently so it doesn't jitter.
NathanSweet [Tue, 4 Sep 2012 04:42:53 +0000 (21:42 -0700)]
Window, round title position differently so it doesn't jitter.

11 years agoscene2d, avoid invalidating widgets in layout() that have not changed size.
NathanSweet [Tue, 4 Sep 2012 04:42:03 +0000 (21:42 -0700)]
scene2d, avoid invalidating widgets in layout() that have not changed size.

Previously layout() invalidated every child. invalidateHierarchy happens often and invalidates to the root, which means ALL tables are invalidated. This optimization prevents an enormous number of unnecessary invalidations. In a very complex app with 71 tables, resizing the window triggers only 5 layouts.

11 years agoLabel, added setFontScale and test.
NathanSweet [Tue, 4 Sep 2012 04:08:41 +0000 (21:08 -0700)]
Label, added setFontScale and test.

11 years agoLabel, removed scale/rotate junk. Use wrapper table (see scene2d.ui wiki).
NathanSweet [Tue, 4 Sep 2012 03:43:23 +0000 (20:43 -0700)]
Label, removed scale/rotate junk. Use wrapper table (see scene2d.ui wiki).

11 years agoGroup, a little more efficiency in drawChildren.
NathanSweet [Tue, 4 Sep 2012 03:22:43 +0000 (20:22 -0700)]
Group, a little more efficiency in drawChildren.

11 years agoMerge remote-tracking branch 'origin/master'
NathanSweet [Tue, 4 Sep 2012 03:21:48 +0000 (20:21 -0700)]
Merge remote-tracking branch 'origin/master'

11 years agoBitmapFont, fixed integer positions rounding negative numbers incorrectly, which...
NathanSweet [Tue, 4 Sep 2012 03:21:35 +0000 (20:21 -0700)]
BitmapFont, fixed integer positions rounding negative numbers incorrectly, which lead to losing a pixel of height in some cases, which lead to many hours of debugging and schizophrenia. Thanks Mario!

11 years agoWhy oh why, did these not get included in my other commit. Silly git...
Justin Shapcott [Mon, 3 Sep 2012 20:02:42 +0000 (13:02 -0700)]
Why oh why, did these not get included in my other commit. Silly git...

11 years agoTextureAtlas, ints didn't fix rounding problem after all. Mind = lost.
NathanSweet [Mon, 3 Sep 2012 14:05:28 +0000 (07:05 -0700)]
TextureAtlas, ints didn't fix rounding problem after all. Mind = lost.

11 years agoTextureAtlas, whitespace stripped region offsets must be ints.
NathanSweet [Mon, 3 Sep 2012 11:50:37 +0000 (04:50 -0700)]
TextureAtlas, whitespace stripped region offsets must be ints.

11 years agoDidn't mean to change WidgetGroup. I suck.
NathanSweet [Mon, 3 Sep 2012 10:30:48 +0000 (03:30 -0700)]
Didn't mean to change WidgetGroup. I suck.

11 years agoscene2d, minor updates. TableTest shows rotated and scaled scene2d.ui widgets.
NathanSweet [Mon, 3 Sep 2012 10:28:05 +0000 (03:28 -0700)]
scene2d, minor updates. TableTest shows rotated and scaled scene2d.ui widgets.

11 years agoAdded BitmapFontMetricsTest.
NathanSweet [Mon, 3 Sep 2012 04:59:35 +0000 (21:59 -0700)]
Added BitmapFontMetricsTest.

11 years agoTree, spacing before the first node.
NathanSweet [Mon, 3 Sep 2012 04:59:21 +0000 (21:59 -0700)]
Tree, spacing before the first node.

11 years agoBitmapFont, fixed glyphs using pixels outside the whitespace stripped region.
NathanSweet [Mon, 3 Sep 2012 02:55:34 +0000 (19:55 -0700)]
BitmapFont, fixed glyphs using pixels outside the whitespace stripped region.

11 years agoMerge remote-tracking branch 'origin/master'
NathanSweet [Mon, 3 Sep 2012 01:36:46 +0000 (18:36 -0700)]
Merge remote-tracking branch 'origin/master'

11 years agoscene2d.ui, support for a whitespace stripped atlas.
NathanSweet [Mon, 3 Sep 2012 01:35:03 +0000 (18:35 -0700)]
scene2d.ui, support for a whitespace stripped atlas.
Skin had a few place it wasn't using AtlasRegion.
BitmapFont needed to shift glyph positions for amount of whitespace stripped from top and left edges.

11 years agoscene2d.ui, support for a whitespace stripped atlas.
NathanSweet [Mon, 3 Sep 2012 01:35:03 +0000 (18:35 -0700)]
scene2d.ui, support for a whitespace stripped atlas.
Skin had a few place it wasn't using AtlasRegion.
BitmapFont needed to shift glyph positions for amount of whitespace stripped from top and left edges.

11 years agoDragAndDrop, prefer touchable targets, but still check non-touchable.
NathanSweet [Mon, 3 Sep 2012 00:53:28 +0000 (17:53 -0700)]
DragAndDrop, prefer touchable targets, but still check non-touchable.

11 years agoStage, enter/exit were ignoring touchability.
NathanSweet [Mon, 3 Sep 2012 00:17:16 +0000 (17:17 -0700)]
Stage, enter/exit were ignoring touchability.

11 years agoDragAndDrop, proper target hit detection.
NathanSweet [Sun, 2 Sep 2012 13:11:06 +0000 (06:11 -0700)]
DragAndDrop, proper target hit detection.

11 years agoScrollPane, couple bugs and a println.
NathanSweet [Sun, 2 Sep 2012 12:57:32 +0000 (05:57 -0700)]
ScrollPane, couple bugs and a println.

11 years agoScrollPane, oops commented wrong line.
NathanSweet [Sun, 2 Sep 2012 12:50:50 +0000 (05:50 -0700)]
ScrollPane, oops commented wrong line.

11 years agoScrollPane, support for fading scrollbars when not using flick scroll.
NathanSweet [Sun, 2 Sep 2012 12:49:39 +0000 (05:49 -0700)]
ScrollPane, support for fading scrollbars when not using flick scroll.

11 years agoDragAndDrop, better reset.
NathanSweet [Sun, 2 Sep 2012 12:20:51 +0000 (05:20 -0700)]
DragAndDrop, better reset.

11 years agoTimSort, avoid getfield opcode.
NathanSweet [Sun, 2 Sep 2012 11:44:50 +0000 (04:44 -0700)]
TimSort, avoid getfield opcode.

11 years agoFixed 1041, TimSort preventing GC.
NathanSweet [Sun, 2 Sep 2012 11:36:46 +0000 (04:36 -0700)]
Fixed 1041, TimSort preventing GC.

11 years agoscene2d, refactoring Actor#hit to have an additional param. This allows hit detection...
NathanSweet [Sun, 2 Sep 2012 09:35:30 +0000 (02:35 -0700)]
scene2d, refactoring Actor#hit to have an additional param. This allows hit detection with or without respecting the actor's touchability. Sorry for the breakage!

11 years agoMerge pull request #27 from Semtiko/patch-1
Nathan Sweet [Sun, 2 Sep 2012 05:52:06 +0000 (22:52 -0700)]
Merge pull request #27 from Semtiko/patch-1

ScrollPane, fixed fling scroll

11 years agoScrollPane, fixed fling scroll
Alex Vega [Sun, 2 Sep 2012 05:26:20 +0000 (09:26 +0400)]
ScrollPane, fixed fling scroll

11 years agoClickListener, fixed over state on touch up.
NathanSweet [Sun, 2 Sep 2012 03:58:29 +0000 (20:58 -0700)]
ClickListener, fixed over state on touch up.

11 years agoStage, changed enter/exit to use last touch/mouse position reported to the stage...
NathanSweet [Sun, 2 Sep 2012 03:54:40 +0000 (20:54 -0700)]
Stage, changed enter/exit to use last touch/mouse position reported to the stage rather than using Gdx.input.getX/Y.

11 years agoWidgetGroup, added pref size methods to match Widget. Both are no longer abstract...
NathanSweet [Sat, 1 Sep 2012 08:59:32 +0000 (01:59 -0700)]
WidgetGroup, added pref size methods to match Widget. Both are no longer abstract, as they have a use without subclassing.

11 years agoAdded getting duration of sound (desktop only).
NathanSweet [Sat, 1 Sep 2012 08:58:43 +0000 (01:58 -0700)]
Added getting duration of sound (desktop only).

11 years agoActions, javadocs to reduce confusion.
NathanSweet [Sat, 1 Sep 2012 08:58:06 +0000 (01:58 -0700)]
Actions, javadocs to reduce confusion.

11 years agoScrollPane, separate scrollTo and scrollToCenter. Fixed scrollTo x.
NathanSweet [Sat, 1 Sep 2012 02:53:32 +0000 (19:53 -0700)]
ScrollPane, separate scrollTo and scrollToCenter. Fixed scrollTo x.

11 years agoAssetManager, update method that updates continuously for X millis.
NathanSweet [Sat, 1 Sep 2012 02:53:02 +0000 (19:53 -0700)]
AssetManager, update method that updates continuously for X millis.

11 years agoTextField, ctrl+arrow jump by word.
NathanSweet [Sat, 1 Sep 2012 02:52:38 +0000 (19:52 -0700)]
TextField, ctrl+arrow jump by word.

11 years agoLabel, added rotation support and javadocs. It already had scale. Beware this flushes...
NathanSweet [Fri, 31 Aug 2012 22:55:06 +0000 (15:55 -0700)]
Label, added rotation support and javadocs. It already had scale. Beware this flushes the cache.

11 years agoFixed issue 1037, removing drag actor.
NathanSweet [Fri, 31 Aug 2012 01:21:20 +0000 (18:21 -0700)]
Fixed issue 1037, removing drag actor.

11 years agoTree, enable overriding expandAll.
NathanSweet [Thu, 30 Aug 2012 12:53:36 +0000 (05:53 -0700)]
Tree, enable overriding expandAll.

11 years agoFileProcessor, better support for "" output root.
NathanSweet [Thu, 30 Aug 2012 12:53:17 +0000 (05:53 -0700)]
FileProcessor, better support for "" output root.

11 years agoMerge remote-tracking branch 'origin/master'
NathanSweet [Thu, 30 Aug 2012 10:09:00 +0000 (03:09 -0700)]
Merge remote-tracking branch 'origin/master'

11 years agoTable, set the cell widget size even when there is no widget.
NathanSweet [Thu, 30 Aug 2012 10:08:53 +0000 (03:08 -0700)]
Table, set the cell widget size even when there is no widget.

11 years agoTableLayout, made some common Value methods into fields to avoid unnecessary object...
NathanSweet [Thu, 30 Aug 2012 10:08:16 +0000 (03:08 -0700)]
TableLayout, made some common Value methods into fields to avoid unnecessary object creation.

11 years agoMerge branch 'master' of github.com:libgdx/libgdx
badlogic [Wed, 29 Aug 2012 12:56:06 +0000 (14:56 +0200)]
Merge branch 'master' of github.com:libgdx/libgdx

11 years agofixed gwt reflection class Method, GwtTestWrapper works again...
badlogic [Wed, 29 Aug 2012 12:55:37 +0000 (14:55 +0200)]
fixed gwt reflection class Method, GwtTestWrapper works again...

11 years agoAdded "assetoutputpath" configuration property to gwt backend to control the folder...
anserran [Wed, 29 Aug 2012 11:52:19 +0000 (13:52 +0200)]
Added "assetoutputpath" configuration property to gwt backend to control the folder where resources are copied. To use it <set-configuration-property name="gdx.assetoutputpath"
value="whatever/relative/path/" /> must be added in the main GWT module of the game.
If the property is not set, it uses "war/" folder by default to output the assets.

11 years agoJavadoc'ed FileProcessor. Refactored a little too.
NathanSweet [Wed, 29 Aug 2012 11:46:28 +0000 (04:46 -0700)]
Javadoc'ed FileProcessor. Refactored a little too.

11 years agoJavadoc.
NathanSweet [Wed, 29 Aug 2012 11:46:12 +0000 (04:46 -0700)]
Javadoc.

11 years agoNow I'm just changing things so I can change them back.
NathanSweet [Wed, 29 Aug 2012 11:46:02 +0000 (04:46 -0700)]
Now I'm just changing things so I can change them back.

11 years agofixed GWT Array to use ReflectionCache on resize
badlogic [Wed, 29 Aug 2012 11:39:04 +0000 (13:39 +0200)]
fixed GWT Array to use ReflectionCache on resize

11 years agoStage, act() with no params limited to 30fps.
NathanSweet [Wed, 29 Aug 2012 06:44:31 +0000 (23:44 -0700)]
Stage, act() with no params limited to 30fps.

11 years agoTree, no default padding.
NathanSweet [Wed, 29 Aug 2012 05:45:41 +0000 (22:45 -0700)]
Tree, no default padding.

11 years agoSlider, offset knob area by background drawable padding.
NathanSweet [Wed, 29 Aug 2012 05:45:32 +0000 (22:45 -0700)]
Slider, offset knob area by background drawable padding.

11 years agoMerge remote-tracking branch 'origin/master'
NathanSweet [Wed, 29 Aug 2012 04:28:32 +0000 (21:28 -0700)]
Merge remote-tracking branch 'origin/master'

11 years agoScrollPane, added scrollbars on top feature, support for scrollbar track being wider...
NathanSweet [Wed, 29 Aug 2012 04:28:14 +0000 (21:28 -0700)]
ScrollPane, added scrollbars on top feature, support for scrollbar track being wider/taller than scrollbar knob, fixed problem where areaHeight was being reduced in size for the horiz scrollbar twice, added corner drawable.

11 years agoTree, fixed shift + click crash.
NathanSweet [Wed, 29 Aug 2012 04:25:21 +0000 (21:25 -0700)]
Tree, fixed shift + click crash.

11 years agoStack, fixed max size, call compute size during layout.
NathanSweet [Wed, 29 Aug 2012 04:25:08 +0000 (21:25 -0700)]
Stack, fixed max size, call compute size during layout.

11 years agoBloody scissors are 1px too large. This may be wrong.
NathanSweet [Wed, 29 Aug 2012 04:24:43 +0000 (21:24 -0700)]
Bloody scissors are 1px too large. This may be wrong.

11 years agoMerge pull request #24 from aspic/upstream
Nathan Sweet [Wed, 29 Aug 2012 01:44:32 +0000 (18:44 -0700)]
Merge pull request #24 from aspic/upstream

Added a null check for the stage of the scrollpane, in case that stage has been removed

11 years agoAdded a null check for the stage of the scrollpane, in case that stage
aspic [Tue, 28 Aug 2012 22:13:46 +0000 (00:13 +0200)]
Added a null check for the stage of the scrollpane, in case that stage
has been removed.

11 years agoMerge pull request #23 from manuelbua/tilesetlayout-fix
MobiDevelop [Tue, 28 Aug 2012 22:15:09 +0000 (15:15 -0700)]
Merge pull request #23 from manuelbua/tilesetlayout-fix

The comparison should include the extreme limits rather than exclude them

11 years agoadded reference to the Box2d entry explaining a bit why the body.setTransform(.....
Ariel Coppes [Tue, 28 Aug 2012 22:05:07 +0000 (19:05 -0300)]
added reference to the Box2d entry explaining a bit why the body.setTransform(.., boolean) was added

11 years agoThe comparison should include the extreme limits rather than exclude them
Manuel Bua [Tue, 28 Aug 2012 21:17:40 +0000 (23:17 +0200)]
The comparison should include the extreme limits rather than exclude them

11 years agoScrollPane, isScrollX/Y.
NathanSweet [Tue, 28 Aug 2012 11:17:33 +0000 (04:17 -0700)]
ScrollPane, isScrollX/Y.

11 years agoMerge remote-tracking branch 'origin/master'
NathanSweet [Tue, 28 Aug 2012 11:01:40 +0000 (04:01 -0700)]
Merge remote-tracking branch 'origin/master'

11 years agoFixed getScrollBarWidth.
NathanSweet [Tue, 28 Aug 2012 11:01:27 +0000 (04:01 -0700)]
Fixed getScrollBarWidth.

11 years agofixed issue 1032, gwt backend shared ShaderProgram with core
badlogic [Tue, 28 Aug 2012 09:50:20 +0000 (11:50 +0200)]
fixed issue 1032, gwt backend shared ShaderProgram with core

11 years agoMerge branch 'master' of github.com:libgdx/libgdx
badlogic [Tue, 28 Aug 2012 09:41:51 +0000 (11:41 +0200)]
Merge branch 'master' of github.com:libgdx/libgdx