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.isd…show morea 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 :)show less
iangogo.itch - A crime thriller where you must avoid the police and ..
bestflashgames - The game show of shadows belongs to the categories puzzle, ..
gamingcloud - Show of shadows on the free online games site gamingcloud.
rafaelgdp.itch - This is just a simple game of life cellular automaton ..
qgames - People go to the circus to be entertained and to have fun. ..
kongregate - In coded hallway, you will be given a riddle and a code to ..
nick - Learn the basics of coding with spongebob squarepants and ..
bellok.itch - A simple game of agro and run (or don't) - a project ..
Comments