User Tag List

Results 1 to 10 of 10

Thread: Hi everyone, DNA game HELP

  1. #1
    No Products Registered

    Join Date
    Jul 2008
    Location
    Isle of wight, UK
    Posts
    236
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Hi everyone, DNA game HELP

    Hi everyone, how can you read a file so it creates an object depending on the letter (its for a DNA game)

    AATTAGCCGATACGATATCGATCGGCAGCAT

    So when it is A, create an A object

    I want it so it reads the line

    I hope this makes sense

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Hi everyone, DNA game HELP

    Start loop "Create" for Length(String) times

    On loop "Create"
    + Mid(String,LoopIndex("Create"),1) = "A"
    Create object A

    On loop "Create"
    + Mid(String,LoopIndex("Create"),1) = "T"
    Create object T

    On loop "Create"
    + Mid(String,LoopIndex("Create"),1) = "G"
    Create object G

    And so on.

  3. #3
    No Products Registered

    Join Date
    Jul 2008
    Location
    Isle of wight, UK
    Posts
    236
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Hi everyone, DNA game HELP

    Jamie, I only have one thing to say to you, ONE THING :Mad:

    I "worship" you

    Thanks

  4. #4
    No Products Registered

    Join Date
    Jul 2008
    Location
    Isle of wight, UK
    Posts
    236
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Hi everyone, DNA game HELP

    How do i do a loop?

  5. #5
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Hi everyone, DNA game HELP

    Under the Special Object -> Fast loops -> Start loop

  6. #6
    No Products Registered

    Join Date
    Jul 2008
    Location
    Isle of wight, UK
    Posts
    236
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Hi everyone, DNA game HELP

    Also, how would you make the create thing because it keeps saying syntax error?

    aka, how do i go the Mid(String,LoopIndex("Create"),1) = "A"

  7. #7
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Hi everyone, DNA game HELP

    Use compare two general values under the special object and enter:
    Mid$(<string>,LoopIndex("Create"),1)
    and
    "A"

    Remember to replace <string> with the actual string.

  8. #8
    No Products Registered

    Join Date
    Jul 2006
    Location
    www.dingdongstudios.co.nr
    Posts
    505
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Hi everyone, DNA game HELP

    the create thing is the name of the loop

  9. #9
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    California, USA
    Posts
    1,247
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Re: Hi everyone, DNA game HELP

    Here is a quick example... :blush:

    www.skiosk-esd.com/clickteam/MMF2_examples/DNA.mfa
    (right click - save as)
    DT
    Special Projects Director

  10. #10
    No Products Registered

    Join Date
    Jul 2008
    Location
    Isle of wight, UK
    Posts
    236
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Hi everyone, DNA game HELP

    Hey, I did not ask for your help, ONLY JOKING

    THANKS A MILLION

    Rob

Similar Threads

  1. YWHTG: You Will Hate This Game [Flash] Skill / Avoidance game
    By FGRaptor in forum Released Games & Apps in Flash
    Replies: 2
    Last Post: 2nd May 2016, 03:14 AM
  2. Donkey Kong JR Game & Watch cloned into arcade game some MMF2 technical problems.
    By daryuss in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 9th June 2013, 09:17 PM
  3. Open exported html doc, game doesnt load. When opening raw SWF, game fits screen!
    By Oreo in forum SWF/Flash Export Module Version 2.0
    Replies: 5
    Last Post: 19th November 2012, 03:16 PM
  4. Flash Game Screen Size Game Site Preferences
    By Rolando in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 4th January 2012, 04:04 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
  •