User Tag List

Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 32

Thread: 360 degree shooting

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    360 degree shooting

    Without the Angle calculator I can’t make 360 shooting. Is it possible someone can make an example with the Advanced direction object that uses 360 degree shooting and bullets faster than the standard ‘100’ speed.

    I would really appreciate it, thx!

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    360 degree shooting

    Without the Angle calculator I can’t make 360 shooting. Is it possible someone can make an example with the Advanced direction object that uses 360 degree shooting and bullets faster than the standard ‘100’ speed.

    I would really appreciate it, thx!

  3. #3
    No Products Registered

    Join Date
    Jun 2006
    Posts
    302
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 360 degree shooting

    i can tell you right here how to do that:

    Object Bullet
    Value ID
    Value Angle
    Value Speed
    Value Start X
    Value Start Y
    Value steps

    Create bullet, set angle, set speed, set start Y and set start Y.

    * Always
    Spread value 0 in bullet value ID

    * always
    start loop "bullets" number of Bullets times

    * On "bullets"
    * Bullet Value ID equals loopindex("bullets")
    start loop "bulletMove" bullet value speed times

    * on "bulletMove"
    * if Bullet Value ID equals loopindex("bullets")
    Add 1 to steps
    set bullet x Pos to bullet value Start X + cos(bullet vaule angle) * steps
    set bullet y Pos to bullet value Start Y - sin(bullet vaule angle) * steps

    * on "bulletMove"
    * Bullet Value ID equals loopindex("bullets")
    * if bullet overlaps a backdrop
    create explosion at bullet
    Destroy bullet
    stop loop "bulletMove"


    If you need more performance in this, you can make the steps higher by instead adding 2 or 3 or 4 to steps and instead lowering the speed.

  4. #4
    No Products Registered

    Join Date
    Jun 2006
    Posts
    302
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 360 degree shooting

    i can tell you right here how to do that:

    Object Bullet
    Value ID
    Value Angle
    Value Speed
    Value Start X
    Value Start Y
    Value steps

    Create bullet, set angle, set speed, set start Y and set start Y.

    * Always
    Spread value 0 in bullet value ID

    * always
    start loop "bullets" number of Bullets times

    * On "bullets"
    * Bullet Value ID equals loopindex("bullets")
    start loop "bulletMove" bullet value speed times

    * on "bulletMove"
    * if Bullet Value ID equals loopindex("bullets")
    Add 1 to steps
    set bullet x Pos to bullet value Start X + cos(bullet vaule angle) * steps
    set bullet y Pos to bullet value Start Y - sin(bullet vaule angle) * steps

    * on "bulletMove"
    * Bullet Value ID equals loopindex("bullets")
    * if bullet overlaps a backdrop
    create explosion at bullet
    Destroy bullet
    stop loop "bulletMove"


    If you need more performance in this, you can make the steps higher by instead adding 2 or 3 or 4 to steps and instead lowering the speed.

  5. #5
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 360 degree shooting

    I repeat it but I've made a tutorial about it without any extension.
    Here

    It's in French but it's easy to understand. <img src="/center/images/graemlins/wink.gif" alt="" />

  6. #6
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 360 degree shooting

    I repeat it but I've made a tutorial about it without any extension.
    Here

    It's in French but it's easy to understand. <img src="/center/images/graemlins/wink.gif" alt="" />

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 360 degree shooting

    thx guys, I'll try to make that exmaple.

    the VirtuaCLIK example is good, but the bullet moves too slow.

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 360 degree shooting

    thx guys, I'll try to make that exmaple.

    the VirtuaCLIK example is good, but the bullet moves too slow.

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 360 degree shooting

    "Create bullet, set angle, set speed, set start Y and set start Y."

    What do you mean by that line? Create a bullet is ok, but whats do you mean by "set angle, set speed, set start Y and set start Y."?

    This is also way to advanced for me:
    "set bullet x Pos to bullet value Start X + cos(bullet vaule angle) * steps
    set bullet y Pos to bullet value Start Y - sin(bullet vaule angle) * steps"

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 360 degree shooting

    "Create bullet, set angle, set speed, set start Y and set start Y."

    What do you mean by that line? Create a bullet is ok, but whats do you mean by "set angle, set speed, set start Y and set start Y."?

    This is also way to advanced for me:
    "set bullet x Pos to bullet value Start X + cos(bullet vaule angle) * steps
    set bullet y Pos to bullet value Start Y - sin(bullet vaule angle) * steps"

Page 1 of 4 1 2 3 ... LastLast

Similar Threads

  1. another 360 degree shooting question
    By Greasy in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 6th May 2012, 11:21 PM
  2. 360 degree shooting
    By Hayo in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 24th March 2010, 02:49 PM
  3. 360 degree shooting
    By Triclyde in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 10th March 2010, 07:13 AM
  4. 360 Degree Shooting
    By Amade in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 6th February 2008, 12:46 AM
  5. What have I done wrong? (360 degree shooting)
    By gum in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 27th September 2006, 06:46 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
  •