OSDN Git Service

mikumikustudio/libgdx-mikumikustudio.git
12 years agoMerged scene2d-new branch back into trunk.
nathan.sweet [Mon, 2 Jul 2012 13:56:58 +0000 (13:56 +0000)]
Merged scene2d-new branch back into trunk.

12 years agoJavadocs, fixed texture packer padding.
nathan.sweet [Mon, 2 Jul 2012 13:52:11 +0000 (13:52 +0000)]
Javadocs, fixed texture packer padding.

12 years agoUpdated cosntructors to keep things sane.
nathan.sweet [Mon, 2 Jul 2012 12:21:20 +0000 (12:21 +0000)]
Updated cosntructors to keep things sane.

12 years ago[changed] version at 0.9.6 now :D
badlogicgames [Mon, 2 Jul 2012 11:12:08 +0000 (11:12 +0000)]
[changed] version at 0.9.6 now :D

12 years agoFixed texture packer coords.
nathan.sweet [Mon, 2 Jul 2012 08:35:26 +0000 (08:35 +0000)]
Fixed texture packer coords.
Refactored skin!

12 years agoTexturePacker update.
nathan.sweet [Sun, 1 Jul 2012 14:58:23 +0000 (14:58 +0000)]
TexturePacker update.

12 years agoFixed issue 909, added isDragging to Window.
nathan.sweet [Sun, 1 Jul 2012 10:29:45 +0000 (10:29 +0000)]
Fixed issue 909, added isDragging to Window.

12 years agoFixed issue 910, scrollpane fade alpha.
nathan.sweet [Sun, 1 Jul 2012 10:28:06 +0000 (10:28 +0000)]
Fixed issue 910, scrollpane fade alpha.

12 years agoFixed paths to packed images (no longer flattened).
nathan.sweet [Sun, 1 Jul 2012 10:24:07 +0000 (10:24 +0000)]
Fixed paths to packed images (no longer flattened).

12 years agoFixed textureatlas split support. Durr
nathan.sweet [Sun, 1 Jul 2012 09:50:15 +0000 (09:50 +0000)]
Fixed textureatlas split support. Durr
Fixed AtlasSprite rotate90. Again/more. Hate it!

12 years agoTextureAtlas support for splits.
nathan.sweet [Sun, 1 Jul 2012 09:37:12 +0000 (09:37 +0000)]
TextureAtlas support for splits.

12 years agoNew texture packer! Replaces the old piece of junk.
nathan.sweet [Sun, 1 Jul 2012 08:45:06 +0000 (08:45 +0000)]
New texture packer! Replaces the old piece of junk.

12 years agoFixed build.
nathan.sweet [Sat, 30 Jun 2012 03:22:31 +0000 (03:22 +0000)]
Fixed build.
Fixed GWT, nasty stuff.

12 years agoFixed issue 904, scrollpane.
nathan.sweet [Fri, 29 Jun 2012 23:50:17 +0000 (23:50 +0000)]
Fixed issue 904, scrollpane.

12 years ago[added] PlaceholderTextBox and TextInputDialogBox to better support getTextInput...
email.nex.software@gmail.com [Fri, 29 Jun 2012 16:01:15 +0000 (16:01 +0000)]
[added] PlaceholderTextBox and TextInputDialogBox to better support getTextInput and getPlaceholderTextInput in GWT backend.
[changed] GwtInput to use new TextInputDialogBox
[changed] GWT backend module definition to inherit a theme for a little bit of default styling in the text input dialogs.

12 years agoMinor updates.
nathan.sweet [Fri, 29 Jun 2012 09:38:33 +0000 (09:38 +0000)]
Minor updates.

12 years agoFixed issue 899.
nathan.sweet [Fri, 29 Jun 2012 05:12:47 +0000 (05:12 +0000)]
Fixed issue 899.

12 years agoAlign constants lowercase. Cause it is better!
nathan.sweet [Thu, 28 Jun 2012 17:51:40 +0000 (17:51 +0000)]
Align constants lowercase. Cause it is better!

