User Tag List

Results 1 to 5 of 5

Thread: Flood Fill with Surface Object

  1. #1
    Clicker Multimedia Fusion 2Android Export Module
    Corlen's Avatar
    Join Date
    Mar 2007
    Location
    Your House
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Flood Fill with Surface Object

    I think surface object can accomplish what I want, but I don't know for sure because I have little experience with it. OK so my game has province capitol icons. I want to be able to load an image of the whole detailed map from an external file and then have the surface object flood fill provinces from the province capitol icons and stop at the black lines that point out province borders. Then I want each of these flood filled regions to count as a separate province when clicked on. Can I pull this off?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,307
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Probably, though you might need to use active objects to handle the clicking part (mainly because you can't test for a specific part of the surface object being clicked on very easily).

  3. #3
    Clicker Multimedia Fusion 2Android Export Module
    Corlen's Avatar
    Join Date
    Mar 2007
    Location
    Your House
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've got it all working except I can't figure out for the life of me how to connect these provinces so you can attack neighboring ones and such. I would just hard code it into the game but I'm wanting a scenario editor.

  4. #4
    Clicker Multimedia Fusion 2Android Export Module
    Corlen's Avatar
    Join Date
    Mar 2007
    Location
    Your House
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think I figured out how to do it, I think, but the method is too complicated for me to explain.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,307
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    I'm glad to hear you figured it out!

Similar Threads

  1. Flood Fill avec Surface
    By bourroune in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 5th April 2013, 10:04 AM
  2. SURFACE : CRASH whith flood fill
    By arthurh in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 18th December 2011, 09:07 PM
  3. Runtime flood fill
    By Nickydude in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 20th April 2007, 07:34 PM
  4. Change Fill color active system object
    By lsizemore in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 17th December 2006, 04:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •