Maedhros's Forum Posts

  • 1 posts
  • Hello!

    For my first project, I'm working on an online MMO-style game. I already have multiple users able to log in, run around and chat with each other just fine.

    My question is this: I have a scrollTo behavior on my "Player" object. Each player who logs in creates a new "Player" object. I do not my the players that are not 'Me' to have the scrollTo behavior activated. However, when I disable the behavior on one instance, it disables the behavior on all players so that the view never scrolls. I disable the behavior in the same event that assigns character name, etc. so I know it should only be for that one player.

    I read the manual and it states the following:

    All instances of an object type use its behaviors. You cannot add a behavior to only some of the instances - they all use the behavior - although you may be able to enable or disable the behavior for individual instances.

    I cannot find any documentation on HOW you disable the behavior on a single instance.

    Help!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 1 posts