VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Code for Flash like PATH ANIMATION in your game

Hari Krishnan  (5 Submissions)   Games   Intermediate   Wed 3rd February 2021

Want to move objects in a smooth curves. A catmull-rom Path moving algorithm is presented here.
This very simple program show you how to:
1) Create smooth path interpolations with the Catmull-rom algorithm (Curve passes smoothly through the control points you provide).
2) Move objects through the path generated.
Forward referencing is used to solve the Catmull-rom cubical equation, where adding the third dimension is just that easy as a Copy-Paste operation.

Rate Code for Flash like PATH ANIMATION in your game (8(8 Vote))

Download Code for Flash like PATH ANIMATION in your game

Code for Flash like PATH ANIMATION in your game Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters