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

Username:   Password: 
 RegisterRegister   
 DanSprite problem...
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Bains




PostPosted: Fri May 21, 2004 5:43 pm   Post subject: DanSprite problem...

is there a way to detect if two sprites hit each other Question

Arrow I want to know this because im doing a mario game and i want to show something when mario squishes the bog (the brown enemy that moves)

any suggestion, advice etc.


thx
Bains
Sponsor
Sponsor
Sponsor
sponsor
Paul




PostPosted: Fri May 21, 2004 7:12 pm   Post subject: (No subject)

u can base the detection on the size of the pic, once u do, find out where the coordinate that determines where the picture is being drawn. and just set up a virtual border around the picture, I think u only need to detect the bottom anyway. You can use whatdotcolor too, I suppose...
Tony




PostPosted: Fri May 21, 2004 7:44 pm   Post subject: (No subject)

i think the question was is DanSprite included that as one of its methods. And no, I don't recall.

you should PM Hacker Dan with the sujestion to implement that.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Bains




PostPosted: Fri May 21, 2004 8:31 pm   Post subject: (No subject)

thx for the heads up tony

and thx paul for the suggestion

Bains
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: