-
Notifications
You must be signed in to change notification settings - Fork 311
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
deferparameter toMOAIAction.attach,MOAIAction.addChild,MOAIAction.startand 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
MOAIActionTreeclass - Removed MOAIActionMgr
MOAIAnimCurve
- added
MOAIAnimCurve.getValueRangemethod
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
collideConnectedto allMOAIBox2DWorld.add*methods
MOAIUtil
- added
MOAIByteStreamwhich 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.SetDefaultParentwhich 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.drawElementsfor 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_INMOAIEaseType.EXTRA_SHARP_EASE_OUTMOAIEaseType.EXTRA_SHARP_SMOOTHMOAIEaseType.EXTRA_SHARP_SMOOTH_EASE_OUTMOAIEaseType.SOFT_SMOOTH_EASE_OUTMOAIEaseType.SINE_EASE_INMOAIEaseType.SINE_EASE_OUTMOAIEaseType.SINE_SMOOTHMOAIEaseType.CIRC_EASE_INMOAIEaseType.CIRC_EASE_OUTMOAIEaseType.CIRC_SMOOTHMOAIEaseType.BOUNCE_INMOAIEaseType.BOUNCE_OUTMOAIEaseType.BOUNCE_SMOOTHMOAIEaseType.ELASTIC_INMOAIEaseType.ELASTIC_OUTMOAIEaseType.ELASTIC_SMOOTHMOAIEaseType.BACK_EASE_INMOAIEaseType.BACK_EASE_OUTMOAIEaseType.BACK_SMOOTH
MOAIEnvironment
- added
iosIFAandiosIFVtoMOAIEnvironment
MOAIFileSystem
- added optional
baseparameter togetRelativePath - added
MOAIFileSystem.getVirtualPathInfo - added
MOAIFileSystem.loadFileto 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.softReleasetoMOAIGfxResource.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
MOAIGraphicsPropandMOAIGraphicsProp2D
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.convertColorstoMOAIImage.convert - replaced
MOAIImage.convertToGrayScaletoMOAIImage.desaturate - added
srcFactor,dstFactor,equationto 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.writePNGwith genericMOAIImage.writethat takes a format parameter
MOAIImageTexture
- renamed
MOAIImageTexture.invalidatetoMOAIImageTexture.updateRegion
MOAIIndexBuffer
- added
MOAIIndexBuffer.copyFromStream - added
MOAIIndexBuffer.countElements - added
MOAIIndexBuffer.printIndicies - added
MOAIIndexBuffer.setIndexSize
MOAIInputDevice
- added
MOAIInputDevice.getHardwareInfogets any hardware metadata string specified by host
MOAIKeyCode
- added
MOAIKeyCodeconstants that define keys in a code readable way egMOAIKeyCode.LEFTandMOAIKeyCode.RIGHT
MOAIKeyboardSensor
- changed
MOAIKeyboardSensor.keyUp,MOAIKeyboardSensor.keyIsUp,MOAIKeyboardSensor.keyDown,MOAIKeyboardSensor.keyIsDownto take a string or ... of MOAIKeyCodes - renamed
MOAIKeyboardSensor.setCallbacktoMOAIKeyboardSensor.setKeyCallback - added
MOAIKeyboardSensor.setCharCallback - added
MOAIKeyboardSensor.setEditCallback
MOAILayer
- added
MOAILayer.wndToWorldRayProject a point from window space into world space and return vector suitable for 3d picking - added
sortInViewSpaceoptional parameter toMOAILayer.setSortMode - added
MOAILayer.getCamera - added
MOAILayer.getViewport - added
MOAILayer.getFitting3d - replaced
MOAILayer.setBox2DWorldwithMOAILayer.setUnderlayTable
MOAILogMgr
- added
MOAILogMgr.LOG_DEBUG - added
MOAILogMgr.logthat takes a level and a message - added
MOAILogMgr.logthat 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.setRegtoMOAIParticleScript.setLiveReg
MOAIPartcileSystem
- added optional
stateparameter toMOAIPartcileSystem.pushPartcile
MOAIPartition
- added
interfaceMaskandqueryMaskas optional parameters to the end ofpropForRay,propList,propListForPoint,propListForRay,propListForRect - changed
propForPointto haveinterfaceMaskandqueryMaskas 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.exportToFilewithMOAISerializer.serializeToFile - replaced
MOAISerializer.exportToStringwithMOAISerializer.serializeToString
MOAIShader
- replaced with
MOAIShaderProgram
MOAIShaderMgr
- added
DECK2D_SNAPPING_SHADER,FONT_SNAPPING_SHADER,FONT_EFFECTS_SHADER,LINE_SHADER_3D - renamed
MOAIShaderMgr.getShadertoMOAIShaderMgr.getProgram
MOAISim ...