-
Notifications
You must be signed in to change notification settings - Fork 313
Whats new in 1.7
makoto edited this page Nov 1, 2015
·
3 revisions
##Changes from 1.5 to 1.7
- Font/glyph caching
- new drawing pipeline
- SDF support
- Async image loading
- Keycodes
- removed Chipmunk
- underlay tables
- LOD
MOAIPinTransform
- MOAIProp -> MOAIGraphicsProp
MOAIAction
- Added
MOAIAction.EVENT_START
- Added optional
defer
parameter toMOAIAction.attach
,MOAIAction.addChild
,MOAIAction.start
and a methodMOAIAction.defer()
which defers an actions update until the next time the action tree is processed - Added
MOAIAction.getChildren()
,MOAIAction.isPaused()
,MOAIAction.setAutoStop
- Added
MOAIActionTree
class - Removed MOAIActionMgr
MOAIAnimCurve
- added
MOAIAnimCurve.getValueRange
method
MOAIAppAndroid
- added
MOAIAppAndroid.getSystemUptime
MOAIBillingAndroid
- added
MOAIBillingAndroid.purchaseProductFortumo
MOAIBox2D
- added
MOAIBox2DArbiter.getContactPoints
- added
MOAIBox2DBody.getContactList
- added
MOAIBox2DWeldJoint.getDampingRatio
,MOAIBox2DWeldJoint.setDampingRatio
- added
MOAIBox2DWeldJoint.getFrequency
,MOAIBox2DWeldJoint.setFrequency
- added
collideConnected
to allMOAIBox2DWorld.add*
methods
MOAIUtil
- added
MOAIByteStream
which implements a stream with fixed-size internal buffer
MOAICamera
- added
MOAICamera.getFloorMove
,MOAICamera.getViewVector
,MOAICamera.lookAt
,MOAICamera.moveFieldOfView
,MOAICamera.seekFieldOfView
,MOAICamera.setType
MOAICoroutine
- added
MOAICoroutine.SetDefaultParent
which makes the coroutine the parent for any actions launched from this coroutine
MOAIChipmunk
- Removed!
MOAIDataBuffer
- added
MOAIDataBuffer.clear
MOAIDebugLines
- added
MOAIDebugLines.COLLISION_ACTIVE_PROP_BOUNDS
,MOAIDebugLines.COLLISION_ACTIVE_OVERLAP_PROP_BOUNDS
,MOAIDebugLines.COLLISION_ACTIVE_TOUCHED_PROP_BOUNDS
,MOAIDebugLines.COLLISION_OVERLAP_PROP_BOUNDS
MOAIDeck
- bit of a refactor into MOAIDeck and MOAIStandardDeck with textures and shaders being merged into a Material Batch @patrick please help here
MOAIDraw
- Added
MOAIDraw.drawBezierCurve
- Added
MOAIDraw.drawElements
for rendering a vertex buffer - Added
MOAIDraw.setBlendMode
MOAIGlyphCache
- Changes around dynamic glyph cache. @patrick please help here
MOAIEaseType
- Ease types added:
MOAIEaseType.EXTRA_SHARP_EASE_IN
MOAIEaseType.EXTRA_SHARP_EASE_OUT
MOAIEaseType.EXTRA_SHARP_SMOOTH
MOAIEaseType.EXTRA_SHARP_SMOOTH_EASE_OUT
MOAIEaseType.SOFT_SMOOTH_EASE_OUT
MOAIEaseType.SINE_EASE_IN
MOAIEaseType.SINE_EASE_OUT
MOAIEaseType.SINE_SMOOTH
MOAIEaseType.CIRC_EASE_IN
MOAIEaseType.CIRC_EASE_OUT
MOAIEaseType.CIRC_SMOOTH
MOAIEaseType.BOUNCE_IN
MOAIEaseType.BOUNCE_OUT
MOAIEaseType.BOUNCE_SMOOTH
MOAIEaseType.ELASTIC_IN
MOAIEaseType.ELASTIC_OUT
MOAIEaseType.ELASTIC_SMOOTH
MOAIEaseType.BACK_EASE_IN
MOAIEaseType.BACK_EASE_OUT
MOAIEaseType.BACK_SMOOTH
MOAIEnvironment
- added
iosIFA
andiosIFV
toMOAIEnvironment
MOAIFileSystem
- added optional
base
parameter togetRelativePath
- added
MOAIFileSystem.getVirtualPathInfo
- added
MOAIFileSystem.loadFile
to quickly load entire file into string - added
MOAIFileSystem.saveFile
- added
MOAIFileSystem.stripPKZipTimestamps
MOAIFont
- added
MOAIFont.getCache
- added
MOAIFont.getReader
- added
MOAIFont.setCache
- added
MOAIFont.setFilter
- added
MOAIFont.setShader
MOAIGeometryWriter
- New class MOAIGeometryWriter: Interface for writing and manipulating procedural geometry.
MOAIGfxDevice
- removed
MOAIGfxDevice.isProgrammable
- removed
MOAIGfxDevice.setPointSize
- added
MOAIGfxDevice.getMaxTextureSize
MOAIGfxQuadDeck2D
- added
MOAIGfxQuadDeck2D.getQuad
,MOAIGfxQuadDeck2D.getRect
,MOAIGfxQuadDeck2D.getUVQuad
,MOAIGfxQuadDeck2D.getUVRect
- added
MOAIGfxQuadDeck2D.setMaterialID
MOAIGfxResource
- renamed
MOAIGfxResource.softRelease
toMOAIGfxResource.purge
- added
MOAIGfxResource.setReloader
MOAIGfxState
- REMOVED!
MOAIGlyphCache
- This is now the base class, see
MOAIDynamicGlyphCache
MOAIGlyphCacheBase
- REMOVED!, base is now
MOAIGlyphCache
MOAIProp
- some functionality lifted to
MOAIGraphicsProp
andMOAIGraphicsProp2D
MOAIHashWriter
- added
MOAIHashWriter.setHMACKey
- added
MOAIHashWriter.getHashBase64
- added
MOAIHashWriter.getHashHex
- added
MOAIHashWriter.getHash
- added
MOAIHashWriter.getChecksum
MOAIHashWriterCrypto
- like hashwriter but inside and using
moai-crypto
MOAIHttpTaskBase
- added
MOAIHttpTaskBase.setSSLOptions
MOAIImage
- added
MOAIImage.COLOR_FMT_A_1
,MOAIImage.COLOR_FMT_A_4
,MOAIImage.COLOR_FMT_LA_8
- added
MOAIImage.average
,MOAIImage.blur
- renamed
MOAIImage.convertColors
toMOAIImage.convert
- replaced
MOAIImage.convertToGrayScale
toMOAIImage.desaturate
- added
srcFactor
,dstFactor
,equation
to copyRect for alpha blending - added
MOAIImage.fillEllipse
- added
MOAIImage.gammaCorrection
- added
MOAIImage.generateOutlineFromSDF
- added
MOAIImage.generateSDF
- added
MOAIImage.generateSDFAA
- added
MOAIImage.generateSDFDeadReckoning
- added
MOAIImage.loadAsync
- added
MOAIImage.mix
- Transforms each color by a 4x4 matrix. - added
MOAIImage.simpleThreshold
- This is a 'naive' threshold implementation that forces image color channels to 0 or 1 based on a per-channel threshold value. - replaced
MOAIImage.writePNG
with genericMOAIImage.write
that takes a format parameter
MOAIImageTexture
- renamed
MOAIImageTexture.invalidate
toMOAIImageTexture.updateRegion
MOAIIndexBuffer
- added
MOAIIndexBuffer.copyFromStream
- added
MOAIIndexBuffer.countElements
- added
MOAIIndexBuffer.printIndicies
- added
MOAIIndexBuffer.setIndexSize
MOAIInputDevice
- added
MOAIInputDevice.getHardwareInfo
gets any hardware metadata string specified by host
MOAIKeyCode
- added
MOAIKeyCode
constants that define keys in a code readable way egMOAIKeyCode.LEFT
andMOAIKeyCode.RIGHT
MOAIKeyboardSensor
- changed
MOAIKeyboardSensor.keyUp
,MOAIKeyboardSensor.keyIsUp
,MOAIKeyboardSensor.keyDown
,MOAIKeyboardSensor.keyIsDown
to take a string or ... of MOAIKeyCodes - renamed
MOAIKeyboardSensor.setCallback
toMOAIKeyboardSensor.setKeyCallback
- added
MOAIKeyboardSensor.setCharCallback
- added
MOAIKeyboardSensor.setEditCallback
MOAILayer
- added
MOAILayer.wndToWorldRay
Project a point from window space into world space and return vector suitable for 3d picking - added
sortInViewSpace
optional parameter toMOAILayer.setSortMode
- added
MOAILayer.getCamera
- added
MOAILayer.getViewport
- added
MOAILayer.getFitting3d
- replaced
MOAILayer.setBox2DWorld
withMOAILayer.setUnderlayTable
MOAILogMgr
- added
MOAILogMgr.LOG_DEBUG
- added
MOAILogMgr.log
that takes a level and a message - added
MOAILogMgr.log
that takes a level, a token, and a message
MOAIParticleEmitter
- added
MOAIParticleEmitter.setState
- sets initial state index for new particles
MOAIParticleScript
- added
MOAIParticleScript.randInt
- loads a random integer from a range - renamed
MOAIParticleScript.setReg
toMOAIParticleScript.setLiveReg
MOAIPartcileSystem
- added optional
state
parameter toMOAIPartcileSystem.pushPartcile
MOAIPartition
- added
interfaceMask
andqueryMask
as optional parameters to the end ofpropForRay
,propList
,propListForPoint
,propListForRay
,propListForRect
- changed
propForPoint
to haveinterfaceMask
andqueryMask
as first optional parameters
MOAIPinTransform
- added
MOAIPinTransform
- 2D transform for connecting transforms across layers. Useful for HUD overlay items and map pins.
MOAIProp
- most functionality was pushed up to
MOAIGraphicsProp
MOAISerializer
- replaced
MOAISerializer.exportToFile
withMOAISerializer.serializeToFile
- replaced
MOAISerializer.exportToString
withMOAISerializer.serializeToString
MOAIShader
- replaced with
MOAIShaderProgram
MOAIShaderMgr
- added
DECK2D_SNAPPING_SHADER
,FONT_SNAPPING_SHADER
,FONT_EFFECTS_SHADER
,LINE_SHADER_3D
- renamed
MOAIShaderMgr.getShader
toMOAIShaderMgr.getProgram
MOAISim ...