12 years agoRan header fixer.
nathan.sweet [Thu, 28 Jun 2012 12:26:01 +0000 (12:26 +0000)]
Ran header fixer.

12 years agoSpecific revision for tablelayout until scene2d-new branch is merged.
nathan.sweet [Thu, 28 Jun 2012 12:03:34 +0000 (12:03 +0000)]
Specific revision for tablelayout until scene2d-new branch is merged.

12 years agoEvent current target -> listener actor.
nathan.sweet [Thu, 28 Jun 2012 11:23:43 +0000 (11:23 +0000)]
Event current target -> listener actor.

12 years agoFixed touchUp target.
nathan.sweet [Thu, 28 Jun 2012 10:47:53 +0000 (10:47 +0000)]
Fixed touchUp target.

12 years agoTable moved into scene2d.ui.
nathan.sweet [Thu, 28 Jun 2012 10:19:42 +0000 (10:19 +0000)]
Table moved into scene2d.ui.

12 years agoFixed a couple tests.
nathan.sweet [Thu, 28 Jun 2012 09:22:44 +0000 (09:22 +0000)]
Fixed a couple tests.
Fixed scrollpane scrollbar click to jump.

12 years agoUpdated TableLayout to the latest. The DSL is gone. The support functions for it...
nathan.sweet [Thu, 28 Jun 2012 09:18:15 +0000 (09:18 +0000)]
Updated TableLayout to the latest. The DSL is gone. The support functions for it added a lot of bloat to the library. It was intended for complex layouts, but in practice complex layouts need the power of the Java API anyway.

12 years agoFixed longPress if mouse isn't moved. Uhg!
nathan.sweet [Thu, 28 Jun 2012 08:54:25 +0000 (08:54 +0000)]
Fixed longPress if mouse isn't moved. Uhg!

12 years agoAdded Actor#setZIndex.
nathan.sweet [Thu, 28 Jun 2012 08:52:23 +0000 (08:52 +0000)]
Added Actor#setZIndex.

12 years agoAdded Actor#toFront.
nathan.sweet [Thu, 28 Jun 2012 08:16:37 +0000 (08:16 +0000)]
Added Actor#toFront.
Made ActorGestureListener use local coords for pinch.

12 years agoFixed ActorGestureListener, needed to use stage coords.
nathan.sweet [Thu, 28 Jun 2012 08:05:12 +0000 (08:05 +0000)]
Fixed ActorGestureListener, needed to use stage coords.

12 years agoOops, forgot getTargetActor -> getTarget
nathan.sweet [Thu, 28 Jun 2012 07:54:36 +0000 (07:54 +0000)]
Oops, forgot getTargetActor -> getTarget

12 years agoSet target for touch focus events.
nathan.sweet [Thu, 28 Jun 2012 07:41:30 +0000 (07:41 +0000)]
Set target for touch focus events.
setTargetActor -> setTarget

12 years agoMinor updates.
nathan.sweet [Wed, 27 Jun 2012 14:58:15 +0000 (14:58 +0000)]
Minor updates.
Javadocs.

12 years agoUpdated eclipse formatter.
nathan.sweet [Wed, 27 Jun 2012 13:30:18 +0000 (13:30 +0000)]
Updated eclipse formatter.

12 years agoWIP: PolygonSpriteBatch initial commit. Some loose ends, use with care.
st.lebach@gmail.com [Wed, 27 Jun 2012 13:25:18 +0000 (13:25 +0000)]
WIP: PolygonSpriteBatch initial commit. Some loose ends, use with care.

12 years agoFixed rotate90 on AtlasSprite. It's magic.
nathan.sweet [Wed, 27 Jun 2012 06:46:17 +0000 (06:46 +0000)]
Fixed rotate90 on AtlasSprite. It's magic.

12 years agoFixed flipping AtlasSprite and then using setSize.
nathan.sweet [Wed, 27 Jun 2012 06:11:19 +0000 (06:11 +0000)]
Fixed flipping AtlasSprite and then using setSize.

12 years agoFancy new ScrollPane. FlickScrollPane is dead.
nathan.sweet [Wed, 27 Jun 2012 05:59:41 +0000 (05:59 +0000)]
Fancy new ScrollPane. FlickScrollPane is dead.

