The blue text that starts with "A long time ago in a galaxy.".There are 3 basic views that we are creating:
To accomplish the task of creating the Star Wars Intro, We only need one view and controller.
#Star wars intro fight music android#
rotationY - Property available on every Android view that allows rotation around y-axisĪs you know, Titanium Mobile apps for iOS and Android are cross-platform native which means they are written in JavaScript and XML and then a native app (in Objective-C/Swift or Java) is created at compile-time.rotationX - Property available on every Android view that allows rotation around x-axis.Ti.UI.Animation - Apply one or more animations to any view in iOS and Android.Titanium.UI.Matrix2D - Apply a 2D Matrix to a view in iOS and Android.Titanium.UI.Matrix3D - Apply a 3D Matrix to a view in iOS.Here are some of the most common classes/properties used with animating a view.
It just means we need to use different functions for each. That doesn't mean that we can't do what you are looking for. iOS supports 3D Matrix type animations whereas Android only supports 2D Matrix animations. There are couple things to understand about animations and the differences in the underlying platforms (iOS and Android). If you are in a hurry, you can jump to the solution where I provide the source code for a working Titanium app for both iOS and Android, but I encourage you to look at some of the explanations below to help understand what the code is doing.Ĭheck out a demo video of the completed Titanium app with the Star Wars intro!
#Star wars intro fight music how to#
Titanium Mobile SDK supports all sorts of animations and since today is May the 4th, I will do you one better and not only show you how to do the animations BUT ALSO provide you with the code you need to recreate the Star Wars intro in Titanium Mobile for BOTH iOS and Android! I need it to work on both iOS and Android so any guidance you can give me would be very helpful! Specifically, I am trying to recreate the Star Wars intro with the scrolling text for May the 4th. I really want to try to add some 3d animations to my iOS and Android mobile app built with Titanium SDK.