////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Entity upmoving , and changes direction , when he hits wall , no gravity (I ain't ´good at that shit!) ... (Programming language = WDL)

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

define health,skill1;
define animation, skill2;
define force,skill3;

function walking_robot_ev()
{
if(event_type == event_block)||(event_type == event_entity){my.pan = random(360);wait(1);}
}


action walking_robot
{
my.health = 5;
my.enable_block = on; my.enable_entity = on; my.event = walking_robot_ev;
while(my.health > 0){my.force = 3; ent_move(my.force ,nullvector); my.animation+=3; ent_cycle("walk",my.animation);wait(1);}
}

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

/B