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

Username:   Password: 
 RegisterRegister   
 A few character moving questions
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
platky




PostPosted: Mon Feb 23, 2009 9:03 pm   Post subject: A few character moving questions

I have two questions about my game character:

1) My character is simple and only has two parts - Arm and the rest
I want to be able to lift my arm up and down like a normal arm and i dont know how to rotate
images at all let alone a custom pic
2) I want my character to be able to turn - i click right arrow he faces right, i click left he faces left

Any help would be greatly appreciated

P.S dont pay attention to the boxes around my character or the white around my character
its just temporary



Game.rar
 Description:
my game

Download
 Filename:  Game.rar
 Filesize:  11.62 KB
 Downloaded:  48 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Mon Feb 23, 2009 9:21 pm   Post subject: RE:A few character moving questions

Pic.Rotate will rotate the picture.
platky




PostPosted: Tue Feb 24, 2009 9:31 am   Post subject: RE:A few character moving questions

I tried using Pic.Rotate but i still dont really know what im doing. I want it to rotate at the shoulder and just lift up and down a bit.
Like if i click 'd' arm lifts up etc
copthesaint




PostPosted: Tue Feb 24, 2009 12:25 pm   Post subject: RE:A few character moving questions

var RotatedPic := Pic.Rotate ('Picture Var name',Rotated ammount,X point of picture to rotate at,Y point of picture to rotate at)
platky




PostPosted: Tue Feb 24, 2009 6:30 pm   Post subject: RE:A few character moving questions

Thanks i finally got it to work but does anyone know how to make change what way my character faces if i click left or right?
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  [ 5 Posts ]
Jump to:   


Style:  
Search: