The interactive file manager requires Javascript. Please enable it or use sftp or scp.
You may still browse the files here.

Download Latest Version v0.7.1 source code.zip (29.7 MB)
Email in envelope

Get an email when there's a new version of Mojoc

Home / v0.5.0
Name Modified Size InfoDownloads / Week
Parent folder
SuperLittleRed-2.0.1.apk 2019-09-08 12.7 MB
Sample-SuperLittleRed.apk 2019-09-08 3.9 MB
README.md 2019-09-08 4.6 kB
v0.5.0.tar.gz 2019-09-08 32.7 MB
v0.5.0.zip 2019-09-08 32.9 MB
Totals: 5 Items   82.3 MB 0
  • 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 FileToolimplementation.
  • 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.
Source: README.md, updated 2019-09-08