Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Can someone please help me move Kirby's eyes
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Kobe24




PostPosted: 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)
Sponsor
Sponsor
Sponsor
sponsor
Dragon20942




PostPosted: 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
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: