User Tag List

Results 1 to 3 of 3

Thread: Simple Fill tool for Array

  1. #1
    Clicker Fusion 2.5Fusion 2.5+ DLC
    casleziro's Avatar
    Join Date
    Mar 2013
    Location
    United States
    Posts
    679
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)

    Simple Fill tool for Array

    While adding functions to my level editor, I made a simple "fill/paint bucket" feature. It uses the standard 4-way Seed fill method, but isn't instant (although plenty fast in my opinion, and looks pretty cool).

    I couldn't find a good example while surfing the forums, so I figured I would share with everyone else who might need such a feature. It's easily adaptable to just about anything, so hopefully you all can get some use out of it

    If you want to increase the fill speed, duplicate Line 29 a few times, or just implement a recursive fastloop yourself to make it instant.

    array flood fill.mfa

  2. #2
    Clicker Fusion 2.5Fusion 2.5+ DLC
    casleziro's Avatar
    Join Date
    Mar 2013
    Location
    United States
    Posts
    679
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    Found some errors I left in by mistake, tidied the code.

    array flood fill 1.2.mfa

  3. #3
    Clicker Fusion 2.5 (Steam)
    bad_rick's Avatar
    Join Date
    Jul 2014
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nice idea. Works well - thx

Similar Threads

  1. Simple Array View / Editor?
    By BartekB in forum Fusion 2.5
    Replies: 6
    Last Post: 29th August 2014, 03:18 PM
  2. (Simple question) Save and Load ARRAY on iOS
    By paobrasil in forum iOS Export Module 2.5
    Replies: 2
    Last Post: 7th July 2014, 12:06 PM
  3. Simple Array Example for coreyschroeder
    By klikhappy in forum Guides, Tutorials, Examples, Widgets
    Replies: 0
    Last Post: 13th April 2014, 03:57 PM
  4. [Bug] Stretch to fill screen, Zoom to fill screen
    By Andrew in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 22nd March 2012, 10:14 AM
  5. Very simple question about the array obj! :)
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 14th December 2006, 12:57 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
  •