12 years agoFixed issue 804.
nathan.sweet [Wed, 27 Jun 2012 03:18:15 +0000 (03:18 +0000)]
Fixed issue 804.

12 years agoJavadocs.
nathan.sweet [Wed, 27 Jun 2012 03:03:34 +0000 (03:03 +0000)]
Javadocs.
Updated TTFFactoryTest to show problem.

12 years agoJavadocs.
nathan.sweet [Wed, 27 Jun 2012 02:25:13 +0000 (02:25 +0000)]
Javadocs.

12 years agoDocumentation complete.
nathan.sweet [Wed, 27 Jun 2012 02:10:18 +0000 (02:10 +0000)]
Documentation complete.

12 years agoRefuctoring. Docs.
nathan.sweet [Tue, 26 Jun 2012 12:32:54 +0000 (12:32 +0000)]
Refuctoring. Docs.

12 years ago[changed] JoglGraphcs uses Gdx.input and casts to JoglInput instead of getting Gdx...
badlogicgames [Tue, 26 Jun 2012 12:00:12 +0000 (12:00 +0000)]
[changed] JoglGraphcs uses Gdx.input and casts to JoglInput instead of getting Gdx.app.getInput().

12 years agoAll scene2d.ui updated to new events.
nathan.sweet [Tue, 26 Jun 2012 06:08:01 +0000 (06:08 +0000)]
All scene2d.ui updated to new events.
All scene2d.ui updated to use Drawable.

12 years agoCompiles again!
nathan.sweet [Mon, 25 Jun 2012 23:15:52 +0000 (23:15 +0000)]
Compiles again!

12 years ago(no commit message)
nathan.sweet [Sun, 24 Jun 2012 18:24:06 +0000 (18:24 +0000)]

12 years agoModels rendering order is now sorted by shader > model > depth
kalle.hamalainen85@gmail.com [Sun, 24 Jun 2012 15:11:00 +0000 (15:11 +0000)]
Models rendering order is now sorted by shader > model > depth
Vertex normals are now normalized because keyFrame animating can cause them not to be normalized.

12 years agotouchMoved -> mouseMoved, yay! :D
nathan.sweet [Sun, 24 Jun 2012 08:10:36 +0000 (08:10 +0000)]
touchMoved -> mouseMoved, yay! :D
FlickScrollPane is sweet now.

12 years agofixed issue900 by using patch provided by Nate on the scene2d-new branch, it checks...
ariel.coppes@gmail.com [Sat, 23 Jun 2012 15:30:28 +0000 (15:30 +0000)]
fixed issue900 by using patch provided by Nate on the scene2d-new branch, it checks the glyph advance using an epsilon of 0.001f on BitmapFont.computeVisibleGlyphs() when comparing floats to avoid edge cases

12 years agoscrollTo for scroll panes.
nathan.sweet [Sat, 23 Jun 2012 13:32:54 +0000 (13:32 +0000)]
scrollTo for scroll panes.

12 years agoActorGestureListener is better.
nathan.sweet [Sat, 23 Jun 2012 13:12:04 +0000 (13:12 +0000)]
ActorGestureListener is better.

12 years agoMusical chairs!
nathan.sweet [Sat, 23 Jun 2012 10:52:04 +0000 (10:52 +0000)]
Musical chairs!

12 years agoBetter event system, event context actor. Almost doesn't suck.
nathan.sweet [Sat, 23 Jun 2012 10:47:46 +0000 (10:47 +0000)]
Better event system, event context actor. Almost doesn't suck.

12 years agoSliders for particle editor. Needs sane ranges per type of value, and should be able...
nathan.sweet [Sat, 23 Jun 2012 04:49:18 +0000 (04:49 +0000)]
Sliders for particle editor. Needs sane ranges per type of value, and should be able to double click for text entry.

12 years agoFixed BufferUtils size never decreasing.
nathan.sweet [Sat, 23 Jun 2012 03:31:36 +0000 (03:31 +0000)]
Fixed BufferUtils size never decreasing.

