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

Username:   Password: 
 RegisterRegister   
 Graphic Problems in Game
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
platky




PostPosted: Sat Mar 28, 2009 12:42 pm   Post subject: Graphic Problems in Game

This is my game so far. Its a work in progress.
The problem is the the gun gets cut off when the arm rotates. I dont really know how to fix this.
Anyway heres the game:



Game.rar
 Description:
Tank Man

Download
 Filename:  Game.rar
 Filesize:  180.54 KB
 Downloaded:  56 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Sat Mar 28, 2009 1:07 pm   Post subject: RE:Graphic Problems in Game

I think the arm is cut off because you're drawing it after the body. Try Pic.SetTransparentColor (color) for each image. picMerge does nothing without setting the invisible color (unless you did that and I didn't see it...)


EDIT: Almost forgot, Great job! This is an excellent demonstration of your programmering abilities! (yes, programmering)
saltpro15




PostPosted: Sat Mar 28, 2009 7:08 pm   Post subject: RE:Graphic Problems in Game

way to invent new words insectoid! also I'm sure you know this but 6 posts till you're in the V.I.P. lounge, let me know what it's like, I won't be there for a while Sad oh and platky, nice, that's a pretty impressive game
platky




PostPosted: Sat Mar 28, 2009 8:31 pm   Post subject: Re: Graphic Problems in Game

Thanks for the help im still having problems though. I did a Set.TransparentColor on the character but it didnt work. Also the arm and gun have to be set after the character or they will appear behind him...

Oh and thanks for the compliments its for my grade 11 isu.

EDIT: I fixed the problem. All I had to do is increase the canvas size of the gun and arm by a large amount...



Game.rar
 Description:
tankMan

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

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  [ 4 Posts ]
Jump to:   


Style:  
Search: