User Tag List

Results 1 to 4 of 4

Thread: In-game map

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Aug 2010
    Location
    Sweden
    Posts
    351
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    In-game map

    I have a play area thats 10000x10000, and when the player presses space a map of that area comes up that's the size of, say, 500x500. I wanna have a marker that's shows where you are located. It's a top-down game. I've been trying to figure out how to best get the marker to accurately position itself in relation to the player position in the playfield, but I'm stuck. Anyone with a any ideas?

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: In-game map

    Create an active object to act as the map background. Disable "follow the frame" (or put it in a layer with a scoll coefficient of 0), and put the action point at the top-right of the map display area.

    If you want to mark the player on the map, in an Always event, set the X position of the player marker to XActionPoint("Map Background")+X("Player")/1.0/Frame Width*500 and the Y position to YActionPoint("Map Background")+Y("Player")/1.0/Frame Height*500

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Nov 2006
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: In-game map

    Another way you can do this is to use the Mini Map 2 object. Look for in in the FusionWiki Extension List. The link for it is on the right side of this page. You just need to scroll down a bit. When you get to the FusionWiki Extension List, the Mini Map 2 object is near the bottom of the page and under the "Game Orientated" heading.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Aug 2010
    Location
    Sweden
    Posts
    351
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: In-game map

    And code-wizard Nifflas to the rescue! Worked like charm, thanks.

Similar Threads

  1. YWHTG: You Will Hate This Game [Flash] Skill / Avoidance game
    By FGRaptor in forum Released Games & Apps in Flash
    Replies: 2
    Last Post: 2nd May 2016, 03:14 AM
  2. Donkey Kong JR Game & Watch cloned into arcade game some MMF2 technical problems.
    By daryuss in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 9th June 2013, 09:17 PM
  3. Open exported html doc, game doesnt load. When opening raw SWF, game fits screen!
    By Oreo in forum SWF/Flash Export Module Version 2.0
    Replies: 5
    Last Post: 19th November 2012, 03:16 PM
  4. Flash Game Screen Size Game Site Preferences
    By Rolando in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 4th January 2012, 04:04 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
  •