jayderyu's Recent Forum Activity

  • Yes I've achieved this form of sound effect. Only works with advanced audio though.

  • oh also. If you don't want to sort that out and you just want to handle a specific browser such as Kindle. You can do

    Compare Two Values

    find( Browser.userAgent, "Silk")

    =

    0

    If it's on the kindle that will work as mobile. Then you can do

    isMobile

    OR

    compareTwoValues.....

  • mzo

    You might want to actually study the Plugin before making requests.

    * You can get a Room list already.

    * PeerID are synced between player connections.

    * Vars don't need auto syncing. When a client updates a var. Client sends a message. Host broadcasts the update. it's the point of custom messages. The purpose of syncing was to handle latency not tell you how your game works. Just remember when when the Host.Broadcast to also include the FromId. Then just get the trigger from the incoming message and update.... no polling required. if your polling your not doing it right.

    * As for rubber banding. that's a good point in regards for teleport. But that's an easy fix. Once again we will use the magic mystical function called

    SendMessage("teleport", "player.x, player.y").

    OnMessage ("Teleport") then compare Player.peerID = Multiplayer.fromID; player.setPosition(Multiplayer.Message do some to get XY

    Maybe try a simpler game rather than jumping into the large hurdle of multiplayer game developement. The plugin only job is to provide singnalling, room, positional latency, messaging. All network gaming situations can be handled with messaging.

  • masalife

    Well if someday there is a JS API then there will be opportunity to look again. Maybe I will look into it when I need it for a Unity project.

  • You have access now. You can either make a plugin or you can use Browser.execjs(" javascript = fun") to access the api <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    https://developers.google.com/games/ser ... ingstarted

  • You can still get around "isMobile"

    Require the player to touch the screen to continue. Best do this on a screen that's black with an image that can look good in both orientations.

    Determine if the input was Mouse or Touch. I do this by getting making sure Mouse is at the Top. Mouse will fire a Touch event, but a Touch event won't fire a Mouse event. So on MouseClick store the type of input recieved.

    If it's a Mouse your on PC

    If it's Touch your on mobile

    isMobile will always be better, but there are work arounds until the device is registered as such

  • Yes you can. Just make sure the EvenSheet the Function is on is included in the current Layout Event Sheet.

  • masalife

    That looks really cool. Does MASA LIFE support JavaScript?

    I see Unity, Cocos2d, Ogre, VBS, but no JS implementation of your Ai behaviour.

  • Fimbul

    There is no problem witha game like that. honestly you can probably get away with 5FPS and the user probably won't notice.

    Canvas and WebGL rendering doesn't work like that. You can't just draw on the bottom part of the screen and then hope to leave the top half. Techniques like that exists 20 years ago, but today rendering is just done whole screen. it's easier.

  • I've done the same thing. C2 has no in built system for date and time. It's not like your question was about applying behaviours

    Rex's plugin is good too.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Clay.io should work fine. Are you using CocoonJS? Also we have this tutorial section where people write help tutorials. There is one made my ArcadEd who has a tutorial for leader boards.

  • You read that 100% wrong. At no point will Spriter will ever provide better performance. In fact It has been said clearly that using Spriter will be more costly on the CPU; though it should only be a little(which it's not). What was said is that Spriter only uses a fraction of memory because it's not SpriteSheet. It's tweening parts.

    Also. Character Maps are not working yet. So you can do object swapping in C2 yet. As for Associate it's only for initialization purposes. I'm not sure where it says that, but It should be some where.

jayderyu's avatar

jayderyu

Member since 11 Apr, 2012

Twitter
jayderyu has 1 followers

Connect with jayderyu

Trophy Case

  • 12-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies