Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Need help in developing a 2D Sidescroller

Discussion in 'Scripting' started by Emperordaein, Nov 24, 2014.

  1. Emperordaein

    Emperordaein

    Joined:
    Nov 21, 2014
    Posts:
    2
    I'm working on a sidescrolling game intended to be similar to Classic Mega Man, and i'd like some support with it for a few aspects. The main one is making my character shoot. I have created shooting sprites for my character. I'm using the Unity-Chan sprites, and I followed the 2D character controller for all her coding so far in getting her to move. I also did an edit in Photoshop to give her frames for outstretching her hand and firing a projectile. I'm wondering how to make it so I can actually have her shoot, if there's also a way to do it through the Animator as well. I know that I can start with a Bool to use in the Animator to add a False statement to make shooting work, but I don't know the code I can use to make it work, or how to handle collision with objects and projectile speed/fire rate.
     
  2. Ra1den

    Ra1den

    Joined:
    Sep 17, 2014
    Posts:
    133
    I'm not a moderator or anything but I'm pretty sure that this thread belongs somewhere else... Maybe the scripting forum :D
     
    JoeStrout, Teila and Gigiwoo like this.
  3. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,840
    So, are you looking for a collaborator to do the coding for you? Or do you want to learn to do it? Maybe some recommendations on tutorials you could work through to learn this sort of thing?
     
  4. Emperordaein

    Emperordaein

    Joined:
    Nov 21, 2014
    Posts:
    2
    Recommendations on the tutorials would certainly help.
     
  5. elmar1028

    elmar1028

    Joined:
    Nov 21, 2013
    Posts:
    2,353
    "Learn" section on top will help.