Coin-coin le Canapin's Recent Forum Activity

  • Hi !

    How can I manage to follow an object without centering the camera on it ?

    The purpose is making the camera following the player in a platform game only when it reaches 1/3 of the screen size on the left and 2/3 on the right (same for top and bottom).

    So the camera won't move if the player change direction until it reaches 1/3 of the opposite screen edge.

  • Hi.

    Is it possible, as the server, to dynamically change the maximum peers limit ?

  • If you want to have your life bar gradually change color, do this :

    Add a "SetColor" effect on your bar and set these defaults values :

    Red 0

    Green 100

    Blue 0

    Then do this :

  • Can you provide a link to your .capx file ?

  • Yes, using the blend mode should works <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    http://canapin.com/construct/tolilo/18/

    Click under the black character to destroy the ground and let the ground regenerates itself on the character. It will be crushed and there will be a big blood splat which appears only on the tiles. Is that what you want to achieve ?

  • Do you think it would be possible to save the map as an XML file, which could be parsed by C2 to be "recreated" in my actual game ?

    Edit : I tried and it seems to work. Could be a good alternative to the image I used on my platform game.

  • Thank you for this essential information.

  • Thank you

    What would be the benefits of this method compared to the other one (synchronized instance variable + peer event) I described ? More control on what's happening ?

  • Ah ! Another question while I'm here : the multiplayer objet can sync instances positions and variables.

    So, what's the best way to synchronize attributes like visibility ?

    Send a broadcast message to the peers, the peer receives it and changes the instance visibility ?

    Or just to add an instance variable "visibility" on the object which will synchronize automatically, and add a global event (availble for the host and peers) like "if sprite visibility = true -> sprite ; set visible" ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Okay. So, to have it written as straightfoward as possible, for each room there are 1 host and X peers, right ?

  • For every room created there is a server and peers ?

    Each room is "independant" regarding the others ? Can an event interact with another room ?

  • Thank you for your replies. Having one layout by map seems a good way to do so. I just have to think about a good way to create and share maps.

    Borgi : at the current state of my development it could work as a sprite, but I want to store instance variables too in my level, I don't see how I could store this kind of information in my sprite where 1 pixel represents 1 sprite.

Coin-coin le Canapin's avatar

Coin-coin le Canapin

Member since 22 Dec, 2010

Twitter
Coin-coin le Canapin has 1 followers

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies