User Tag List

Results 1 to 4 of 4

Thread: Shooter Game

  1. #1
    No Products Registered

    Join Date
    May 2008
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Shooter Game

    Hey, I am working on my final for Game Design 1, and I can't get the bullet to fire in the direction my player is facing. I set it to fire in direction of PLAYER1, and still no luck. It always fires in his initial direction, so I have to go next to the enemies I have set and shoot at them from the original angle.

    Any help would be nice. :P

  2. #2
    No Products Registered

    Join Date
    May 2008
    Location
    California
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooter Game

    A quick workaround would be:
    * "Fire" key is pressed
    + Player is facing a direction "right"
    -Shoot object in direction "right"
    Repeat for other directions

  3. #3
    No Products Registered

    Join Date
    Nov 2006
    Location
    Australia
    Posts
    175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooter Game

    So you did try
    -upon pressing fire
    shoot object using direction of play?

    If you are making a game where the character faces the mouse and is controlled by the arrow keys, this might help.
    First make the bullet object have bouncing ball movement with 100 speed.
    Then:
    -upon pressing fire
    create object bullet
    set direction to direction value of player 1

    Might help, if not i can respond in a few hours = )

  4. #4
    No Products Registered

    Join Date
    May 2008
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooter Game

    Cool, thanks. It works now.

    The only thing I have to fix is that even though there is no other shooting event, it also fires to the right still......

Similar Threads

  1. Space Shooter Game
    By DMT in forum File Archive
    Replies: 15
    Last Post: 8th March 2009, 09:59 PM
  2. help with shooter game
    By fish in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 21st December 2008, 03:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •