POLALA.COM
welcome to my space
X
Search:  
Welcome to:polala.com
Web Design | Video Games | RVs | Religion | Management | Supplements and Vitamins | Software | Basketball | Related articles
 HOME   How to change shooting directions???

How to change shooting directions???

Published by: jane 2010-03-18
  • I have the following player control script


    onClipEvent (enterFrame) {
    if (Key.isDown(Key.RIGHT)) {
    this._x += 5;
    this.play();
    this._xscale = 100
    } else if (Key.isDown(Key.LEFT)) {
    this._x -= 5;
    this.play();
    this._xscale = -100
    }
    }


    My Guy normally shoots to the right, so the problem is when he turns to the left it looks like he's shooting out of his back. How can I make it so that when he turns to the left he shoots in that direction as well.
    OSP Shooting School, Shotgun and Shooting Tips::
    sporting clays, shooting instruction, skeet shooting, trap shooting, shooting dvds, gun fitting, bird hunting, and shooting lessons. Learn to shoot today!
    http://www.ospschool.com/know12.html
    HOME
    Remington Law Enforcement - Model 870 Police On-line Owners ::
    NOTE: See TO CHANGE THE CHOKE TUBE for instructions to change choke tubes. Repeated exposure to shooting noise can cause permanent hearing loss.
    http://www.remingtonle.com/support/prtsvc/870_om.html
    HOME

    I already tried the below altered shooting script...no success


    onClipEvent (load) {
    if(_root.mario._xscale =100) {
    shellMoveSpeed = 10;
    this._x = _root.mario._x+10;
    this._y = _root.mario._y;
    } else if (_root.mario._xscale = -100) {
    shellMoveSpeed = - 10;
    this._x = _root.mario._x-10;
    this._y = _root.mario._y;
    }
    }



    Dunno...any ideas on how to fix this???Thanks in advance :).
  • WordPlop - Reviews, news, tutorials, gaming, web, gadgets ::
    This very simple tutorial will show you how to change the battery in Google will measure how long it takes for your website to load and compare it
    http://wordplop.com/
    HOME
    Make your own biodiesel: Journey to Forever::
    You dont need anyone to show you how, and you dont need to find However the process to chemically change the structure of Pure Plant Oil is a
    http://www.journeytoforever.org/biodiesel_make.html
    HOME


  • Yeah it works! Thanks a lot :D!!!


  • Oh boy wow this thread is old! I can't believe it got churned up again :P!


  • Don't know if its a type0 but....

    onClipEvent (load) {
    How To Reset Your Windows Password When You Have Forgotten It::
    Instead, this tip will show you how to reset your Windows password in minutes. On my System, I need to change the password for the account WTN:
    http://www.watchingthenet.com/reset-windows-password-when-you-have-forgotten-it.html
    HOME
    PC Support - How To Information | eHow.co.uk::
    Best Ways to Improve Computer Performance,How to Change a Browser Title Bar,How to Configure your PC to Boot from a CD or DVD and much more!
    http://www.ehow.co.uk/articles_3384-pc-support.html
    HOME
    if(_root.mario._xscale == 100) {
    shellMoveSpeed = 10;
    this._x = _root.mario._x+10;
    this._y = _root.mario._y;
    } else if (_root.mario._xscale == -100) {
    shellMoveSpeed = - 10;
    this._x = _root.mario._x-10;
    this._y = _root.mario._y;
    }
    }

    == tests a variable
    = asigns a veriable

    the rest looks fine to me :D but then i don't have flash here at school

    ;)


  • The bullets action panel (it would be kinda weird in mario's actions panel :P).

    kanpai


  • Don't know if its a type0 but....

    onClipEvent (load) {
    if(_root.mario._xscale == 100) {
    shellMoveSpeed = 10;
    this._x = _root.mario._x+10;
    this._y = _root.mario._y;
    } else if (_root.mario._xscale == -100) {
    shellMoveSpeed = - 10;
    this._x = _root.mario._x-10;
    this._y = _root.mario._y;
    }
    }

    == tests a variable
    = asigns a veriable

    the rest looks fine to me :D but then i don't have flash here at school

    ;)

    does this code have to go in the character's action script window or the bullet's action script window?





  • Where's The Advantage In Windows Genuine Advantage?
    Stocks Bounce After S&P Joins Bear Market
    You are looking at:polala.com's How to change shooting directions???, click polala.com to home
  • need help with literacy
  • recommended sat and act scores
  • gcse chemistry coursework quick question
  • what is my mark going into my exam
  • physics sat subject test
  • whats a good iq score
  • sat reading questions
  • are there any legit free online iq test sites that aren 039 t a scam like iqtest com
  • how should i write my 1 minute presentation for my gcse french exam
  • i am self studying for ap psychology this coming may can you suggest study materials that helped you succeed
  • i need helpful ways to study
  • are these good choices for a levels
  • do you think most colleges would perfer a 2 10 gpa and a 27 act score or a 3 2 gpa and a 17 act score
  • help rutgers application credentials is due 12 1 today is 11 30 didnt sent sat scores in yet
  • is it better to take the sat in the mid of ur junior year rather in the end
  • if i decide to do the ib diploma would i be able to skip the first year of university
  • sat math 1 subject test vs sat actual math section
  • what is advance placement
  • is this iq grade good
  • common application school forms counselor question about transcripts
  • did anyone do a language for gcse
  • how can i concentrate on my studying
  • my hair is less than 1 inch in length if i take a drug test in january 2010 will i test positive
  • can anyone give me tips for learning my french oral
  • sat know it all please answer thankss
  • revision techniques help
  • do you think i am relatively prepared for the sat 1
  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about How to change shooting directions??? , Please add it free.

    About us -Site map -Advertisement -Jion us -Contact usExchange linksSponsor us
    Copyright© 2008 polala.com All Rights Reserved
    Site made&Support support@polala.com    E-mail: web@polala.com