User Tag List

Results 1 to 6 of 6

Thread: bullet spray...

  1. #1
    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)

    bullet spray...

    I was wondering how I would go about firing bullets in a spray, where each bullet is firing X degrees from the last bullet fired. I can imagine just making a line of code for each bullet spawned, but I was curious if there was a formula for incrementing degrees (ie, bullet 1 fires toward 0 degrees, bullet 2 fires toward bullet 1+ X degrees, bullet 3 fires toward bullet 2+ X degrees, etc)? So far I can't figure out how to deal with degrees when setting the direction, since it seems to want to use the preset 32 directions.


  2. #2
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Oct 2006
    Location
    In a Dark room with only a lamp
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: bullet spray...

    could you use the advanceddirection object? not sure how you would go about it but this might help you.

  3. #3
    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: bullet spray...

    I am having a hard time finding examples of how to get creative with bullet patterns. I want to make at least basic stuff like radial, spray and spread pattern firing. The Advanced Direction object is a bit, well, advanced for me. And the more I play with setting each bullet manually, the more I think I am going to run into problems.

    Any Danmaku/Cave shooter fans out there with advice?

  4. #4
    No Products Registered

    Join Date
    Apr 2008
    Location
    Miami, Florida
    Posts
    116
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: bullet spray...

    Here is an example of rotational shooting that I made:
    http://files.filefront.com/Rotation+Shootingmfa/;10053398;/fileinfo.html
    I hope this helps.

  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: bullet spray...

    Thanks for the example. That is a great place for me to start playing with bullets. One question: Did you set the direction to give the object a reference angle from which to adjust the angle? I was only setting the angle in my own tests and that seems to be what I was missing.

    Mobichan

  6. #6
    No Products Registered

    Join Date
    Apr 2008
    Location
    Miami, Florida
    Posts
    116
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: bullet spray...

    If you only change the angle it will just shoot forward but facing a different direction each time. So you have to change the direction also so that it will fire forward than left than down etc...

Similar Threads

  1. If bullet overlaps a certain object, damage the shooter of the bullet
    By StardustSpeedman in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 10th September 2012, 02:43 PM
  2. Bullet spray
    By Exploder1010 in forum File Archive
    Replies: 8
    Last Post: 4th August 2011, 05:59 AM
  3. Help with particle spray
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 15th February 2011, 12:10 AM
  4. machine gun spray
    By willow in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 3rd June 2010, 10:13 PM
  5. Particle Spray Bug (?)
    By Raylax in forum Extension Development
    Replies: 2
    Last Post: 21st October 2008, 09:25 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
  •