[Pogamut-list] Alternative shoot
Daniel
pogamut-forum at artemis.ms.mff.cuni.cz
Wed Mar 11 20:06:51 CET 2009
Re: Re: Alternative shoot
Author: Daniel
Hi Michal!
Thanks for answer my doubt, but I think I didn´t explain myself properly, sorry, I going to try again (:biggrin:)
With some weapons (lets say Shield Gun) you can have three options:
1.- Pressing once the left mouse button -> one shoot. -> command: this.body.shoot
2.- Pressing right mouse button (and hold it) -> shield -> command: ?
3.- Pressing and holding left mouse button -> you charge a powerful shoot, but you don´t shoot yet -> command: ?
3.1 - When release, then you shoot that powerful shoot -> command: ?
or the Rocket Launcher:
1.- Pressing once left mouse button -> one shoot -> command: this.body.shoot
2.- Pressing once right mouse button -> the same shoot than before -> command: this.body.shootAlternate
3.- Pressing and holding right mouse button -> 2 or even 3 misils at the same time -> command: ?
4.- Pressing and holding right mouse button, and, in the right moment, click left mouse button -> 2 or even 3 misils at the same time following a spiral trajectory -> command: ?
So what I meant is that there are more possibles than only two shoots, playing with holding the buttons in order to get a "combo" shoot, and releasing them in the exact moment to make other things, and I was wondering how to do it :D
Thanks again Michal for your time!. :-)
Dani.
> Currently it works as follows: when you call this.body.shoot it works like you would hold the left mouse button down, until you will send stopshoot command. When you cal shootAlternate it works like you would hold the right mouse button until you send stopshoot command. So if you want to hold alternate fire just call shootAlternate and when you want to stop holding call stopshoot.
> In the end it always depends on the weapon how will these methods work. In the new version we will export more information about weapons and also provide more methods to control shooting.
>
> best,
> michal
>
>
> > Hi!
> >
> > With ''this.body.shoot'', you shoot normally, ok!
> >
> > With ''this.body.shootAlternate'', you will shoot alternate fire, oki!
> >
> > But, how can I hold the alternate fire?, I mean, like in game when you hold down the right click mouse, in order to make a special shoot (i.e with the Rocket Launcher, you can shoot three misils at the same time)
> >
> > Thanks!
More information about the Pogamut-list
mailing list