User Tag List

Results 1 to 6 of 6

Thread: 2D Walk Around Flash Chat

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Posts
    414
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    2D Walk Around Flash Chat

    Here's my first Flash application that uses Lacewing a little more.

    http://puchisoft.com/Flash/Flash_Chat.html

    It puts you into a chat room with a random name, and gives you an avatar to walk around with; and you see others walking around. Click on the box at the bottom to chat.

    Edit box seems to not be getting Focus easily sometimes? Have to click a few times if you are unlucky.

    It's basic, but if I can do this in a few hours while helping Jamie debug, I think it's time everyone can start to make Multiplayer Flash games!

    (From: http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=179981&#Post179 981 )
    Attached files Attached files

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: 2D Walk Around Flash Chat

    Cool! But just one question, why are you using fast loops to position the nametags like that when MMF2's built-in object selection does it faster? I looked a bit I don't see an obvious reason for the workaround. Other than that this is pretty cool! Thanks for posting it.
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Posts
    414
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 2D Walk Around Flash Chat

    I think I started with just saying On Player/Name == NameTag/Name Then Position them, but the objects failed to select properly with 3 players. Is there another way to do it?

  4. #4
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: 2D Walk Around Flash Chat

    Yeah, just add them to a qualifier and do Always: Set position of string object relative to Group.Player and Set Alterable String to Alterable String of Group.Player, and MMF2 will do everything for you.
    Working as fast as I can on Fusion 3

  5. #5
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Posts
    414
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 2D Walk Around Flash Chat

    Always:
    String.Set_Position(Player)
    String.Name=Player.Name

    ???
    I don't understand how that can work. Could you maybe change the code in the .mfa and upload it again? I'd like to see it.


    I hear you can also do this with behaviors, but I've never done it that way, and trying it now, it only seems to work with 2 players, not 3+.

  6. #6
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: 2D Walk Around Flash Chat

    I made an example to help you understand what I mean. Having to look through all of your code might be trickier for both of us. There is useful information on this subject in the Articles section, but with a quick serach I couldn't find the one that was so useful.
    Attached files Attached files
    Working as fast as I can on Fusion 3

Similar Threads

  1. perfect walk
    By KovalPL in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 9th April 2013, 01:16 PM
  2. Trigonometric walk cycle
    By ELCGames in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 30th April 2011, 05:48 PM
  3. 2D Walk Around Flash Chat
    By Code6 in forum Lacewing
    Replies: 3
    Last Post: 13th March 2010, 12:59 PM
  4. Lacewing/Flash - Chat test
    By James in forum Lacewing
    Replies: 12
    Last Post: 5th March 2010, 12:49 AM
  5. Enemies that walk on slopes
    By Atherton in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 25th August 2009, 01:47 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
  •