How to make object shoot
Author |
Message |
salehyassin
|
Posted: 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
|
|
|
riveryu
|
Posted: 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
|
|
|
|
|
Reality Check
|
Posted: 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). |
|
|
|
|
|
|
|