A Flash Developer Resource Site

Search:

Type: Posts; User: Gnougnou

Search: Search took 0.04 seconds.

  1. Calling Var from main Timeline in Classes.

    Hello everyone, I have a problem.

    I have a main Timeline that contains most of the code from my game.

    In my game, enemie missiles are rushing your base, and striking your shield. With my...
  2. Replies
    1
    Views
    597

    I finally found out : function...

    I finally found out :



    function ChildPosition(event:Event):void
    {
    DistanceSS = Math.sqrt((SourisX - 350) * (SourisX - 350) + (SourisY - 403) * (SourisY - 403));
    DistanceSM =...
  3. Replies
    1
    Views
    597

    Explosion effect on a Missile Child

    Hello everyone,

    Here is my problem :
    I'm making a game in which you are controling a missile launcher.
    Currently, when you shoot, the missile go to the mouse location and is removed.

    What I...
  4. Replies
    7
    Views
    1,630

    I finally found out what I was looking for. ...

    I finally found out what I was looking for.

    The command was :


    this.parent.removeChild(this);


    What I was trying was :
  5. Replies
    7
    Views
    1,630

    No. In fact, I want the missile to explose on...

    No. In fact, I want the missile to explose on mouse location.

    When distance Silo-Missile >= DistanceSilo-Mouse ("Souris" in French, that why "DistanceSS") the missile is removed with an eplosion...
  6. Replies
    7
    Views
    1,630

    if (DistanceSM >= DistanceSS) {...

    if (DistanceSM >= DistanceSS)
    {
    //this.visible = false;
    removeChild(e.currentTarget);
    }



    This is my current code for what you told me. It's not working, telling me that "e" is not...
  7. Replies
    7
    Views
    1,630

    Ok so I succefully made what I wanted to. And...

    Ok so I succefully made what I wanted to.

    And your command is working fine. But it only make it invisible, not delete it. I really want to delete it and for some reasons removechild isn't working....
  8. Replies
    7
    Views
    1,630

    MC going to mouse and delete.

    Hello everyone.

    I have a problem. At the moment I've got a missile launcher firing in the direction I'm aiming, with acceleration effect, etc, well, no prob.
    But I want to make my missile going...
  9. Replies
    2
    Views
    1,236

    Problem with Event Listener ENTER_FRAME

    Hello everyone,

    I have a problem with Events. I have a lot of them because I'm making a shooting game. I never noticed it before adding sounds, but a lot of commands I've made are stacked over +/-...
  10. Replies
    0
    Views
    3,172

    Music Stacking while pressing a button

    Hello everyone,

    I have a problem. When I click on my "Upgrade" section (I'm making a game) it is supposed to play a music. But in reality, the music is played ...


    [object SoundChannel]...
Results 1 to 10 of 10




Click Here to Expand Forum to Full Width

HTML5 Development Center