-
1 Attachment(s)
Easing ported to Android
Hi All,
following my learning curve from iOS and Android i ported the Easing object made by Mr. Anders in iOS to android.
please try it and let me know, i think it can be improved, but for the time i just did a literal translation.
copy the zip file inside your MMF installation in Data/Runtime/Android.
-
Thanks, Fernando! This is amazing :D
-
-
-
Thanks All,
Glad to help!
-
Easing ported to Android
Good work! Where did you get the extension SDK? I can't find one anywhere.
-
FROM THE DATA RUNTIME ANDROID ALL CODE ARE IN ZIP
CREATE A FOLDER WITH ALL INSIDE JUST LIKE FLASH SDK
SORRY FOR CAPITAL LETTERS (THE SHIFT KEY GOT STUCK I WILL CLEAN LATER)
-
Hi Fernando!
I got the following error:
Buildfile: C:\Users\RICHAR~1\AppData\Local\Temp\AndD54A.tmp\b uild.xml
-set-mode-check:
-set-debug-files:
-check-env:
[checkenv] Android SDK Tools Revision 20.0.3
[checkenv] Installed at C:\Android\android-sdk
-setup:
[echo] Project Name: RuntimeAndroid
[gettype] Project Type: Application
-set-debug-mode:
-debug-obfuscation-check:
-build-setup:
[echo] Resolving Build Target for RuntimeAndroid...
[gettarget] Project Target: Android 4.0
[gettarget] API level: 14
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\Users\RICHAR~1\AppData\Local\Temp\AndD54A.tmp\b in
[mkdir] Created dir: C:\Users\RICHAR~1\AppData\Local\Temp\AndD54A.tmp\b in\res
[mkdir] Created dir: C:\Users\RICHAR~1\AppData\Local\Temp\AndD54A.tmp\b in\classes
[echo] ----------
[echo] Resolving Dependencies for RuntimeAndroid...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
[dependency] API<=15: Adding annotations.jar to the classpath.
[echo] ----------
[echo] Building Libraries with 'debug'...
[subant] No sub-builds to iterate on
-pre-build:
-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[renderscript] No RenderScript files to compile.
[echo] ----------
[echo] Handling Resources...
[aapt] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.
-pre-compile:
-compile:
[javac] Compiling 363 source files to C:\Users\RICHAR~1\AppData\Local\Temp\AndD54A.tmp\b in\classes
[javac] C:\Users\RICHAR~1\AppData\Local\Temp\AndD54A.tmp\s rc\Extensions\CRunEasing.java:219: error: cannot find symbol
[javac] float overshootI = file.readFloat();
[javac] ^
[javac] symbol: method readFloat()
[javac] location: variable file of type CBinaryFile
[javac] C:\Users\RICHAR~1\AppData\Local\Temp\AndD54A.tmp\s rc\Extensions\CRunEasing.java:220: error: cannot find symbol
[javac] float amplitudeI = file.readFloat();
[javac] ^
[javac] symbol: method readFloat()
[javac] location: variable file of type CBinaryFile
[javac] C:\Users\RICHAR~1\AppData\Local\Temp\AndD54A.tmp\s rc\Extensions\CRunEasing.java:221: error: cannot find symbol
[javac] float periodI = file.readFloat();
[javac] ^
[javac] symbol: method readFloat()
[javac] location: variable file of type CBinaryFile
[javac] 3 errors
BUILD FAILED
C:\Android\android-sdk\tools\ant\build.xml:679: The following error occurred while executing this line:
C:\Android\android-sdk\tools\ant\build.xml:692: Compile failed; see the compiler error output for details.
Total time: 5 seconds
-
1 Attachment(s)
upss!!, i forgot, i made some changes inisde the runtime, i will make them inside the object and post right away, so no need the runtime.
thanks!!!
CHANGED, please try and let me know
-
Thanks Fernando for this extension!!! :)
-
1 Attachment(s)
HI All,
I check the extension and remove the calculation from runtime and include inside the extension, please download again, it should works now.