12 years agoMade SliderStyle fields public.
nathan.sweet [Sat, 23 Jun 2012 03:28:23 +0000 (03:28 +0000)]
Made SliderStyle fields public.

12 years agoFixed label text wrapping, issue 900.
nathan.sweet [Fri, 22 Jun 2012 18:37:10 +0000 (18:37 +0000)]
Fixed label text wrapping, issue 900.

12 years agoFixed resolution choosing.
nathan.sweet [Fri, 22 Jun 2012 16:09:19 +0000 (16:09 +0000)]
Fixed resolution choosing.

12 years agoSet selection index to zero when items changed.
nathan.sweet [Fri, 22 Jun 2012 15:32:28 +0000 (15:32 +0000)]
Set selection index to zero when items changed.

12 years agoFixed image region size when flipped.
nathan.sweet [Fri, 22 Jun 2012 15:29:49 +0000 (15:29 +0000)]
Fixed image region size when flipped.

12 years agoProper relative actions for the rest.
nathan.sweet [Fri, 22 Jun 2012 15:22:23 +0000 (15:22 +0000)]
Proper relative actions for the rest.

12 years ago(no commit message)
nathan.sweet [Fri, 22 Jun 2012 14:10:29 +0000 (14:10 +0000)]

12 years agoBetter relative moveby.
nathan.sweet [Fri, 22 Jun 2012 14:04:16 +0000 (14:04 +0000)]
Better relative moveby.

12 years agoCommitting what I have so far. It doesn't all compile!
nathan.sweet [Fri, 22 Jun 2012 13:29:17 +0000 (13:29 +0000)]
Committing what I have so far. It doesn't all compile!

12 years ago(no commit message)
nathan.sweet [Fri, 22 Jun 2012 13:25:36 +0000 (13:25 +0000)]

12 years agofixed issue849 using the fix suggested by treyy333, when calling setSize() and flip...
ariel.coppes@gmail.com [Thu, 21 Jun 2012 16:01:57 +0000 (16:01 +0000)]
fixed issue849 using the fix suggested by treyy333, when calling setSize() and flip() together, the offsets were being used wrong, now they are divided by widthRatio/heightRatio before calling AtlasRegion.flip() inside AtlasSprite.flip() and they are multiplied again after the call.

12 years agoBetter default particle effect.
nathan.sweet [Thu, 21 Jun 2012 10:18:03 +0000 (10:18 +0000)]
Better default particle effect.

12 years agoFixed Polygon#getWorldVertices.
nathan.sweet [Wed, 20 Jun 2012 08:34:29 +0000 (08:34 +0000)]
Fixed Polygon#getWorldVertices.

12 years agoChange polygon, store vertices in local coords, compute world coords as needed.
nathan.sweet [Tue, 19 Jun 2012 22:26:25 +0000 (22:26 +0000)]
Change polygon, store vertices in local coords, compute world coords as needed.

12 years agoJavadoced Skin. A little.
nathan.sweet [Tue, 19 Jun 2012 22:12:58 +0000 (22:12 +0000)]
Javadoced Skin. A little.

12 years agoAdded getResources and getStyles to Skin.
nathan.sweet [Tue, 19 Jun 2012 22:11:02 +0000 (22:11 +0000)]
Added getResources and getStyles to Skin.

12 years ago[added] Basic implementation of getTextInput and getPlaceholderTextInput for GWT...
email.nex.software@gmail.com [Tue, 19 Jun 2012 16:30:27 +0000 (16:30 +0000)]
[added] Basic implementation of getTextInput and getPlaceholderTextInput for GWT backend. Not perfect, but sufficient; may replace with something fancier later on.

12 years ago[fixed] issue 894, CompositeAction#finish() produced garbage due to enhanced for...
badlogicgames [Mon, 18 Jun 2012 21:51:41 +0000 (21:51 +0000)]
[fixed] issue 894, CompositeAction#finish() produced garbage due to enhanced for loop.

12 years ago[added] nex's System.java for a better arrayCopy implementation
badlogicgames [Mon, 18 Jun 2012 21:28:18 +0000 (21:28 +0000)]
[added] nex's System.java for a better arrayCopy implementation
[fixed] gdx-backends-gwt .classpath now explicitely excludes System.java, can't compile against JDK
[fixed] build-template.xml has an exclude for System.java so things don't explode.

