User Tag List

Results 1 to 6 of 6

Thread: Arc shoot example?

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Question Arc shoot example?

    I am trying to come up with different enemy types for my new game. So far most enemies use regular shooting toward the player, but I am interesting in doing some arc shooting, where the "bullets" or grenades are fired in an arc toward the player. Is there any example of how to do this? Preferable without using any inbuilt movements if possible.

    http://4.bp.blogspot.com/-BCFtG3QNzx...c-a-shot-2.gif

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    tompa's Avatar
    Join Date
    Nov 2011
    Location
    Uppsala, Sweden
    Posts
    358
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    One solution is to use bézier curves. You can randomize target points and/or stop the movement on collision (for your needs). That's if I understand you correctly.

    I learned most of rendering curves from this guy. DeadmanDines

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by tompa View Post
    One solution is to use bézier curves. You can randomize target points and/or stop the movement on collision (for your needs). That's if I understand you correctly.

    I learned most of rendering curves from this guy. DeadmanDines
    Thanks, but is there a simpler way? I think I can recall seeing an example of shooting at a target in an arc.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    tompa's Avatar
    Join Date
    Nov 2011
    Location
    Uppsala, Sweden
    Posts
    358
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    a very simple way is to add/sub degrees to the rotation of a moving object. Some rules might be needed, for eg stop rotation when facing downwards.

  5. #5
    Clicker Multimedia Fusion 2Android Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Android Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Dec 2010
    Posts
    339
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am in search of this same example right now, I had it but can't find anymore.

  6. #6
    Clicker Multimedia Fusion 2Android Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Android Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Dec 2010
    Posts
    339
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Found something similar and helpful!

    http://www.create-games.com/download.asp?id=7507

Similar Threads

  1. Shoot'em up tir
    By Jiraroyo in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 26th January 2012, 04:15 AM
  2. frustrating 360 shoot
    By nick_Peoples in forum File Archive
    Replies: 9
    Last Post: 25th April 2010, 06:39 PM
  3. WHY CANT I SHOOT??????
    By Beginier in forum File Archive
    Replies: 15
    Last Post: 25th April 2009, 10:42 PM
  4. How to Not shoot behind you?
    By samdaman719 in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 10th July 2008, 11:17 PM
  5. How to shoot!!
    By cosmicco in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 9th August 2007, 03:04 AM

Posting Permissions

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