blursea
08-06-2001, 04:07 PM
i want when i am pressing the right key the image scroll right and when i relached it the image stop , mario
image scrollblursea 08-06-2001, 04:07 PM i want when i am pressing the right key the image scroll right and when i relached it the image stop , mario haoli12345 08-07-2001, 04:55 PM Cool you are working on a mario game. And here is the image moving thing hope it helps. I worked on a mario type of game before but I gave up. Here i posted a zip file with this message hope this helps. -Hao Li- blursea 08-07-2001, 06:38 PM i copied your code to a form that has a timer in a picture box, but when i press the left or right keys the picture doesn't move, did you do anything that hasn't in the code? TommyHM111 08-07-2001, 07:25 PM umm to make mario move put this in the keydown procedure if keycode = vbkeyleft then dim mariomove as variant for mariomove = 1 to 24 picMario.move left 10, top 0 next i that should make him move left a little bit and for right do the same thing except put -10 instead of +10 in the left event and change vbKeyLeft to vbKeyRight --Tommy__ haoli12345 08-08-2001, 03:13 PM The code is perfect hey did you put the timer interval to 1 if you didnt it wouldnt work. -Hao Li- |
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum