Free ActionScript

Flash AS2 & AS3 Tutorials, Game Code, Effects, Source Files & Sample Downloads

Smooth 4-way Player Movement

This Flash game example shows you how to create smooth 4-way player movement with acceleration & friction. This fla also shows you how to create a screen-wrap effect (think asteroids).

Custom Settings:

  • max velocity
  • acceleration
  • friction

Preview

Download Fla Sample

Download Fla Sample