A Flash Developer Resource Site

Search:

Type: Posts; User: bob58

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Thread: ???hitTest???

    by bob58
    Replies
    10
    Views
    1,569

    o.k. i tried that but it it only worked with a...

    o.k. i tried that but it it only worked with a normal hitTest and not shapeflag if i am right. And i am using mx so getNext highest depth does not work
  2. Thread: ???hitTest???

    by bob58
    Replies
    10
    Views
    1,569

    I tried that but it did not work. onEnterFrame...

    I tried that but it did not work. onEnterFrame didn't turn blue though. I am using MX if that might be the cause of the problem. I also tried to remove the if and that didn't work either. Is there a...
  3. Thread: ???hitTest???

    by bob58
    Replies
    10
    Views
    1,569

    Sorry, i think that my first post must be fairly...

    Sorry, i think that my first post must be fairly confusing. I was asking how to make a single hitTest for all the walls (or one moviclip with all the walls inside) without having to enter hittests...
  4. Thread: ???hitTest???

    by bob58
    Replies
    10
    Views
    1,569

    ???hitTest???

    Is there a way to test for collisions with multiple objects with the same instance name . For example can I test for hittest between mc a and mc b - d
    if the movieclips b,c,d all have the same...
  5. Replies
    4
    Views
    964

    I don't really care how it's done as long I can...

    I don't really care how it's done as long I can keep a score that will transfer from frame to frame without resetting. I don't have a text field inside of the healthbar, i think a global score would...
  6. Replies
    4
    Views
    964

    Does anyone have any idea to do this!:confused: ...

    Does anyone have any idea to do this!:confused: Please help
  7. Replies
    4
    Views
    964

    movieclips and score

    I am working on a game where you must shoot another player that tries to shoot you:) But that is not that important. Here's the problem...
    I have a health bar that works and i would like to make it...
  8. Replies
    6
    Views
    522

    That would be ok but for the nature of what i am...

    That would be ok but for the nature of what i am working on i don't think that, that would work because would if it hits mc2 before mc1 or hits mc1 twice in a row (correct me if i'm wrong:p ). What i...
  9. Replies
    6
    Views
    522

    The code i all ready have is something like ...

    The code i all ready have is something like


    hittest for mc1
    result
    hittest for mc2
    result

    and so on and so forth. I was asking is there a way to simplify it because they all have the...
  10. Replies
    6
    Views
    522

    yeh something along those lines but in the end it...

    yeh something along those lines but in the end it wouldn't be a counter. The actual result is about 5 lines thats why i am trying to do this instead of right it out for each and everyone.
  11. Replies
    6
    Views
    522

    Loop??? possible or not?

    Is there a way to do something like test for multiple collisions that i want to all have the same result and only write the end result once. Would it be a loop?
    Here is a rough outline of what i am...
  12. Replies
    4
    Views
    1,371

    I used a rather round about way to fix the walls...

    I used a rather round about way to fix the walls though. so how would i make a loop to that? Or is there another way to do it, like if there is a collision, than it does something, but it is testing...
  13. Replies
    4
    Views
    1,371

    O.K. i fixed the moving, health and shooting...

    O.K.
    i fixed the moving, health and shooting against the walls. I used all the advice you gave me to fix it though so thanks for your help
  14. Replies
    4
    Views
    1,371

    How do i put the tanks movement on an enterframe...

    How do i put the tanks movement on an enterframe ? do you mean like
    OnclipEvent (enterframe) (i already have that) or something else.
    To go to level 2 i just added a black square that takes you...
  15. Replies
    4
    Views
    1,371

    [MX] a few simple problems.

    I have a game where you drive around and shoot the other players tank. Right now it is a 2 player game.
    I have a couple questions though.

    I have a movieclip called cannonball that is shot and i...
  16. Replies
    20
    Views
    3,108

    Also, One more thing. Whenever i go to a new...

    Also, One more thing. Whenever i go to a new frame the tanks start to go really fast. How do i stop that?
  17. Thread: [RESOLVED] Walls

    by bob58
    Replies
    2
    Views
    1,154

    [RESOLVED] Walls

    I had a post right here that i had fixed almost immediately. Is there a way to delete my post
  18. Replies
    20
    Views
    3,108

    Never mind what i said about the health i fixed...

    Never mind what i said about the health i fixed it. I just made a stupid mistake.

    Well anyways, Thanks for all your help
  19. Replies
    20
    Views
    3,108

    I tried enemy._name.health--; ...

    I tried enemy._name.health--; because i named the health
    tank1health and tank2health but it didn't work how do you tell it affect just one tanks health because earlier i tried ...
  20. Replies
    20
    Views
    3,108

    I changed the red tank to move on arrow keys....

    I changed the red tank to move on arrow keys. When i hold down W or any other key to move the blue tank it takes a second for the blue tank to start moving. It also stops moving for a half a second...
  21. Replies
    20
    Views
    3,108

    Yeah they move but the person that uses W A S D...

    Yeah they move but the person that uses W A S D to move instead of the keyboard stops when another button is pressed yet this does not happen for the player on the arrow keys !???. Well thanks for...
  22. Replies
    20
    Views
    3,108

    I think it is mx, that is probably why. where did...

    I think it is mx, that is probably why. where did you get that tank game. that is almost exactly like mine. except my tanks move and the bullets don't explode. that is even the exact same background....
  23. Replies
    20
    Views
    3,108

    I know they are not both shooting the same...

    I know they are not both shooting the same cannonball if that is what you meen because they are different colors. if that's what you mean. i can upload the .fla if you would like. when i traced the...
  24. Replies
    20
    Views
    3,108

    Squize- I tried that but it didn't return...

    Squize- I tried that but it didn't return anything.
    Imprisonedpride- I tried that but the same thing still happened it deletes the other one.
  25. Replies
    20
    Views
    3,108

    O.K. 2 questions. How come when i shoot it...

    O.K. 2 questions. How come when i shoot it delete's the other players cannonball, and how do i stop this? And what is a good place or way to become familiar with actionscript?
    I put _root. in...
Results 1 to 25 of 57
Page 1 of 3 1 2 3




Click Here to Expand Forum to Full Width

HTML5 Development Center