r/actionscript • • Dec 29 '13

How would I do a physics engine?

Nothing extreme, just enough to jump then fall down again.

3 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/Aceiopengui Dec 29 '13

Those are great, thanks! The only thing is that I'm supposed to write my own code for this project. Just looking for some pointers.

1

u/[deleted] Dec 29 '13 edited Dec 30 '13

OK, start here http://books.google.co.nz/books/about/Foundation_Actionscript_3_0_Animation.html?id=JaBAAAAAQBAJ&redir_esc=y there is a whole section on character movement. You'll get pretty much any equation you need from this book for most simple games. It's still a great reference book to this day

edit: link