-
Notifications
You must be signed in to change notification settings - Fork 32
ReleaseNotes
Michael Bayne edited this page Jul 11, 2012
·
38 revisions
TPUI:
- Added Style
ACTION_SOUND
for playing a sound when buttons are clicked, etc. - Added Style
BACKGROUND
support to all elements (previously it only worked forTextWidget
derivatives and [Group]). - Added Shim constructor that takes
Dimension
. - Added Background
alpha
for making backgrounds translucent. - Added Slider
setWidth
. - Added SizableWidget.
- Added TableLayout
alignTop
andalignBottom
for configuring vertical alignment of cell contents. -
Root
wasRemoved
is now properly called when a root is removed and/or destroyed.
TPAnim:
- Added Animator
setAnimating
. - Added Animator
stop(Sound)
. - Added Animator
tweenVolume(Sound)
. - Added Flicker
posValue
. - Fixed Animator
repeat
which had all sorts of wacky edge case bugs.
TPGame:
- Added page turn transition (via ScreenStack
pageFlip
). Uses a custom shader (for real 3D-ness) and thus only works on GL-based backends. - Added flip transition (via ScreenStack
flip
). Uses a custom shader (for real 3D-ness) and thus only works on GL-based backends. - Added ScreenStack
remove(Predicate)
for removing all screens that match a predicate. - Added AbstractTransition
onStart/onComplete
. - Fixed issues when screen transitions are interrupted (by starting a new transition).
TPUtil:
- Added TypedStorage
contains(String)
andsetFor
. - Added TypedStorage
get/set
for enums andvalueFor(String,Enum)
. -
TextConfig moved from
ui
toutil
.
TPParticle:
- New particle system. See Demo for examples.
TPSound:
- Added MultiSound.
TPSyncDB:
- SyncDB is a new system for syncing a set of persistent data across a set of clients (via a server). Think syncing local game state across multiple mobile clients and/or web clients. Supports offline play with accumulation of changes and merging of those changes into the shared database with conflict resolution. Not fully implemented.
TPFlump:
- Beginnings of player for Flump animations.
TPDemo:
- Extracted all of the demos into a standalone demo project.
TPUI:
- Removed focus support, modified Field to always use
Keyboard.getText
. - Added CheckBox.
- Added Slider
setIncrement
and SlidersetThumb
, made Slider use configured background style. - Added Element
getStyleClass
. - Added Background
roundRect
. - Added TextConfig.
- Added FlowLayout.
- Added AxisLayout
stretch
. - Added Style
SHADOW_X
andSHADOW_Y
. - Added Style
TEXT_EFFECT.vectorOutline
,OUTLINE_WIDTH
,OUTLINE_CAP
, andOUTLINE_JOIN
. - Changed Style
TEXT_EFFECT.outline
to StyleTEXT_EFFECT.pixelOutline
- Added TableLayout.Column
copy
. - Added Interface
roots
. - Revamped
TextWidget
which resulted in changes to Button and Label. - Clicks are now ignored by non-enabled widgets.
- Fixed issue where text was positioned on non-integral-pixels in HiDPI mode.
TPAnim:
- Added Animation
from
andto
that take aPoint
. - Added Animator
setVisible
,addAt
. - Added Animator
flipbook
,flipbookAt
and Frames, SimpleFrames, PackedFrames. - Added a tool to create packed frame images. See
tripleplay.tools.FramePacker
. - Improved flow when transitioning between animations (no longer does it force a frame to elapse when one animation ends and then next starts).
TPGame:
- Added ScreenStack
popTo
andpush(Iterable<Screen>)
. - Added ScreenStack.Transition and ScreenStack
slide
. - Added Screen
showTransitionCompleted
andhideTransitionStarted
. - Added AnimScreen, UIScreen and UIAnimScreen.
TPUtil:
- Added Logger
Level
andLevels
. - Simplified Logger.Impl.
- Added TypedStorage
valueFor(String,String)
.
TPUI:
- Added TogglableTextWidget and ToggleButton.
- Added BorderLayout, like AWT's layout of same name.
- Added AxisLayout
stretchByDefault
. - Added Field
focus()
, FieldmaybeFocus()
for setting focus programmatically. - Modified Field to use Keyboard
getText
on platforms with no hardware keyboard. - Added Scale9Background and Background
scale9
. - Added Background
bordered
. - Added Element
hierarchyChanged
signal, which is emitted when an element is added to or removed from the UI hierarchy. - Added TableLayout
(int)
constructor for easier creation of table with many standard columns. - Changed Background insets configuration to Background
inset(int)
, etc. - Changed
NullBackground
toBlankBackground
for consistency. - Made labels not intercept clicks.
- Made elements/group not respond to clicks when not visible.
- Fixed bug where icon gap was shown when we had icon and no text.
- Rewrote event handling to use PlayN's new built-in event dispatch to layers. This means Interface no longer takes a Pointer.Listener and TPUI plays more nicely with other click handling you are doing on layers in your game.
TPAnim:
- Added Animator
tween
to allow tweening of custom properties. - Added Animator
reparent
for reparenting a layer during an animation. - Added Flicker for doing iOS-style flick scrolling.
TPUtil:
- Added Timer for periodic and one-shot timers.
- Added Layers
reparent
. - Added
long
anddouble
values to TypedStorage. - Added Logger.PlayNImpl for easy wiring of logging facade to PlayN.
I wasn't maintaining release notes back in those glorious days.