Scripts Index
Flash Software  

Simple sprite control with the keyboard

download download home home   report broken
important script information
company name:
flashvalley.com
license: Free
minimum requirements: Flash
functional limitations:
Simple sprite control with the keyboard description
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.
Similar scripts
Local Flash FLV Video & MP3 Player (Popularity: ) : This is a simple program which allows the users to make a verification of their system's FLV and MP3 properties. In this tool audio and video files were compressed. For FLV and MP3 files this tool acts as a browser. ...
360 Flash Panorama Viewer (Popularity: ) : View panoramas over the Internet. This panoramic viewer enables people to interact with panoramas, so that they can look around, zoom in and out and look up and down - all of which creates a sensation of virtually being there!
Flash MP3 Player and Flash MP3 Component (Popularity: ) : This may be one of the best values on our website.. Advanced, XML-configured MP3 player, and corresponding Flash component (BOTH are included!). MP3 player and Flash component are fully customizable, and both include 100% of the source code, with free ...
Flash HTML Table Creator asp .NET XML (Popularity: ) : Flash HTML table Template Creator on FLASH+XML+ASP .NET base. Create & Load Nested table in flash and Save to MSSQL Server (XML) via NET aspx page. Than render HTML Table from XML on server.
FLV Video Player (Popularity: ) : FLV Video Player is a Flash-based Video player with User Interface in DHTML and JavaScript.It minimizes cost to update the UI; UI can reflect changes in other dynamic systems. It minimizes also the number of times you need to compile the SWF flash ...
Flash Forum/Message Board (Popularity: ) : This is a lite Flash forum meant as an easy way for anyone to add a small Flash forum to their site. It uses only text files and one PHP script. It should only take minutes to install. It is ...
Photo Flash Gallery - World's Number One Flash Gallery (Popularity: ) : Artist? Professional designer? Photographer? Display your online portfolio with attitude and style!
Just amateur? Share your favorites pictures online!
Top reason to choose: easy and fast install; unlimited number of pictures; full browser view mode; full custom look and feel; build in ...

360g Flash Panorama (Popularity: ) : The 360g Flash Panorama is a feature rich multimedia addition to any website and includes many nifty features which will enable you to boost your website or presentation to a whole new level.It enables you to have mind-blowing high quality ...
Panorama Viewer Projector 1.1 (Popularity: ) : Panorama Viewer is a editable flash viewer for panoramic pictures. Its easy to install on the homepage. Many parameters can be editated in a text - file.
The projector is a stanalone Viewer for Windows

Flash Data Table Effect Creator (Popularity: ) : Do you want to use loading data from database into flash table?
Do you want to use customized dynamic flash tables?
Do you want to use customized cells in flash tables?
Do you want to use customized effect on talbe cells?

It is a ...

User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Similar Software
Shibo the Keyboard Piano (Popularity: ) : Shibo the Keyboard Piano is the closest to the real thing you can get.<br /><br />With 8 marvelous high quality sound packs (both acoustic and electric), a built in reverb and record to disk options, we have no choice but ...
GiMeSpace Cam Control (Popularity: ) : Control your computer by making gestures in front of your webcam! You can simulate mouse movements, the keyboard cursor keys, or control the GiMeSpace virtual desktop manangers. This program allows you to control your computer by making movements with a ...
Saitek Joystick P750 Pad 4.3.3.2000 (Popularity: ) : Improve your control with the Directional Lock axes on the P750 Digital Gamepad. You also get unlimited programming power with Saitek Smart Technology software. The gamepad has a simple "Plug-and-Play" USB connection and auto-configures for the game being played.. Saitek ...
D-Link DCS-1000 Firmware 1.30 (Popularity: ) : Remote Webcam Streaming
With the D-Link DCS-1000, you can remotely monitor your home or office or provide a web page with a network camera viewing anything you want it to show. The DCS-1000 provides you with an intuitive interface with simple ...

MouseFIGHTER (Popularity: ) : MouseFIGHTER is a simple piece of software that gives you control of the screen pointer, using the keyboard instead of a mouse. Try controlling Windows with the keyboard alone ! Its so much more ergonomically correct for the human body. ...
History Explorer (Popularity: ) : History Explorer gives you simple version control while keeping a local backup of your important files. Have you ever wanted to "go back" and look at your file(s) a few hours or days ago? History Explorer is a Time Machine ...
Version Control with TeamCoherence (Popularity: ) : Team Coherence Version Control is a flexible and cost effective solution that helps to manage projects for all sizes of development teams. Depending on your needs, you can start reaping the benefits of this powerful tool for as little as ...
Alphabet, Shapes and Colors (Popularity: ) : With this small and very simple program you'll turn your 2-year-old child into an alphabet expert! This happened to our kids: 3-year-old Lena and 2-year-old Simon. The application is also helpful in learning colors and basic shapes. Just let your ...
Muse - Pandora Radio Player (Popularity: ) : Pandora Radio*better! Muse makes Pandora Radio as easy as iTunes with keyboard shortcuts, AirPlay, song notifications, and more!<br /><br />* Take control with the media keys, keyboard shortcuts, and the Apple remote<br />* Stream to AirPort Express, Apple TV, or ...
Splashtop Remote Desktop for iOS and Android (Popularity: ) : A must-have for your phone, tablet or PC! Enjoy all that your computer has to offer OCo remotely from your mobile devices. With SplashtopT« Remote Desktop, you can fully access and control your PC in any way imaginable. Features: Access ...
ad


Rate me
supported os
All
stats
downloads 4
version 1.0
size in Kb
popularity   
6649/370766
user rating 5/10
New Scripts
Popular Scripts
Latest Reviews