OSDN Git Service
nathan.sweet [Mon, 2 Jul 2012 13:56:58 +0000 (13:56 +0000)]
Merged scene2d-new branch back into trunk.
nathan.sweet [Mon, 2 Jul 2012 13:52:11 +0000 (13:52 +0000)]
Javadocs, fixed texture packer padding.
nathan.sweet [Mon, 2 Jul 2012 12:21:20 +0000 (12:21 +0000)]
Updated cosntructors to keep things sane.
badlogicgames [Mon, 2 Jul 2012 11:12:08 +0000 (11:12 +0000)]
[changed] version at 0.9.6 now :D
nathan.sweet [Mon, 2 Jul 2012 08:35:26 +0000 (08:35 +0000)]
Fixed texture packer coords.
Refactored skin!
nathan.sweet [Sun, 1 Jul 2012 14:58:23 +0000 (14:58 +0000)]
TexturePacker update.
nathan.sweet [Sun, 1 Jul 2012 10:29:45 +0000 (10:29 +0000)]
Fixed issue 909, added isDragging to Window.
nathan.sweet [Sun, 1 Jul 2012 10:28:06 +0000 (10:28 +0000)]
Fixed issue 910, scrollpane fade alpha.
nathan.sweet [Sun, 1 Jul 2012 10:24:07 +0000 (10:24 +0000)]
Fixed paths to packed images (no longer flattened).
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!
nathan.sweet [Sun, 1 Jul 2012 09:37:12 +0000 (09:37 +0000)]
TextureAtlas support for splits.
nathan.sweet [Sun, 1 Jul 2012 08:45:06 +0000 (08:45 +0000)]
New texture packer! Replaces the old piece of junk.
nathan.sweet [Sat, 30 Jun 2012 03:22:31 +0000 (03:22 +0000)]
Fixed build.
Fixed GWT, nasty stuff.
nathan.sweet [Fri, 29 Jun 2012 23:50:17 +0000 (23:50 +0000)]
Fixed issue 904, scrollpane.
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.
nathan.sweet [Fri, 29 Jun 2012 09:38:33 +0000 (09:38 +0000)]
Minor updates.
nathan.sweet [Fri, 29 Jun 2012 05:12:47 +0000 (05:12 +0000)]
Fixed issue 899.
nathan.sweet [Thu, 28 Jun 2012 17:51:40 +0000 (17:51 +0000)]
Align constants lowercase. Cause it is better!
nathan.sweet [Thu, 28 Jun 2012 12:26:01 +0000 (12:26 +0000)]
Ran header fixer.
nathan.sweet [Thu, 28 Jun 2012 12:03:34 +0000 (12:03 +0000)]
Specific revision for tablelayout until scene2d-new branch is merged.
nathan.sweet [Thu, 28 Jun 2012 11:23:43 +0000 (11:23 +0000)]
Event current target -> listener actor.
nathan.sweet [Thu, 28 Jun 2012 10:47:53 +0000 (10:47 +0000)]
Fixed touchUp target.
nathan.sweet [Thu, 28 Jun 2012 10:19:42 +0000 (10:19 +0000)]
Table moved into scene2d.ui.
nathan.sweet [Thu, 28 Jun 2012 09:22:44 +0000 (09:22 +0000)]
Fixed a couple tests.
Fixed scrollpane scrollbar click to jump.
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.
nathan.sweet [Thu, 28 Jun 2012 08:54:25 +0000 (08:54 +0000)]
Fixed longPress if mouse isn't moved. Uhg!
nathan.sweet [Thu, 28 Jun 2012 08:52:23 +0000 (08:52 +0000)]
Added Actor#setZIndex.
nathan.sweet [Thu, 28 Jun 2012 08:16:37 +0000 (08:16 +0000)]
Added Actor#toFront.
Made ActorGestureListener use local coords for pinch.
nathan.sweet [Thu, 28 Jun 2012 08:05:12 +0000 (08:05 +0000)]
Fixed ActorGestureListener, needed to use stage coords.
nathan.sweet [Thu, 28 Jun 2012 07:54:36 +0000 (07:54 +0000)]
Oops, forgot getTargetActor -> getTarget
nathan.sweet [Thu, 28 Jun 2012 07:41:30 +0000 (07:41 +0000)]
Set target for touch focus events.
setTargetActor -> setTarget
nathan.sweet [Wed, 27 Jun 2012 14:58:15 +0000 (14:58 +0000)]
Minor updates.
Javadocs.
nathan.sweet [Wed, 27 Jun 2012 13:30:18 +0000 (13:30 +0000)]
Updated eclipse formatter.
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.
nathan.sweet [Wed, 27 Jun 2012 06:46:17 +0000 (06:46 +0000)]
Fixed rotate90 on AtlasSprite. It's magic.
nathan.sweet [Wed, 27 Jun 2012 06:11:19 +0000 (06:11 +0000)]
Fixed flipping AtlasSprite and then using setSize.
nathan.sweet [Wed, 27 Jun 2012 05:59:41 +0000 (05:59 +0000)]
Fancy new ScrollPane. FlickScrollPane is dead.
nathan.sweet [Wed, 27 Jun 2012 03:18:15 +0000 (03:18 +0000)]
Fixed issue 804.
nathan.sweet [Wed, 27 Jun 2012 03:03:34 +0000 (03:03 +0000)]
Javadocs.
Updated TTFFactoryTest to show problem.
nathan.sweet [Wed, 27 Jun 2012 02:25:13 +0000 (02:25 +0000)]
Javadocs.
nathan.sweet [Wed, 27 Jun 2012 02:10:18 +0000 (02:10 +0000)]
Documentation complete.
nathan.sweet [Tue, 26 Jun 2012 12:32:54 +0000 (12:32 +0000)]
Refuctoring. Docs.
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().
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.
nathan.sweet [Mon, 25 Jun 2012 23:15:52 +0000 (23:15 +0000)]
Compiles again!
nathan.sweet [Sun, 24 Jun 2012 18:24:06 +0000 (18:24 +0000)]
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.
nathan.sweet [Sun, 24 Jun 2012 08:10:36 +0000 (08:10 +0000)]
touchMoved -> mouseMoved, yay! :D
FlickScrollPane is sweet now.
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
nathan.sweet [Sat, 23 Jun 2012 13:32:54 +0000 (13:32 +0000)]
scrollTo for scroll panes.
nathan.sweet [Sat, 23 Jun 2012 13:12:04 +0000 (13:12 +0000)]
ActorGestureListener is better.
nathan.sweet [Sat, 23 Jun 2012 10:52:04 +0000 (10:52 +0000)]
Musical chairs!
nathan.sweet [Sat, 23 Jun 2012 10:47:46 +0000 (10:47 +0000)]
Better event system, event context actor. Almost doesn't suck.
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.
nathan.sweet [Sat, 23 Jun 2012 03:31:36 +0000 (03:31 +0000)]
Fixed BufferUtils size never decreasing.
nathan.sweet [Sat, 23 Jun 2012 03:28:23 +0000 (03:28 +0000)]
Made SliderStyle fields public.
nathan.sweet [Fri, 22 Jun 2012 18:37:10 +0000 (18:37 +0000)]
Fixed label text wrapping, issue 900.
nathan.sweet [Fri, 22 Jun 2012 16:09:19 +0000 (16:09 +0000)]
Fixed resolution choosing.
nathan.sweet [Fri, 22 Jun 2012 15:32:28 +0000 (15:32 +0000)]
Set selection index to zero when items changed.
nathan.sweet [Fri, 22 Jun 2012 15:29:49 +0000 (15:29 +0000)]
Fixed image region size when flipped.
nathan.sweet [Fri, 22 Jun 2012 15:22:23 +0000 (15:22 +0000)]
Proper relative actions for the rest.
nathan.sweet [Fri, 22 Jun 2012 14:10:29 +0000 (14:10 +0000)]
nathan.sweet [Fri, 22 Jun 2012 14:04:16 +0000 (14:04 +0000)]
Better relative moveby.
nathan.sweet [Fri, 22 Jun 2012 13:29:17 +0000 (13:29 +0000)]
Committing what I have so far. It doesn't all compile!
nathan.sweet [Fri, 22 Jun 2012 13:25:36 +0000 (13:25 +0000)]
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.
nathan.sweet [Thu, 21 Jun 2012 10:18:03 +0000 (10:18 +0000)]
Better default particle effect.
nathan.sweet [Wed, 20 Jun 2012 08:34:29 +0000 (08:34 +0000)]
Fixed Polygon#getWorldVertices.
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.
nathan.sweet [Tue, 19 Jun 2012 22:12:58 +0000 (22:12 +0000)]
Javadoced Skin. A little.
nathan.sweet [Tue, 19 Jun 2012 22:11:02 +0000 (22:11 +0000)]
Added getResources and getStyles to Skin.
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.
badlogicgames [Mon, 18 Jun 2012 21:51:41 +0000 (21:51 +0000)]
[fixed] issue 894, CompositeAction#finish() produced garbage due to enhanced for loop.
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.
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.
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
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
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...
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).
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).
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
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
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.
badlogicgames [Sat, 16 Jun 2012 23:37:45 +0000 (23:37 +0000)]
minor touch ups
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.
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
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
email.nex.software@gmail.com [Fri, 15 Jun 2012 14:48:16 +0000 (14:48 +0000)]
Reverting r4186 because I broke all the things.
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
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.
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.
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.
nathan.sweet [Fri, 15 Jun 2012 11:02:59 +0000 (11:02 +0000)]
Got rid of warnings.
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
badlogicgames [Wed, 13 Jun 2012 23:15:17 +0000 (23:15 +0000)]
[added] stubs for music and sound for ios backend
badlogicgames [Wed, 13 Jun 2012 23:13:51 +0000 (23:13 +0000)]
[fixed] delta time and fps are now calculated.
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
badlogicgames [Mon, 11 Jun 2012 00:24:39 +0000 (00:24 +0000)]
fixed MemberWrapper#invokeJni so we can call Java methods from JNI...
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
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