Flash End-of-Life, Ruffle Integration!
This game runs on Adobe Flash. Effective Jan. 2021, Adobe began blocking its flash player's use everywhere. Kongregate is now partnering with Ruffle to make some of our Flash content playable again. Please note: If you are using Ruffle, badges will not work normally. In order to earn a badge in a Flash game, you will need to complete the badge, then submit a screenshot (showing both proof of completion and your username) as a missing badge report using the report missing achievement option. Also, please join us in the Kongregate Discord for all the latest Kongregate news!
Flash Tutorial For Beginners
von creeplover
Flash Tutorial For Beginners
Tags für Flash Tutorial For Beginners
Beschreibung
Welcome to the Beginner Flash Tutorial! This will show a step-to-step process for new flash users. If you are just new to flash, or are confused about tools or making buttons, you are welcomed in. I would strongly recommend new flash programmers to know these basic functions so you can eventually make your own games yourself! Please PM me if you have any problems. Here is the code for the moving object part in AS 3.0.
class object extends MovieClip
{
var velocity;
function onLoad()
{
velocity = 10;
}
function onEnterFrame()
{
if( Key.isDown(Key.RIGHT) )
{
_x = _x + velocity;
}
if( Key.isDown(Key.LEFT) )
{
_x = _x - velocity;
}
if( Key.isDown(Key.UP) )
{
_y = _y - velocity;
}
if( Key.isDown(Key.DOWN) )
{
_y = _y + velocity;
}
}
}
Spielanleitung
Follow the guide by using buttons.
Kommentare
smasherbot
Jun. 18, 2010
i luv dis :)
bhattarai333
Aug. 01, 2010
on(keyPress "")
{_x -= 3}
on(keyPress "")
{_x +=3}
on(keyPress "")
{_y -=3}
on(keyPress ""
{_y +=3}
3= speed, if you want to make it faster slower, just add or subtract, much easier than the other one.
piotraper
Jul. 07, 2011
gonna make a game... or just try :P
ers99
Nov. 03, 2010
Plz do one for CS5.
Olimar72
Feb. 19, 2010
Sweet! So awsome! Learned so much, THANK YOU! Also, if you click music button more than once, it will play more than one copy of the song. Other than that, so awsome!