User Tag List

Results 1 to 4 of 4

Thread: Qualifiers

  1. #1
    Clicker The Games Factory 2

    Join Date
    Jul 2010
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Qualifiers

    So, I have a qualifier in my game that contains all the enemy projectiles (Group.Arrows). However, I've been planning to make an attack that would deflect enemy projectiles back at the enemy that fired it. I have the reflection part figured out, but I want to make it so when a projectile is reflected, it switches from a Enemy Projectile (Group.Arrows) to a Player Projectile (Group.Bullets). Any ideas?

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,194
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You cannot switch qualifiers during runtime.

    What you can do is that you can give each enemy/player projectile an Alterable String which lets say is named "Projectile Type".

    So when the object is initially created, you set the value for the Projectile Type to its type (enemy/player respectively) then when any kind of reflection is done, simply re-change it to the opposing value. With this method, you could "change" qualifiers without literally changing the qualifiers during runtime. The only thing code-wise that would have to be changed is that all instances of "Qualifier.Arrow" and "Qualifier.Bullets" would need to be replaced with "Object's ObjectName Projectile Type = Enemy" and "Object's ObjectName Projectile Type = Player"

  3. #3
    Clicker The Games Factory 2

    Join Date
    Jul 2010
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So how would I go around doing that? Is there a tutorial online?

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export Module
    Skyhunter's Avatar
    Join Date
    Jan 2007
    Location
    Croatia
    Posts
    451
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It just means you should use the same qualifier for both enemy and player bullets. But have an alterable value or a string decide to whom does it belong to.

Similar Threads

  1. Qualifiers in SWF
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 14th December 2011, 12:31 AM
  2. [Bug] Qualifiers?
    By MattEsch in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 14th August 2009, 08:18 AM
  3. Qualifiers
    By grimmy in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 21st May 2008, 04:00 PM
  4. Qualifiers bug
    By Nick in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 13th May 2008, 06:21 AM
  5. help with qualifiers, available?
    By MelliGeorgiou in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 18th April 2007, 08:07 PM

Tags for this Thread

Posting Permissions

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