User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

Thread: Fightinggame project, i will ask my questions here

  1. #1
    No Products Registered

    Join Date
    Oct 2009
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Fightinggame project, i will ask my questions here

    I've made several threads in which i asked how to improve my game i am making. Instead of creating new threads i am going to ask all my future questions in this one.

    Quick game overview (i've explained this several times in my former threads. But for those who don't know):
    I am currently making a Double Dragon-ish game with a fake 3D-perspective (where you can move in eight directions on the playfield).



    My first question is:
    i am working on a functional AI-system for the enemies that follow the player around. Ive made movement etc for them, but i want the enemies to "not like overlapping eachother". How can i make them walk away from eachother or at least "glide" apart when they overlap eachother?

    Second question:
    is there any way to "copy" all the events from one enemy to another? then also add more to the new one? without changeing everything manually in the event-editor. like, if enemy1 is having a functional AI, where he walks towards the player and hits and blocks his attacks etc. and copy that to a new enemy(2).

  2. #2
    No Products Registered

    Join Date
    Mar 2010
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fightinggame project, i will ask my questions here

    for your second question, you could set qualifiers for your enemies. There are preset ones and enemy is one of them. so you could make 1 condition for everything that is an enemy. when your enemy is selected click the option that says "qualifiers" in your properties bar.

  3. #3
    No Products Registered

    Join Date
    Aug 2008
    Posts
    129
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fightinggame project, i will ask my questions here

    Just put your enemies in a group and assign that group the commands you want all of those enemies to have.

  4. #4
    No Products Registered

    Join Date
    Oct 2009
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fightinggame project, i will ask my questions here

    thx for the answers!

    to xXjbroXx: ive set my enemies to "enemy"-qualifier. but i do not know how to use it? how does it work? i guess i need to do something more than just set the qualafier to enemy?

    to Ausomeman: how do i group objects togeather and then assign that group commands?



    anyone have an answer to my first question yet?

  5. #5
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Fightinggame project, i will ask my questions here

    A Qualifier is a group, of sorts. Every object you add to the same qualifier will be part of that qualifier. Then you can write your code to affect the qualifier. By writing your code this way, you are writing code that affects all members of the qualifier.

    But just be smart about how you use them. When it comes to your enemy AI, for example, you will still probably need to handle it on an enemy-by-enemy basis. But basics like collision and health will definitely benefit from qualifiers, since it will use less code overall.

  6. #6
    No Products Registered

    Join Date
    Oct 2009
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fightinggame project, i will ask my questions here

    thx for the explanation,
    but where do i write the code to affect the qualifier(s)? i cannot find it in the event-editor.

  7. #7
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Fightinggame project, i will ask my questions here

    What ever qualifier you assign, the icon should be at the top of the event editor row along with your other objects.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  8. #8
    No Products Registered

    Join Date
    Oct 2009
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fightinggame project, i will ask my questions here

    effin' sweet. got it working with groups now! thx people

    if anyone can answer my first question now that would be gr8

    if i have any more questions ill keep posting them in this thread.

  9. #9
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Fightinggame project, i will ask my questions here

    @ Question 1: Maybe you should code them to not overlapp by checking their positions and telling them to change directions at the appropriate times? It will depend heavily on how you handle their AI in general, so it is not easy to give a single answer to this.

  10. #10
    No Products Registered

    Join Date
    Oct 2009
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fightinggame project, i will ask my questions here

    hrm okay, maybe if i explain further:
    i used the example-file that came with the download of the extension "advanced direction object" (in the example-file - "rotate movement"-frame) and applied it to my enemies along with LB's enemy selection movement example he made for me in another thread.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. A couple of questions to make my project better
    By SuperChiken in forum The Games Factory 2 - Technical Support
    Replies: 9
    Last Post: 4th August 2009, 06:07 PM
  2. Two Questions for one project
    By ToxicKiwiGames in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 4th August 2009, 03:23 AM
  3. Serious about your Project? Do this often.
    By 00J in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 12th April 2008, 11:15 AM
  4. Some questions for my next project :)
    By Kalnar in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 9th January 2008, 06:33 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
  •