User Tag List

Results 1 to 3 of 3

Thread: My problem!

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    Iceland
    Posts
    478
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    My problem!

    Hi

    I have not used MMFD2 for some time and am a little rusty! I have been developing with Visual Basic 6.0 a Worksheet Generator
    http://kennsluforrit.com/verkefnasmiethur.html

    I am now starting again in MMFD2. I´m trying to make a simple math game. Similar to http://www.kidsnumbers.com/add_it_up.php

    I´m using 100 buttons set 10 * 10 each with an randomly generated number (random(9)+1))
    I made the buttons with duplicate. That I thinks gives my an array of buttons.

    I then have 100 objects with bonus items under the buttons. Also made with duplicate. I only use two or three of them in each game and I make them visavble by random selection. So if you click a button and under lies a bonus item you get an extra score!

    In VB I can

    Private Sub Command1_Click(Index As Integer)

    If Image1(Index).Picture <> none Then
    score = score + 100 ´(You hit a bonus item)
    End If

    End Sub


    Is there anyway I can address this in the same way in MMFD2.

    Keli

    PS A happy new year

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    UltimateWalrus's Avatar
    Join Date
    Jul 2006
    Posts
    824
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Keli, I think what you want is the Array object. Just drop in the object, say how big you want it to be (in this case, X dimension=100, Y dimension=1, Z dimension=1), make sure it's an integer array and not a string array, then set/get indices through the event editor.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module

    Join Date
    Dec 2008
    Location
    Italy
    Posts
    403
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Talking about arrays, Snail released a video on the topic just today, maybe can help.
    http://www.youtube.com/watch?v=lDJeUDNc_kE

Similar Threads

  1. Pulling Problem and Shooting Problem
    By Duggabboo in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 21st March 2010, 05:24 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
  •