Forums » C# Framework » this.unschedule(bullets); »
| shivalingesh nashipur | this.unschedule(bullets); | ||||
|---|---|---|---|---|---|
|
Added by shivalingesh nashipur about 1 year ago
this.schedule(bullets,0.3f); public void bullets(float interval)
{ public override void ccTouchesEnded(List<CCTouch> touches, CCEvent event_)
{ public void throwprojectile(CCPoint realDest) {
I am tryng to throw bullets at sheduler and whenever user clicks on screen i did changed the target destination once again i want to shoot at default when user doesnt clicks ??? |
||||
| shivalingesh nashipur | RE: this.unschedule(bullets); | ||||
|
Added by shivalingesh nashipur about 1 year ago
Right now i used some flags, and its working,, but how to pause and resume shedule???????? |
||||
| Jacob Anderson | RE: this.unschedule(bullets); | ||||
|
Added by Jacob Anderson 9 months ago
I know this is a very old post, but did you see:
This will allow you to pause and resume the scheduler on your target. |
||||
| Raghu S | RE: this.unschedule(bullets); | ||||
|
He's not working on this anymore.. but thanks for the reply. |
||||
| Jacob Anderson | RE: this.unschedule(bullets); | ||||
|
Added by Jacob Anderson 9 months ago
hi Raghu, I noticed someone posted a question about Box2d and cocos2d-xna. Are you using The Bullet XNA API or some other xna-bullet-type API? i am wondering if I need to port box2d or just add support for bullet and other bullet-type APIs? -- jake |
||||
| Raghu S | RE: this.unschedule(bullets); | ||||
|
Hi Jake, No I have not used Bullet XNA yet. It would be very cool to have this. It is better to ask other Dev's about their interest to have this in cocos-xna. regards, |
(1-5/5)