Main Menu

Easy Run

Started by ATLUS, April 08, 2008, 11:09:11 AM

Previous topic - Next topic

ATLUS

press two rightkey! i has added this Exampl in codetank but wrong sorry

PlayBASIC Code: [Select]
statswall=1;status
x#=10;position
y#=560
speed#=0.02;walk speed
run#=0.09;run speed
do
cls rgb(12,12,12)
circle x#,y#,20,1;position chartes
if rightkey()=1 then statswall=statswall+1:x#=x#+speed#;walk and creat new status
if statswall=3 then x#=x#+run#;run
if statswall>3 then statswall=1;limit status
if leftkey()=1 then x#=x#-0.12:statswall=1;if char go away status zero
if x#>770 then x#=770;limits zone
if x#<1 then x#=1;limits zone
sync
loop





kevin

#1
 ATLUS,

  I've removed the CodeTank version, so you can upload a new one yourself



   

ATLUS