Really need help on this one

Alright, here’s the deal…

Looking towards Lostinbeta…Possibly PlayaMarz

I’m making a stick type edition of Smash T.V. (If you’ve never heard of, or played it, it was a game back in the day of NES/SNES… where you were on a game show, to kill hoodlums, orbs, bosses, collect money/gold in an arena. Getting back to the question…)

So, I’ve made everything. The arena, the 1st player, money and gold, but when I try to get the stick to shoot (That’s how it is in Smash T.V., you have unlimited ammo to shoot enemies…) I just can’t get it to work, partially because the stick’s movement is different than normal… He rotates… to walk you press the up arrow, then to turn you press the left and right arrows to rotate…

I really need some help on this… Many of my good friends that are much better than me at scripting can’t even figure it out… :frowning:

Yes, I’ve taken tuts… even the on on here, but it differs with the controls…

Any help will be very, very much appreciate… and your name will definitely be in the credits… if you even care… :bad:

Thanks in Advance,

KoRRupt

there are answers to your question embeded in the “best of Kirupa” section. I’ve seen them in there. I’ll do some searches and see what I can come up with, I suggest you do as well.

If I don’t find it tonight… I should be able to post some code in the morning that I have which does that. It’s a matter of finding the angle and then setting the “shots” velocity based upon that.

lost might know off the top of his head as well.

Alright man, thanks alot…

I’ll search on it…

I’m turning in for the night now though…

Hope we can find something close to it, to get it to work… :confused:

Hmmm… I couldn’t find anything…

Lostinbeta… I’m looking towards you on this one…

Anyone have any idea…?

I’m really surprised noone, especially Lostin can’t figure it out…

korrupt,

Can you please change the size of your footer to 300X60.

thanks

Why are you suprised I don’t know? I am no expert scripter, I am a scripter in training :stuck_out_tongue: I try to learn things as I go.

As for this problem, I don’t know the answer, but I MAY be able to figure out an answer.

Can you please supply an example .fla of how your character moves and shoots (if you don’t want to post the game, then just a .fla example file of how the character works is really all I need).

Okay, but that doesn’t have to do a **** thing with my question…

But I did…

And yeah, as Alex said (I left to go get the link), your footer does not adhere to the footer guidelines of this forum

Please read this thread…

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=16926

I am a scripter in training

rotflmao

that makes me a baker whos still sweeping the floor…

Errrr ummm… tell me when you download it and i’ll edit it out…

Here man: removed

There’s already a script for the bullet, the yellow line…

Thanks for atleast trying man…

Smash T.V. rulezzzzzzzzzzzzzzz

You got it yet buddy? (Lostinbeta…)

Sorry man, I had to leave, I just tried getting the file now, it appears your server is down because the file cannot be found AND your footer isn’t loading, so I am going to assume your server is down. You can send me a PM with the link in it so it isn’t public if you want.

Alright, I gotta go again… I will be on later though.

*Originally posted by AnOraK *
**rotflmao

that makes me a baker whos still sweeping the floor… **

LOL, you really love those baking analogies :stuck_out_tongue:

But ive seen your vector art skills, sheesh, I wish I could do that kind of thing, but sometimes scripters can’t be designers :-\ :frowning: :hangover:

Alright, here it is, I uploaded it to a different server, sorry bout that…

REMOVED

Thanks so much man…

Alright, I will take a look at this in an hour or two, I only have a few quick minutes every now and then on the comp right now so I don’t have time to sit here and work out a solution at this moment :slight_smile:

Oh… and I downloaded the file, so you can remove the link.

OK… Things I suck at in Flash list…

  1. Server-Side Flash
  2. Designing in Flash
  3. Object Oriented Programming
  4. The newly added Game Programming :-\

I couldn’t fix your file. But I do know this… your bullet clip MUST go inside your “stick” clip. That way it gets shot off in the direction your stick clip is facing. I hope that helps you out.

Also… don’t use so many onClipEvent(enterFrame) 's. You have one of those statements for EVERY if statement you have… you don’t need that, you only need 1 enterFrame and all your actions can reside in there.

Sigh, if the almighty Lostinbeta can’t figure it out, noone can…

Thanks anyways man…

Nah, lots of people can figure it out (points to playamarz), just game scripting (although not much different from regular scripting) just isn’t my forte, it’s one of the things in Flash that I have trouble with myself (refer to list in last post)