Computer Science Canada Can someone please help me move Kirby's eyes |
Author: | Kobe24 [ Thu May 15, 2014 6:31 pm ] |
Post subject: | Can someone please help me move Kirby's eyes |
Hi, I need help making Kirby's eyes move from left to right a little. Here is my code, I would appreciate if someone would help me quick! Also is it possible to make Kirby jump. if possible please help. Thanks! colorback (88) cls var intfont : int intfont := Font.New ("Arial Black:18") Font.Draw ("KIRBY", 280, 350, intfont, blue) Draw.FillOval (280, 120, 40, 40, red) %Legs Draw.FillOval (370, 120, 40, 40, red) Draw.FillOval (320, 200, 100, 100, 36) %Body Draw.FillOval (240, 260, 30, 37, 37) Draw.FillOval (420, 180, 30, 37, 37) %hand Draw.FillOval (300, 230, 10, 25, black) %Eyes Draw.FillOval (340, 230, 10, 25, black) Draw.FillOval (300, 238, 5, 10, white) %Glow in eyes Draw.FillOval (340, 238, 5, 10, white) Draw.FillOval (320, 180, 12, 12, red) %Mouth Draw.FillOval (320, 175, 6, 6, 85) Draw.FillOval (270, 200, 13, 8, 85) Draw.FillOval (370, 200, 13, 8, 85) |
Author: | Dragon20942 [ Thu Jun 05, 2014 12:50 am ] |
Post subject: | RE:Can someone please help me move Kirby\'s eyes |
It could help if you used variables in loops. 1. What do you want to change? Use the variable for this. 2. How do you want the variable to change? Do this in the loop. If you don't know how to do this, Variables: http://compsci.ca/v3/viewtopic.php?t=9634 Loops: http://compsci.ca/v3/viewtopic.php?t=3678 |