User Tag List

Results 1 to 3 of 3

Thread: Selecting between two characters (Lacewing)

  1. #1
    No Products Registered

    Join Date
    Aug 2017
    Location
    Poland
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Selecting between two characters (Lacewing)

    Hello, I have a problem.
    I am making Multiplayer game. Until now I had no issues - game connects to a server and joins channels. Online chat also works just fine. But now It's time to create player object to be able to move. But major problem is selecting character. I tried to make it different ways but It does not work.
    Tried to change global value and send text/number to channel in order to spawn proper character.

    How should I do it? Please help.

  2. #2
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Sumo's Avatar
    Join Date
    Jul 2008
    Posts
    642
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Selecting between two characters (Lacewing)

    When a peer connects or when you loop the peers, you make another player object. Right after you create the object, set an alterable string in the player active to the peers name (Lacewing > Selected channel > Selected peer name). Then whenever you receive a message from a peer or channel, compare to the alterable string name and make sure it equals the selected channel peer name. This will single out that specific player object. Make sure you're comparing to the alterable string from the active submenu and not using the "compare two general values" condition (this one doesn't account for scoping multiple instances of active objects)


    Sent from my iPhone using Tapatalk

  3. #3
    No Products Registered

    Join Date
    Aug 2017
    Location
    Poland
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay, I'll make that later. But I have a question to make sure - player objects should be two separate objects (because my game contains two teams) with animations or one object with animations both for two teams? Or that does not matter?

Similar Threads

  1. Accented characters in Lacewing
    By madmac in forum Lacewing
    Replies: 5
    Last Post: 29th February 2016, 07:42 PM
  2. Replies: 0
    Last Post: 12th April 2015, 05:47 PM
  3. Is there no way of selecting a file?
    By Gibbon in forum HTML5 Export Module 2.5
    Replies: 0
    Last Post: 18th February 2015, 01:21 PM
  4. Selecting something by its ID
    By Game_Master in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 30th October 2010, 09:06 PM
  5. Selecting Objects by Value?
    By YAS in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 31st August 2007, 09:34 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
  •