User Tag List

Results 1 to 6 of 6

Thread: How do you Push Active Objects?

  1. #1
    No Products Registered

    Join Date
    Aug 2014
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do you Push Active Objects?

    I've been working on a maze type game similar to the old NES game Adventures of Lolo, and I've run into a bit of a snag. I've included this youtube video, hopefully it will help clarify what i mean.

    https://www.youtube.com/watch?v=gC344LoZYdQ&t=0m53s

    After you shoot the enemy, lolo is able to push the enemy while it's inside the egg type thing. I haven't been able to find a way to create this pushing circumstance, and was hoping for some advice on accomplishing this.

    Essentially I'd like to have my player object push another active object out of the way by colliding with it.

    Any help would be greatly appreciated.

  2. #2
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleUnicode Add-onInstall Creator Pro
    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
    Jul 2006
    Posts
    574
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    If you're using your own custom movement you could test for overlapping of enemy while in trapped state and moving in the correct direction. Then position the enemy's x/y relative to the player.

    If you're not using a custom movement. You could use an invisible detector active object that is positioned in front of your player at all times. Then test for when the detector is overlapping the trapped enemy and the player is moving in the correct direction position the enemy's x/y relative to the player.

  3. #3
    No Products Registered

    Join Date
    Aug 2014
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you for your response danworth, I'll begin looking into your solution now. I don't use any custom movement, I simply set the Movement type property to 8 directions and limit the player to only Up/Down/Left/Right movement paths.

    Would you have any recommend learning material for using invisible detectors? I'm googling around for information now, I was just curious if you had any personal recommendations.

    Again, I greatly appreciate your response to my problem.

  4. #4
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleUnicode Add-onInstall Creator Pro
    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
    Jul 2006
    Posts
    574
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    I've attached a very basic example using built in movements. I do think that you would be better off with a custom movement with a grid movement though.
    Attached files Attached files

  5. #5
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Maybe the open source Push It example on my website might help in some way.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    rubes's Avatar
    Join Date
    May 2011
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Marv's site is a wealth of information, and you might also want to check out Chris Burrow's tutorial on embedded detectors
    http://www.diybandits.com.au/MMF/tut...embedded1.html

Similar Threads

  1. [BUG] Too many active objects
    By qenio in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 31st July 2011, 08:09 PM
  2. RC #2 - Active System Boxes, Button push
    By Kisguri in forum iOS Export Module Version 2.0
    Replies: 6
    Last Post: 4th July 2011, 01:15 PM
  3. Collisions Between Active Objects & Image Objects?
    By mkj5025 in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 18th February 2009, 08:58 PM
  4. Active Objects or Active Pictures?
    By Mantoid in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 17th July 2008, 01:19 AM
  5. Selecting other objects behind active objects?
    By LeeJiHoon in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 16th April 2008, 02:43 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
  •