
-----------------------------------
salehyassin
Thu May 22, 2008 10:08 am

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

-----------------------------------
riveryu
Thu May 22, 2008 11:06 am

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
Thu May 22, 2008 12:57 pm

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
Thu May 22, 2008 8:34 pm

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).
