Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 1.33 KB

File metadata and controls

20 lines (12 loc) · 1.33 KB

[OpenFL and Haxe] Foundation Animation: Making Things Move

Sample code translated to OpenFL and Haxe from Foundation ActionScript 3.0 Animation: Making Things Move by Keith Peters (Apress, 2007).

Ported and shared with permission. Thank you, Keith.

Definitely buy the book to dive into detailed explanations of the animation concepts demonstrated in these samples. It's really one of the best Flash books ever written, and the concepts are applicable to animation in any programming environment. Honestly, a version of this book should be available for every language. It's that good!

Getting Started

Each chapter's sample code is configured as a separate OpenFL project. Compiling and running these samples to see them in action is easy!

  1. Open a terminal and navigate to a chapter directory, such as ch03.
  2. Run openfl test html5 to compile and run the currently selected sample from that chapter in a web browser.

Most chapters contain several different samples, but they're all in one project. You can uncomment a specific sample in the chapter's project.xml file, or you can use the --app-main command line option to choose a specific sample from the chapter.

openfl test html5 --app-main=SampleName