User Tag List

Results 1 to 7 of 7

Thread: Grid building engine bug

  1. #1
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Dec 2013
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Grid building engine bug

    Hello I made a grid building engine where you can place stone or grass tiles almost everything fully works but there are 2 bugs.
    First when you click the checkbox the other checkbox somehow doesn't get unchecked.
    Second when you place a tile in the top of the screen or all the way to left you can overlap tiles (The array starts checking at 32*32)
    Take a look at the .mfa it's easier to understand the grid bug just place a tile in the top of the screen and look at the the debug menu.
    Source.mfa
    Thanks for reading!

  2. #2
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Dec 2013
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just don't know how to fix this bug i tried click blocker but it's not working right.

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Re: The Radio Button -
    You're using it wrong. Don't use two separate objects for the different options - use just one object, and list the two options on separate lines.

    Re: The Array -
    In the array properties, untick where it says "Base 1 Index". At the moment, anywhere under 32x32 pixels will be at grid coordinates 0,0 - which is out of bounds for the array, which currently starts at 1,1.

    Also, rather than creating new grass / stone objects, it's much better to create them as background objects, using the active object's "Add to backdrop" action.

  4. #4
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Dec 2013
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So i did some of these things i have 3 questions.
    1. How can i see what radio button is clicked?
    2. I couldn't find the option "Add to backdrop" in the active object so i did that option in the event editor
    3. If the object is placed as a backdrop does it much less lag? Because when i place 2000 object the game starts to lag badly.

    Please take a look at the edited example and thanks for your help!
    http://download1075.mediafire.com/rp...d_source_2.mfa

  5. #5
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    1.) Compare two general values -> Radio button -> Value of set radio button
    (not wishing to be rude, but there is a help option in the object properties, which explains basic usage and would answer a question like this)

    2.) Yes, that's what I meant... (you should really also use "delete created backdrops at..." to destroy the existing backdrop before you add a new one).

    3.) It could certainly help, but there are a lot of different factors which might be contributing to lag, so it's hard to say. Changing the display mode from "Standard" to "Direct3D 9" in the application properties, will probably make the biggest difference.

  6. #6
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Dec 2013
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So i did as you told 1 just 1 bug when trying to delete a backdrop it doesnt work i tried to delete all backdrops at Xmouse and Ymouse
    Xmouse/32 Ymouse/32 and as last tried Xmouse/32*32 Ymouse/32*32 I even tried to delete all the backdrop when i press e but nothing gets deleted. Here is the edited mfa file please find out why i can't delete backdrops Thanks for all the help.
    http://download947.mediafire.com/k0n...gridsource.mfa

  7. #7
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Dec 2013
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Or if anyone else can help me with this pleaso do so. I tried some things now changed alot of events but without succes.

Similar Threads

  1. 2D Building grid
    By fishrod in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 3rd March 2014, 01:37 PM
  2. City Building Engine with online database
    By StingRay in forum iOS Export Module Version 2.0
    Replies: 11
    Last Post: 16th April 2013, 06:01 PM
  3. Simple Visual Grid / Table Engine
    By workshop2 in forum File Archive
    Replies: 2
    Last Post: 29th July 2007, 07:04 PM
  4. grid based platform engine
    By Gabriel in forum File Archive
    Replies: 13
    Last Post: 26th July 2006, 07:23 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
  •