12 years ago[added] the new StringBuilder class and the compression package to the GWT includes.
email.nex.software@gmail.com [Mon, 18 Jun 2012 21:22:38 +0000 (21:22 +0000)]
[added] the new StringBuilder class and the compression package to the GWT includes.

12 years ago[changed] Lzma compress and decompress methods to be static
email.nex.software@gmail.com [Mon, 18 Jun 2012 20:58:03 +0000 (20:58 +0000)]
[changed] Lzma compress and decompress methods to be static

12 years ago[added] Additional methods to emulated InputStream, ByteArrayInputStream, and ByteArr...
email.nex.software@gmail.com [Mon, 18 Jun 2012 20:55:49 +0000 (20:55 +0000)]
[added] Additional methods to emulated InputStream, ByteArrayInputStream, and ByteArrayOutputStream

12 years ago[fixed] added isAnimationFinished back to Animation class, i suck. Back to my broken...
badlogicgames [Mon, 18 Jun 2012 19:40:10 +0000 (19:40 +0000)]
[fixed] added isAnimationFinished back to Animation class, i suck. Back to my broken bath room/kitchen...

12 years agoInitial check-in of the compression package in utils. Slightly modified from LZMA...
email.nex.software@gmail.com [Mon, 18 Jun 2012 13:18:10 +0000 (13:18 +0000)]
Initial check-in of the compression package in utils. Slightly modified from LZMA SDK to support streams, as opposed to files. To be used for TileMaps (because it is GWT compatible).

12 years agoMade sin, cos, and atan2 look up tables load lazily. Avoids 128KB of allocation on...
nathan.sweet [Sun, 17 Jun 2012 07:33:27 +0000 (07:33 +0000)]
Made sin, cos, and atan2 look up tables load lazily. Avoids 128KB of allocation on first use of MathUtils (8k+8k+16k floats).

12 years ago[added] glFlush calls as demanded by http://developer.apple.com/library/ios/#DOCUMENT...
badlogicgames [Sun, 17 Jun 2012 00:45:16 +0000 (00:45 +0000)]
[added] glFlush calls as demanded by developer.apple.com/library/ios/#DOCUMENTATION/3DDrawing/Conceptual/OpenGLES_ProgrammingGuide/ImplementingaMultitasking-awareOpenGLESApplication/ImplementingaMultitasking-awareOpenGLESApplication.html#//apple_ref/doc/uid/TP40008793-CH5-SW1

12 years ago[fixed] didn't call listener on pause/resume. looks like the context isn't lost after...
badlogicgames [Sun, 17 Jun 2012 00:38:01 +0000 (00:38 +0000)]
[fixed] didn't call listener on pause/resume. looks like the context isn't lost after all :O

12 years ago[fixed] basic pause/resume/dispose life-cycle. still not sure what happens to the...
badlogicgames [Sun, 17 Jun 2012 00:08:55 +0000 (00:08 +0000)]
[fixed] basic pause/resume/dispose life-cycle. still not sure what happens to the context on pause/resume.
[changed] IOSApplication is now a UIApplicationDelegate so we can catch all the system events. Means C# code is even more straight forward and minimal
[fixed] mono/ test project.

12 years agominor touch ups
badlogicgames [Sat, 16 Jun 2012 23:37:45 +0000 (23:37 +0000)]
minor touch ups

12 years ago[changed] Animation class now supports multiple playmodes. Thanks Pasman!
badlogicgames [Sat, 16 Jun 2012 09:53:27 +0000 (09:53 +0000)]
[changed] Animation class now supports multiple playmodes. Thanks Pasman!
[fixed] Label didn't dispose BitmapFontCache in #setStyle.

12 years agofixed issue890 by changing the Node.writePackEntry to receive instead the boolean...
ariel.coppes@gmail.com [Sat, 16 Jun 2012 01:17:38 +0000 (01:17 +0000)]
fixed issue890 by changing the Node.writePackEntry to receive instead the boolean alias the Image corresponding the source/parent image of the alias Image, so internally we can set rotate to source.rotate (other values could be used as well for the alias image), if source is null then it is treated as alias = false

12 years agoFixed and optimized specular intesity. dot n l is part of specular too
kalle.hamalainen85@gmail.com [Fri, 15 Jun 2012 21:49:10 +0000 (21:49 +0000)]
Fixed and optimized specular intesity. dot n l is part of specular too

12 years agoReverting r4186 because I broke all the things.
email.nex.software@gmail.com [Fri, 15 Jun 2012 14:48:16 +0000 (14:48 +0000)]
Reverting r4186 because I broke all the things.

12 years agoanother fix related with revision 4146 to make AtlasSprite.setSize() work correctly...
ariel.coppes@gmail.com [Fri, 15 Jun 2012 14:39:40 +0000 (14:39 +0000)]
another fix related with revision 4146 to make AtlasSprite.setSize() work correctly when sprite atlas was created with an atlas region with rotate = true

12 years agoChanged the way System.arraycopy works on the GWT backend, so that large arrays don...
email.nex.software@gmail.com [Fri, 15 Jun 2012 14:12:13 +0000 (14:12 +0000)]
Changed the way System.arraycopy works on the GWT backend, so that large arrays don't cause problems.
Implemented some additional methods on InputStream, ByteArrayInputStream, and ByteArrayOutputStream.

12 years agoFixed terrible, terrible bug in some of the maps.
nathan.sweet [Fri, 15 Jun 2012 11:07:01 +0000 (11:07 +0000)]
Fixed terrible, terrible bug in some of the maps.
Adjusted default map settings: fewer push iteration, larger stash. This should result in faster puts, as push iterations are expensive.

12 years agoFixed issue 748, added StringBuilder class from Harmony with equals and hashcode...
nathan.sweet [Fri, 15 Jun 2012 11:04:31 +0000 (11:04 +0000)]
Fixed issue 748, added StringBuilder class from Harmony with equals and hashcode added.

12 years agoGot rid of warnings.
nathan.sweet [Fri, 15 Jun 2012 11:02:59 +0000 (11:02 +0000)]
Got rid of warnings.

12 years agofixed a bug introduced in revision 4146 when modified the texture atlas to load atlas...
ariel.coppes@gmail.com [Thu, 14 Jun 2012 18:10:41 +0000 (18:10 +0000)]
fixed a bug introduced in revision 4146 when modified the texture atlas to load atlas regions with inverted width/height, AtlasSprite getWidth() and getHeight() were returning wrong width/height if the region was rotated

12 years ago[added] stubs for music and sound for ios backend
badlogicgames [Wed, 13 Jun 2012 23:15:17 +0000 (23:15 +0000)]
[added] stubs for music and sound for ios backend

12 years ago[fixed] delta time and fps are now calculated.
badlogicgames [Wed, 13 Jun 2012 23:13:51 +0000 (23:13 +0000)]
[fixed] delta time and fps are now calculated.

12 years agocached method id for getting buffer position. will still be a tad slow, but meh
badlogicgames [Mon, 11 Jun 2012 00:48:38 +0000 (00:48 +0000)]
cached method id for getting buffer position. will still be a tad slow, but meh

12 years agofixed MemberWrapper#invokeJni so we can call Java methods from JNI...
badlogicgames [Mon, 11 Jun 2012 00:24:39 +0000 (00:24 +0000)]
fixed MemberWrapper#invokeJni so we can call Java methods from JNI...

12 years ago[fixed] issue 879, child actions weren't returned to pools in Actor#clearactions
badlogicgames [Sun, 10 Jun 2012 16:40:43 +0000 (16:40 +0000)]
[fixed] issue 879, child actions weren't returned to pools in Actor#clearactions

12 years agogiving up for today, can|t seem to invoke instance methods from native side, meaning...
badlogicgames [Sat, 9 Jun 2012 01:19:19 +0000 (01:19 +0000)]
giving up for today, can|t seem to invoke instance methods from native side, meaning i can't get the position of a buffer