User Tag List

Results 1 to 8 of 8

Thread: Some newbie questions

  1. #1
    No Products Registered

    Join Date
    Sep 2007
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Some newbie questions

    So I have just started fooling around with MMF2 and started working on a little shooter game. It's made so that the player can move in 8 directions just like in the old zelda games. I have created some areas and learned mostly just how to place out stuff and to make the player character not just run through walls and fences.

    I just created the first enemy and I want to be able to fire at him and make him die of course eventually.

    My problem is that I have no idea how to do this. I have this little military sprite that has a shooting animation and so far I have only managed to do this:

    * Upon pressing "X"
    Player1: Change animation to Shooting
    Player1: Shoot 'Enemy' at speed 100 toward (0,0) from 'Enemy
    Enemy: Change animation sequence to Bloody Wounded

    This is obviously not correct.. im not sure what option I should choose at the "Shoot an object" selection popup.. right now im using the "shoot in direction of" and then 0,0 relative to the enemy which im not sure is right. And the next problem is that the bloody wounded animation starts as soon as I hit X which isnt what I want either. I would like him to die with one shot but not as soon as I press "X".

    What I want is him to die when im actually facing him correctly since right now i can stand anywhere and just press X with him dying.

    I hope any of this made sence and that someone here may be able to help me and explain how to do this

    Are there some tutorials that you can learn from or something? it's really hard just doing the trial and error method.

    Thanks in advance.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Some newbie questions

    Well:

    * You want to shoot in the direction of the player, not at a target
    * In the "Shoot an object" dialog, you want to shoot a bullet object, not an enemy
    * You can use "On Bullet collides with Enemy" to detect when the enemy has been hit

  3. #3
    No Products Registered

    Join Date
    Jul 2006
    Location
    Cape Town South Africa
    Posts
    192
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Some newbie questions

    you need to say
    -upon pressing "x" shoot bullet at 0,0 from enemy
    -bullet collides with enemy change animation to been hit.
    you have to give your enemy an alt value for it's life.
    someting like
    start of frame
    -set alt val A to 100
    -bullet collides with enemy subtract say 20 from alt val A
    then
    -Alt val A =0 than destroy (kill) enemy.

  4. #4
    No Products Registered

    Join Date
    Sep 2007
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Some newbie questions

    Wow thanks for the quick reply. Im gonna test the things you just told me.

    I guess my problem was that I don't have an animation for the bullets :/

    So I have to create a bullet sprite then? I basically just wanted a muzzle flash since I didnt want the bullet to be visible making it abit more realistic.

    But what your telling me is that I need to make the bullets into an object and then whenever i press X you will se a bullet moving towards whatever I was shooting at untill it colides with something?

    Or can I do it my way? With just a muzzle flash and still somehow make it register at the enemy?

  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Some newbie questions

    You could always use my method and make the bullet invisible.

  6. #6
    No Products Registered

    Join Date
    Sep 2007
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Some newbie questions

    Ah thats pretty smart.. Is that easy to do? Im going to check it out.

  7. #7
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Some newbie questions

    Just click the bullet and untick "Visible at start".

  8. #8
    No Products Registered

    Join Date
    Sep 2007
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Some newbie questions

    I will try all this when I have the chance. Thanks for some great and quick replies.

Similar Threads

  1. Newbie Questions
    By jregork in forum iOS Export Module Version 2.0
    Replies: 8
    Last Post: 29th October 2011, 02:25 AM
  2. Some newbie questions
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 28th January 2011, 05:56 PM
  3. Some newbie questions yet again!
    By Sane in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 21st January 2011, 12:17 AM
  4. A Few Newbie Questions
    By PJIII in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 7th November 2007, 07:23 PM
  5. Newbie Questions
    By Gamer_Dewd in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 26th October 2006, 09:14 PM

Posting Permissions

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