User Tag List

Results 1 to 4 of 4

Thread: Defining Areas in Level

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Defining Areas in Level

    Hi
    Im in a planing phase of a game i want to create using MMF2.
    ...
    The game should be an open world game consisting of one ( 1 ) frame with a size of 10000x10000 pixles. The frame is a top-down map with lots of different terrains areas like grass, forrest, snow, sand. ( image below )

    ...
    The player should be able to wander round the map. I want the player to be able to know what area he is currently standing in at any time. ( image below )

    ...
    I can alocate areas using x and y coordinated, but that will only creatate square areas, and seeing that my map has irregular shaped areas ( image above ) that wont work for me.

    How can i allocate areas in such a map?

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Re: Defining Areas in Level

    Use square tiles, but create some transition tiles as well, to soften the edges.

    eg.
    http://www.gamedev.net/page/resources/_/reference/programming/isometric-and-tile-based-games/298/tilemap-based-game-techniques-handling-terrai-r934

    eg.
    http://www.create-games.com/article.asp?id=1869

  3. #3
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Defining Areas in Level

    use your image ^^ as an Active Object, and then compare the getRGB(PlayersX,PlayersY) of it. Then you can tell what colour of the map the player is on.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Defining Areas in Level

    Exellent! The get RBG method seems perfect
    Thanks

Similar Threads

  1. Areas my character can NOT use?
    By Kolar_Games in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 2nd August 2013, 04:01 PM
  2. Moving between areas
    By cchapeton in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 2nd August 2010, 03:25 PM
  3. Defining object zone
    By GloriousIntruder in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 29th July 2008, 11:11 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
  •