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

Username:   Password: 
 RegisterRegister   
 Do I need a sprite for this?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
harishmabish




PostPosted: Fri Apr 04, 2008 5:40 pm   Post subject: Do I need a sprite for this?

I want to make a car move, and while moving get larger?
So there any way I can expand the size of an image?
for example, you know how with Input.KeyDown you can move an image somewhere on the screen, well im wondering if you could basically do the same thing, except not move it around, but make it larger?
Sponsor
Sponsor
Sponsor
sponsor
syntax_error




PostPosted: Fri Apr 04, 2008 5:42 pm   Post subject: RE:Do I need a sprite for this?

as far as I know there is no way to enlarge an image maybe just redraw teh image bigger each time?
and no imho, sprite are un-needed for this
Jestar




PostPosted: Fri Apr 04, 2008 6:15 pm   Post subject: RE:Do I need a sprite for this?

cant you change the width and height of the image?
Nick




PostPosted: Fri Apr 04, 2008 6:34 pm   Post subject: RE:Do I need a sprite for this?

Pic.Scale Wink
Sean




PostPosted: Sun Apr 06, 2008 6:48 pm   Post subject: Re: Do I need a sprite for this?

If you created the image by drawing it with all shapes (eg. drawfilloval), you need to increase the y value of the shapes to make it larger. One of them, not both.
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: