hello guys ,,
iam working on a project that simulates this game which an arcade game from the 90's
http://i42.tinypic.com/24pe7vp.jpg
but iam stuck in somewhere ,,
first how to make the white clothed guy ( Ryu ) to move randomly horizantally
i made some code for that but its not working as i wanted it to do ,,
second i want him as well ,, to play automatically ,, to hit ( ken ) ..
i wonder if setImage method and delay method can do that with an array ,, ?
can some suggest a code for me ,,
last thing if iam going to apply somthing like a life bar ,, it should be decreased with every hit the player gets from the other player ,,
can ( isTouching method ) and ( setImage ) method with an array can help doing that ?
i upload it the game as .rar file on an external site as greenfoot refused to upload it since its too large !! and i didnt know how to make a jar file !!
please guys feel free to comment me and correct me as much as u can to get this issue done !
coz its only these three proples ,, otherwise the game is done for me ,, as i know wt should be done :)
regards !!
here is the link
http://speedy.sh/KpnFW/project.rar
the code