https://github.com/joshtynjala/foundation-animation-making-things-move-haxe-openfl
Sample code translated to OpenFL and Haxe from Foundation ActionScript 3.0 Animation: Making Things Move by Keith Peters (Apress, 2007)
https://github.com/joshtynjala/foundation-animation-making-things-move-haxe-openfl
animation haxe openfl openfl-samples
Last synced: 7 months ago
JSON representation
Sample code translated to OpenFL and Haxe from Foundation ActionScript 3.0 Animation: Making Things Move by Keith Peters (Apress, 2007)
- Host: GitHub
- URL: https://github.com/joshtynjala/foundation-animation-making-things-move-haxe-openfl
- Owner: joshtynjala
- License: other
- Created: 2023-01-02T23:10:22.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-24T23:02:43.000Z (over 2 years ago)
- Last Synced: 2025-02-10T02:48:23.007Z (9 months ago)
- Topics: animation, haxe, openfl, openfl-samples
- Language: Haxe
- Homepage:
- Size: 13.3 MB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# [OpenFL and Haxe] Foundation Animation: Making Things Move
Sample code translated to [OpenFL](https://openfl.org/) and [Haxe](https://haxe.org/) from [_Foundation ActionScript 3.0 Animation: Making Things Move_](http://www.apress.com/9781590597910) by Keith Peters (Apress, 2007).
> Ported and shared with permission. Thank you, Keith.
Definitely [buy the book](http://www.apress.com/9781590597910) 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_.
1. 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.
```sh
openfl test html5 --app-main=SampleName
```