Skip to content

Releases: scottcgi/Mojoc

v0.7.1

20 Oct 08:10
Compare
Choose a tag to compare

Fix the Tween error with queue actions.

v0.7.0

18 Aug 02:55
Compare
Choose a tag to compare
  • Update the Vibrator API of Android.
  • Add Smooth function and Set the Smooth as the default ease.
  • Optimize the Tween implementation by remove the queueAction.
  • Refactor the ArrayQueue, rename Push to Enqueue and Pop to Dequeue.
  • Improve the code comments.

v0.6.4

18 Feb 16:32
Compare
Choose a tag to compare
  • Fix static missing of EGLTool function.
  • Add AFont_SetTextColor to Font.
  • Add docs to repo.
  • Improve comments and logs of Application, Input, Vibrator.
  • Update the CodeStyle site for all source code.

v0.6.0

06 Feb 05:33
Compare
Choose a tag to compare
  • Refactor the PhysicsCollision implementation.

  • Remove RotateM function in Matrix.c.

  • Rename Ortho to Orthographic.

  • Rename Interpolates to Easing in ATweenEase.

  • Add some collision algorithms to the Math.

  • Add rotatioinX and rotationY in Drawable.

  • Add EasingTimeFns in ATweenEase.

  • Fix precision problem of TweenEase BackInElasticOut.

  • Fix Bounce function error when easing complete in TweenEase.

  • Fix bug off_t convert to off_t* in function OpenFileDescriptor of File.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

08 Sep 07:02
e7d7610
Compare
Choose a tag to compare
  • Features

    • Add Vibratorimplementation.
    • Add JniTool functions: CallNativeActivityMethod, CallActivityMethod, GetField, GetArrayLength, GetArrayAt, GetNativeActivityField, GetEnvPtr.
    • Add Audio Stop function.
    • Add Create and Init functions with filePath.
    • Add AUserData_AddSlotInt and AUserData_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.
  • Refactor Code (Break Compatibility)

    • Refactor "JniTool" implementation.
    • Refactor Primitive implementation.
    • Refactor Quad implementation.
    • Refactor Mesh and SubMesh implementation.
    • Refactor Physics implementation.
    • Refactor File and FileTool implementation.
    • Refactor UserData implementation.
    • Refactor Drawable and ADrawable implementation.
    • Refactor ABitwise implementation.
    • Refactor PhysicsBody state and collisionGroup set/add functions.
    • Refactor NativeGlue.c context data object.
    • Refactor the GetKey function return value type from char* to const char*.
    • Refactor ACoroutine implementation from labels as values to switch case.
    • Refactor const constraints of Json implementation.
  • Refactor Name (Break Compatibility))

    • Rename random()to rand() and srandom() to srand().
    • Rename Id to ID.
    • Rename SetPlay to Play, SetPause to Pause.
    • Rename enum variable names of MeshDefine.
    • Rename JSON Release to Delete.
    • Rename Toolkit Head to HeaderUtils.
    • Rename DrawableState_UpdateInverse to DrawableState_UpdateInverseMatrix, DrawableState_IsUpdateMVP to DrawableState_IsUpdateMVPMatrix.
    • Rename elementArray to elementArr.
    • Rename Json and Tween functions name.
    • Rename File and FileTool functions name.
    • Rename SetWithQuad to SetUVWithQuad.
    • Rename ADrawable RenderQueue to Render.
    • Rename BufferReader functions name and macros.
    • Rename consts of Sprite, Mesh, Quad that make them legible.
  • Removed Code (Break Compatibility)

    • Remove AArray_GetData of Array.
    • Remove Particle System.
  • 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 and FileTool 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 in ParseArray and ParseObject.
    • Optimize Mesh and SubMesh funcations: SetUVWithQuad, CreateWithData, CreateWithQuad.
    • Optimize Sprite Deform that move update data implementation to render function by if use VBO.
  • 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.

v0.4.7

16 Jan 09:22
Compare
Choose a tag to compare

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

02 Jul 12:28
Compare
Choose a tag to compare

Initial release, waiting for this moment for a long time. 😎