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

Username:   Password: 
 RegisterRegister   
 How to make object shoot
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
salehyassin




PostPosted: Thu May 22, 2008 10:08 am   Post subject: How to make object shoot

hi Guys
I am working in my major project for the end of the turing course and I need to know how to make an object to shoot a bullet or some thing like super mario
thanks alot
Sponsor
Sponsor
Sponsor
sponsor
riveryu




PostPosted: Thu May 22, 2008 11:06 am   Post subject: Re: How to make object shoot

Can you be more specific about your problem?

-for shooting, use collison detection from your bullet to the target, which depends on the shape of both. look at Collison Detection Tutorial.
-for mario, you need to look at the Jump Tutorial.

Also, remember that ppl cant do your work for you.
isaiahk9




PostPosted: Thu May 22, 2008 12:57 pm   Post subject: RE:How to make object shoot

Besides what riveryu said, there is also these two threads in the first two pages :
http://compsci.ca/v3/viewtopic.php?t=18192
http://compsci.ca/v3/viewtopic.php?t=17801
Reality Check




PostPosted: Thu May 22, 2008 8:34 pm   Post subject: Re: How to make object shoot

It's been a while since I've done turing but Objects would be useful for this. I'm not sure how great objects in Turing are but I know it's possible so look up OOP in Turing. It might help your "major" project a lot. Aside from that, there are many ways to do it but efficiency is key in all programs. Look up collision detection for sure and what kind of bullet is it? Is it a single dot bullet (in this case whatdotcolour is very useful).
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: