Forum Topic: As: Following/shooting At Mouse

(19,419 views • 199 replies)

This topic is 7 pages long. [ 1 | 2 | 3 | 4 | 5 | 6 | 7 ]

<< < > >>
None

Deathcon7

Reply To Post Reply & Quote

Posted at: 3/8/08 10:25 AM

Deathcon7 LIGHT LEVEL 20

Sign-Up: 10/01/03

Posts: 5,142

At 3/8/08 10:20 AM, Serpent60 wrote: It didn't Seem to work for me, and the gun rotates on the wrong point. Break the MC Apart then remake it with the registration in the centre.

Look before you bump dude. That guy must have figured out his mistake by now seeing as its been three years.


None

Smconstpdgy

Reply To Post Reply & Quote

Posted at: 3/8/08 12:37 PM

Smconstpdgy FAB LEVEL 03

Sign-Up: 07/08/07

Posts: 28

Hey.. if anyone can get me a script for reloading.. because I tried my own.. but it doesn't work. so if you can... could you make a script of this with the gun reload/limit. Thank you, and yes, I did try the ones before this post, they won't work. Please help.


Misunderstood

Oldsage10

Reply To Post Reply & Quote

Posted at: 4/5/08 01:01 PM

Oldsage10 DARK LEVEL 08

Sign-Up: 03/26/08

Posts: 224

I can make the gun rotate and all, even shoot rapid fire but I can't make the bullets appear from the muzzle flash, this is really getting annoying, can anyone please help?


None

protoform

Reply To Post Reply & Quote

Posted at: 4/11/08 09:15 PM

protoform NEUTRAL LEVEL 04

Sign-Up: 04/01/08

Posts: 5

At 9/6/05 04:54 PM, liaaaam wrote: Click me plz

Good tutorial =D

du u have a tutorial on making that? i made a game and i cant make him shoot and move like that

As: Following/shooting At Mouse

ima chargin my lazar... shoop da woop

BBS Signature

None

coreymaroc

Reply To Post Reply & Quote

Posted at: 4/13/08 11:10 AM

coreymaroc LIGHT LEVEL 04

Sign-Up: 09/29/07

Posts: 4

thanks man im using this for an army game.

and wouldn't it be better if you make bullet count do this

var bc = 1000;
_root.onMouse = function() {
<bold>bc--;
if (bc<100) {
bc = 1000;
}</bold>
duplicateMovieClip("bullet", "b"+bc, bc);
}

so it minus and make a dynamic box so you can see how many bullets you have
just a thought, thanks again


None

coreymaroc

Reply To Post Reply & Quote

Posted at: 4/13/08 11:13 AM

coreymaroc LIGHT LEVEL 04

Sign-Up: 09/29/07

Posts: 4

At 4/13/08 11:10 AM, coreymaroc wrote:
<bold>bc--;
if (bc<100) {
bc = 1000;
}</bold>

just without the bold in it


Misunderstood

DarrkOne

Reply To Post Reply & Quote

Posted at: 4/20/08 05:28 PM

DarrkOne NEUTRAL LEVEL 06

Sign-Up: 12/24/06

Posts: 13

My character no longer aims towards the mouse.

He aims at approximately a 90 degree angle upward from where my mouse is located.

Help please?


Mad as Hell

Oldsage10

Reply To Post Reply & Quote

Posted at: 5/11/08 07:39 PM

Oldsage10 DARK LEVEL 08

Sign-Up: 03/26/08

Posts: 224

I can't figure this out. OK I will use a visual for explanation. I want my gun to rotate from where the green dot is and I need the bullets to come from the red dot. Please help, nothing I have tried works.

As: Following/shooting At Mouse


Shouting

Brycearoni

Reply To Post Reply & Quote

Posted at: 5/15/08 10:01 AM

Brycearoni FAB LEVEL 10

Sign-Up: 05/03/07

Posts: 222

