User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 15 of 15

Thread: Problem with restarting path movement and look direction

  1. #11
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)
    Jonas's Avatar
    Join Date
    Nov 2014
    Location
    Germany
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you could also consider "freeing" the enemy by including other directions and let him roam across the screen,
    or also retain its changed direction when shooting, so that the enemy could actually "chase you" in the alien spaceship
    (if you want, I can put up an example)
    Oh this sounds great. I would LOVE to see an example of this. I am still a beginner at Fusion 2.5 (I worked a lot with Unity in the past, but I think for 2D Games Fusion is just more straight forward), so I am glad for any help and examples I can get!

  2. #12
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,159
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    Oh, a (still pretty dumb but) free movement is super quick to setup,
    even easier than before examples.
    Quick example:
    SpaceShooter-bouncing_mov-free.mfa

    I just added a "movement rectifying action" to make sure alien always faces in up/down/left or right direction
    this looks more retro-ish... but you can also inactivate that line and test total alien freedom.

    Of course, the direction change that occurs on bounce isn't so realistic,
    but that can be worked out just by manually changing enemy direcion at specific events
    (time interval, proximity of player, alien being hit, etc.)

  3. #13
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)
    Jonas's Avatar
    Join Date
    Nov 2014
    Location
    Germany
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That looks realy nice!
    But I do not get why the enemy follows the player now. I can not detect the code that does this. Could you point that out for me?

  4. #14
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,159
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    That was already "embedded" in your code you only needed to "free" the alien from its bounding path!

    When the "see bullet" hits the player, the alien is set to look at the player,
    actually also changing its orientation, and thus next movement direction towards the player

  5. #15
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)
    Jonas's Avatar
    Join Date
    Nov 2014
    Location
    Germany
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah, I think now I got how this is working
    Thank you!

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Problem with 8 direction movement
    By Eingya in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 25th August 2014, 12:35 AM
  2. eight direction movement and shooting problem
    By brett in forum Multimedia Fusion 2 - Technical Support
    Replies: 24
    Last Post: 17th May 2012, 09:36 PM
  3. problem with path movement
    By willow in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 10th October 2010, 11:18 AM
  4. 8 Direction Movement and shooting problem
    By IY5 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 2nd February 2010, 02:12 AM
  5. Path movement problem
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 9th June 2007, 09:53 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
  •