User Tag List

Results 1 to 10 of 10

Thread: Maze game

  1. #1
    No Products Registered

    Join Date
    Feb 2009
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Maze game

    Hi ...
    with mmf2 i trying make simple maze game controlled by mouse only, when i press with mouse on any green area, the hero sprite should move correctly to position where user clicked, i do that horizontally move correct, but there is a problem appear when i trying make hero sprite move in vertical direction, it was stopped.

    this my file:
    http://www.mediafire.com/?li8opjsmyjq

    how can i fix this problem..?

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Maze game

    Marv has a RTS Movement example on his site that sounds like it might help you out.

    Nivram's Examples

    stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


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

    Re: Maze game

    iammfa, there is also a tutorial on my site.

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

  4. #4
    No Products Registered

    Join Date
    Feb 2009
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Maze game

    thanks for reply, i download examples and study tutorials well, but i didn't find important action, i tried more times but failed, in example "rts move" how can let square avoid solid walls, i think it require A.I. to avoid walls and walk in the right path.

    sorry "nivram", i make some changes in example "rts move" to try do that..i hope do example or tutorial explain that. that is important example in rts games..if you can guide me i will be pleased
    this is your modified file:

    http://www.mediafire.com/?khvr1u3owdt


  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)

    Re: Maze game

    Maybe, when the character overlaps an obsticle, destroy the desination active, then back the character out by 1 pixel, and deactivate the group for the character?

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

  6. #6
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Maze game

    The "Move Safely 2" Object would work for this.

    stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  7. #7
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Maze game

    Or you can use pathfinding. If your level is grid based this should be very easy to implement

  8. #8
    No Products Registered

    Join Date
    Feb 2009
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Maze game

    i download "Advanced pathfinding object" and installed it, when i install it the message appear told me that i must install first .NET framework from microsoft site, i do that no problem, but i want ask is that mean my final build game will not work if i have not .netframework on my system...!

  9. #9
    No Products Registered

    Join Date
    Sep 2006
    Location
    Córdoba - Argentina
    Posts
    244
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Maze game

    Quote Originally Posted by iammfa
    i download "Advanced pathfinding object" and installed it, when i install it the message appear told me that i must install first .NET framework from microsoft site, i do that no problem, but i want ask is that mean my final build game will not work if i have not .netframework on my system...!
    I'd like to ask the same question...

  10. #10
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Maze game

    Quote Originally Posted by Locaz00
    Quote Originally Posted by iammfa
    i download "Advanced pathfinding object" and installed it, when i install it the message appear told me that i must install first .NET framework from microsoft site, i do that no problem, but i want ask is that mean my final build game will not work if i have not .netframework on my system...!
    I'd like to ask the same question...
    I'm pretty sure I read somewhere that the end user does have to have .NET installed. Though I could be wrong about that. Hopefully someone can clear this up.

    A possible alternative could be the War Game Object. However, I'm not sure how well that would work with real time movement controlled by the mouse, but I haven't done a lot of advanced stuff with it yet, but if your game is using a grid, it might work.

Similar Threads

  1. Making a basic maze game - tilesets?
    By TheSynapse in forum Multimedia Fusion 2 - Technical Support
    Replies: 18
    Last Post: 6th May 2014, 02:39 AM
  2. Box Maze
    By Guitaristinmakin in forum File Archive
    Replies: 3
    Last Post: 13th December 2007, 11:58 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
  •