Hey Denvish can I use ur code in a game that contains Newgrounds API (Flash Ad's); I though I'd ask you since it is your work. I'll PM you about it to.


None

Cojones893

Reply To Post Reply & Quote

Posted at: 5/15/08 10:09 AM

Cojones893 EVIL LEVEL 22

Sign-Up: 03/09/03

Posts: 2,343

At 5/15/08 10:01 AM, Brycearoni wrote: Hey Denvish can I use ur code in a game that contains Newgrounds API (Flash Ad's); I though I'd ask you since it is your work. I'll PM you about it to.

Although good practice to ask developers about using their code. You don't have to ask to use anything in the AS:Main that is why it was created.


None

micky315

Reply To Post Reply & Quote

Posted at: 5/22/08 05:57 PM

micky315 DARK LEVEL 09

Sign-Up: 08/02/07

Posts: 266

it doesnt work

BBS Signature

Resigned

IAMRECANT

Reply To Post Reply & Quote

Posted at: 5/24/08 04:08 PM

IAMRECANT LIGHT LEVEL 14

Sign-Up: 08/23/05

Posts: 5

So, how would I go about making the shooting a little bit more random? Like a spray?


None

0-DERF-0

Reply To Post Reply & Quote

Posted at: 7/30/08 01:26 PM

0-DERF-0 FAB LEVEL 14

Sign-Up: 03/28/06

Posts: 100

I love you denvish

Afro


None

Wolfears2

Reply To Post Reply & Quote

Posted at: 7/30/08 01:34 PM

Wolfears2 EVIL LEVEL 08

Sign-Up: 10/20/07

Posts: 843

Really informative, nice one denvish =)

Click my sig for a hilarious thread.

BBS Signature

None

Buster60

Reply To Post Reply & Quote

Posted at: 8/22/08 04:21 AM

Buster60 NEUTRAL LEVEL 05

Sign-Up: 04/02/08

Posts: 69

great guide but I have a problem!! all of the angles r realy messed up and My player shoots the bullets 90 degrees right of my mouse. ive tried to change the angles but its still doesnt work. any help?

Dress up the planet game! check it out!
http://www.newgrounds.com/portal/vi ew/457422

BBS Signature

None

Theomylad

Reply To Post Reply & Quote

Posted at: 9/10/08 12:32 AM

Theomylad LIGHT LEVEL 11

Sign-Up: 07/14/07

Posts: 92

Savior.

Zelda is like high-fructose-corn-syrup-based cookies with extra MSG preserverative, it never goes bad!


Mad as Hell

stealthxtoons

Reply To Post Reply & Quote

Posted at: 9/12/08 03:48 PM

stealthxtoons DARK LEVEL 03

Sign-Up: 09/04/07

Posts: 287

can someone please JUST make a sidescroller shooter tutorial please


None

kingofbuttons

Reply To Post Reply & Quote

Posted at: 10/14/08 10:30 AM

kingofbuttons LIGHT LEVEL 08

Sign-Up: 07/31/08

Posts: 290

At 9/6/05 04:53 PM, Denvish wrote:
At 9/6/05 04:49 PM, PsychoSunburst wrote: Great, I needed this code for a game i'm planning!!!
I hope you're going to spend some time actually understanding the code, rather than just copy/pasting it...

W all know thats not gonna happen...

LOL

None

mayoarm11

Reply To Post Reply & Quote

Posted at: 10/14/08 10:34 AM

mayoarm11 NEUTRAL LEVEL 14

Sign-Up: 06/13/07

Posts: 795

why bump such an old thread for such an insignificant post?

neways, this is a great tut. definetely helped me awhile ago.

Awesome turret game in the making, featuring around 80 uniqe turrets: suggestion thread | News post | Preview Image

BBS Signature

None

mariomaster123

Reply To Post Reply & Quote

Posted at: 11/1/08 01:52 PM

mariomaster123 LIGHT LEVEL 09

Sign-Up: 04/27/08

Posts: 155

wow, this was helpful, just one question, I have my rotating at the opposite end where the bullet is supposed to come out... is this fixable?

It is ALWAYS peanut butter jelly time...

BBS Signature

All times are Eastern Standard Time (GMT -5) | Current Time: 11:14 AM

<< Back

This topic is 7 pages long. [ 1 | 2 | 3 | 4 | 5 | 6 | 7 ]

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!