Simple sprite control with the keyboard Flash script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: sprite_control.zip?linklokauth=dHV0b3JpYWxzL3Nwcml0ZV9jb250cm9sLnppcCwxMTY4MzMwOTE5LDgyLjIwOC4xNTEuMTM1LDAsMSxMTF8wLCw1MDJiMThlYmMyY2Q2NzdkZDM4NDA5NmFjZWE1YTg4Yg%3D%
  • Last update:
  • Platform: Windows / Linux / Mac OS
  • Language: Flash
  • Price:Freeware
  • Company: flashvalley.com (View more)

Simple sprite control with the keyboard script description:




Publisher review:
Simple sprite control with the keyboard - If you want to create a game will probably reach the point where you need to animate a little sprite on the screen If you want to create a game will probably reach the point where you need to animate a little sprite on the screen, the following tutorial is very simple, I will show you how you can control a sprite using the arrow keys. I will show you 2 different methods to do it. The sprite will be able to move in 8 directions and will flip horizontally according to the direction.

Both movies below have a frame rate of 30fps, the second movie seems to run faster because we use the setInterval method with updateAfterEvent to smoothen the animation. The first Movie use onEnterFrame and although it is a bit slower it is less cpu intensive. If you want to speed up the animation for the first movie you will have to raise the frame rate, this is not necessary when you use setInterval with updateAfterEvent, if we had a 1fps movie it will be exactly as fast, it is just dependant on the interval value you define in the method.
Simple sprite control with the keyboard is a Flash script for Financial Modeling and Analysis scripts design by flashvalley.com. It runs on following operating system: Windows / Linux / Mac OS.

Operating system:
Windows / Linux / Mac OS

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5