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!
Simple Show of Coding
von SnipingMayhem
Simple Show of Coding
Tags für Simple Show of Coding
Beschreibung
A simple show of how 15 lines of coding can make a simple game. The coding included was velocity variables and a limit to the variables so the object wont go off the play area.
Due to comments here is the code i used...
class ty 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;
}
}
}
Please donate and help me to make more games thanks everyone.
Contact me if you have any problems or want to learn how to do this :)
Spielanleitung
Up, Down, Left, Right
Kommentare
asmit10
Nov. 30, 2010
The cross is uneven lol
Heylon
Sep. 06, 2009
Donate?!!! Hell no for me donate you need context menus Shared objects and good game play....sorry 1/5
Petpet987
Sep. 03, 2009
Is this a joke?
Yoh0Asakura
Mar. 25, 2009
Lol, You help me, -T-A-N-K- -Y-O-U-!-!-!-!-
It's a SHOT, make a game.
Where you get this code?
Lucifer145
Feb. 19, 2009
wow, nothing you can get using shootorials... wait a second...