lennaert's Forum Posts

  • You do not have permission to view this post

  • Suggestion: by default, have "scroll to" disabled.

    For host:

    when host is created (host group, generally triggered once), enable scroll to

    For peer:

    When peer is created (peer group/events) and peer.peerid = MultiplayerMyID, enable scroll to

  • The nature of transparency is that it let colors from below blend through.

    So I guess, no.

  • Have you switched to the Scirra multiplayer plugin ? or still using the socket stuff ??

    I made several games using varying multiplayer techniques, php, websocket, socket.io, Scirra's web rtc etc

    For me I can say the best results have been with Scirra's web rtc.

    I even combined a few techniques in some games, but the Scirra multiplayer is the core for player/player interaction.

    The only problem with Scirra's multiplayer, is that it's approach is not so obvious and straightforward as other techniques.

    You need to work out what will work best for your game mechanic.

  • That work around, using a layer while stuff is loading to indicate things or hide loading actions, is commonly applied

  • Layer background has background image

    Background image with origin point in the middle

    Full screen scale outer

    every tick

    background image set position to

    X: (ViewportBottom("background") - ViewportTop("background")) / 2

    Y: (ViewportRight("background") - ViewportLeft("background")) / 2

    background image set size

    Width: ViewportRight("background") - ViewportLeft("background")

    Height: ViewportBottom("background") - ViewportTop("background")

    This should dymanically resize the background to fill your browser.

  • I would turn that concept around.

    You are trying to shape the game screen to your iframe.

    I would:

    After exporting, change the CSS in the index.html file to make the iframe the same ratio as the project viewport.

    If that is not an option, the best approach to get rid of borders is by using scale outer.

  • Yes, you can.

    And no, you do not need to register an actual company.

    Just make sure the songs you included their licenses allow you to do so.

  • Not sure if its the core of the problem, but I thought compare angles needed to have the low number first.

    ie is between 45 and 135 degrees.

  • Object.UID & " " & Object.UID

  • In my Game digital mist in the Arcade, players have a drone following them about.

    The concept I used is on player creation the drone gets created too and gets set with the UID of the player its tied too.

    Every tick the moving angle is set towards its player X,Y - 150 (in my game representing the position above the player)

    If the distance between player and drone is bigger then a certain distance, the drone moves towards the move angle.

  • When you say "black screen" I presume you mean the browser here. I would set it up so it displays the javascript console log (how depends on your browser) and see if it is spitting anything out.

    CTRL + SHIFT + J in chrome and FF.

  • Update your computer

  • Go to the store, check your downloads, and download the license You should have it there.

  • Let me get this right.

    You add nothing ...

    Load it up ...

    And it does nothing .... (par splash)

    Yes ... I can see the dilemma

    Seriously though

    As soon as you add an object, it goes to the layout.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads