Releases: scottcgi/Mojoc
v0.7.1
v0.7.0
v0.6.4
v0.6.0
-
Refactor the PhysicsCollision implementation.
-
Remove
RotateM
function inMatrix.c
. -
Rename Ortho to Orthographic.
-
Rename
Interpolates
toEasing
inATweenEase
. -
Add some collision algorithms to the
Math
. -
Add
rotatioinX
androtationY
inDrawable
. -
Add
EasingTimeFns
inATweenEase
. -
Fix precision problem of TweenEase BackInElasticOut.
-
Fix
Bounce
function error when easing complete inTweenEase
. -
Fix bug
off_t
convert tooff_t*
in functionOpenFileDescriptor
ofFile.c
. -
Fix the bug of Json
parseObject
that modifying the json string. -
Optimize matrix
ratation
. -
Optimize easing functions that delete all redundant
else
keywords. -
Optimize easing functions
ElasticIn, Out, IntOut
. -
Optimize the implementation of Json
SkipString
.
v0.5.0
-
Features
- Add
Vibrator
implementation. - Add
JniTool
functions:CallNativeActivityMethod
,CallActivityMethod
,GetField
,GetArrayLength
,GetArrayAt
,GetNativeActivityField
,GetEnvPtr
. - Add Audio
Stop
function. - Add
Create
andInit
functions with filePath. - Add
AUserData_AddSlotInt
andAUserData_AddSlotFloat
. - Add macro
AArray_MakeWithData()
. - Add Mesh drawMode.
- Add Vector and Color macro define for construct composite literal.
- Add Mesh fucntions:
Deform, DeformByIndex
. - Add
GetDrawCalls
function of ADrawable. - Add
Color RGB
macros. - Add
Deform
function of Sprite. - Add
TweenEase
functions:TweenEaseType_BackInExponentialOut, TweenEaseType_BackInElasticOut
. - Add
Thread
implementation. - Add
SystemInfo
implementation. - Add AMath inline functions:
AMath_InvSqrtf, AMath_Sqrtf in Math
. - Add
MultiplyMZ
function of AMatrix. - Add
GetWorldScaleV2
function of ADrawable. - Add macro
AMatrix_Make(...)
for construct Matrix composite literal.
- Add
-
Refactor Code (Break Compatibility)
- Refactor "JniTool" implementation.
- Refactor
Primitive
implementation. - Refactor
Quad
implementation. - Refactor
Mesh
andSubMesh
implementation. - Refactor
Physics
implementation. - Refactor
File
andFileTool
implementation. - Refactor
UserData
implementation. - Refactor
Drawable and ADrawable
implementation. - Refactor
ABitwise
implementation. - Refactor
PhysicsBody
state and collisionGroupset/add
functions. - Refactor
NativeGlue.c
context data object. - Refactor the
GetKey
function return value type fromchar*
toconst char*
. - Refactor
ACoroutine
implementation fromlabels as values
toswitch case
. - Refactor const constraints of
Json
implementation.
-
Refactor Name (Break Compatibility))
- Rename
random()
torand()
andsrandom()
tosrand()
. - Rename Id to ID.
- Rename
SetPlay
toPlay
,SetPause
toPause
. - Rename enum variable names of
MeshDefine
. - Rename JSON
Release
toDelete
. - Rename Toolkit
Head
toHeaderUtils
. - Rename
DrawableState_UpdateInverse
toDrawableState_UpdateInverseMatrix
,DrawableState_IsUpdateMVP
toDrawableState_IsUpdateMVPMatrix
. - Rename
elementArray
toelementArr
. - Rename
Json
andTween
functions name. - Rename
File
andFileTool
functions name. - Rename
SetWithQuad
toSetUVWithQuad
. - Rename
ADrawable
RenderQueue
toRender
. - Rename
BufferReader
functions name and macros. - Rename consts of
Sprite, Mesh, Quad
that make them legible.
- Rename
-
Removed Code (Break Compatibility)
- Remove
AArray_GetData
of Array. - Remove
Particle
System.
- Remove
-
Optimizations
- Optimize IOS swift calls
Mojoc
code. - Optimize
i--
to--i
as can do as possible. - Optimize
i++
to++i
as can do as possible. - Optimize
Mesh, SubMesh, Quad
data calculation. - Optimize
Skeleton
Update
function implementation. - Optimize
Physics
implementation - Optimize
BufferReader
implementation. - Optimize
File
andFileTool
implementation. - Optimize
InputTouch
implementation. - Optimize
Application
make it more clear and stable. - Optimize
composite literal
have clear length. - Optimize binary search.
- Optimize
BufferReader
TryFindString
function. - Optimize Json
ParseNumber
function. - Optimize functions:
MultiplyMX, MultiplyMY, MultiplyMV2
. - Optimize audio play callback error check.
- Optimize Json function
SkipWhiteSpace
call inParseArray
andParseObject
. - Optimize
Mesh
andSubMesh
funcations:SetUVWithQuad, CreateWithData, CreateWithQuad
. - Optimize Sprite
Deform
that move update data implementation to render function by if use VBO.
- Optimize IOS swift calls
-
Fix Bugs
- Fix
FontText
alignment bug. - Fix rendering bug when app goes into the background and not changing the content size.
- Fix Android destroy callback bug when app in background.
- Fix Audio
Release
bug in Android. - Fix
RenderLines
bug. - Fix
ANativeActivity
,OnContentRectChanged
callback bug. - Fix
NativeGlue
bug when window resized. - Fix
EGL
error setting when screen lock/unlock. - Fix E/libEGL: validate_display:99 error 3008 (EGL_BAD_DISPLAY).
- Fix OpenSLES "E/libOpenSLES: Error after prepare: 1" in some devices.
- Fix point and polygon collision algorithm error.
- Fix
v0.4.7
Update copyright. (+0.1.0)
Optimize Json ParseNumber and code format. (+0.0.1)
Json optimize if else to switch case. (+0.0.1)
Refactor Json ParseObject, ParseArray and SkipString fucntions. (+0.1.0)
Rename TweenData to Tween. (+0.1.0)
Fix tween variable name error and float value missing 'f'. (+0.0.2)
Fix code warning and modify log msg. (+0.0.2)
Add LibPng 1.6.25 XCode and AndroidStudio project. (+0.1.0)
Modify java and swift code. (+0.0.1)
Released v0.0.0
Initial release, waiting for this moment for a long time. 😎