lemo's Forum Posts

  • Yes please.

  • Try Mouse.X(0) where "0" is the layer where your object stands

    https://www.scirra.com/manual/114/mouse

  • Joannesalfa

    Smartfox support with HTML5 (okay it's with websockets too)

    I know the difference with java/javacript...

    Cubeia's client is javascript, so even if the server is java, at least the client part should work with C2 right?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • As an addition the Photon server mentioned above by Velojet, I stumbled upon SmartFox server recently, did you guys check it out already? They say it supports UDP as well

    Smartfox

    EDIT: ooh there's more more actually

    Netty.io

    Union

    Cubeia

    (btw I have no idea how to code all this, good luck guys we're counting on you^^)

  • Is anyone else having issues removing scores right now from the leaderboards with the debug mode?

    Doesn't seem to happen anymore with me :\</p>

  • Actually, the beginner tutorial won't be any help here...

    You need to use the AJAX object in C2 to request the file as detailed here

    (It won't work if you request it from another domain)

  • Whiteclaws

    It's okay to ask for global directions, he's not asking to code the whole game for him...

    Btw nice idea, I loved the "Cube" movie

  • Nice idea

    However my character never seems to find its way to the exit portal :(besides when the game crashes firefox :p)

  • I was testing random stuff

    So here is a happy rainbow kinda thingie!

    <img src="http://i.imgur.com/lHApfhx.png" border="0">

    HappyRainbow.capx

    Actually the rainbow is animated and flows to the right nicely

    This uses the Tiled Sprite plugin

    I'm not sure I'll use this for my project because the fps are dropping fast with many nodes, but it could be super handy to create all kind of moving things, escalators, hydraulic pipes, tank tracks, conveyor belts...

  • Okay I figured out how to add it to your code

    Just wanted to make sure everything was redrawn only while dragging, otherwise the framerate was going nuts

    Also I added a minimal distance check and a right-click to add nodes ^^

    ConnectNodesDrag.capx

    I'm leaving the challenge open though if someone manage to do all this with less events!

  • blackhornet

    Thanks, works great!

    Now I have a new challenge if you like ;)

    You may have seen that the nodes had a drag and drop behavior

    Ideally I would like the lines to follow while dragging any nodes if doable

  • Here is a capx if that can help

    (I did just like the tutorial and it works for me)

  • ConnectNodes.capx

    I have a bunch of nodes on a layout, and I would like to connect each with a line to all the other nodes

    But for the moment they all converge to a single node for some reason

    Having hard times figuring out the right "picking" setup I guess...

    Any tips appreciated

    Thx

  • Kyatric

    I also had to spend some time to fix errors after rearranging/adding/renaming layers because of this

    I was talking about layer numbers for the "rearranging/adding" issues

    And layer names for the "renaming" issue

    So there's still a problem in both cases

  • His request #2 is still valid though

    "whenever we re-arrange the order of layer, C2 will search through all details and replace with correct layer automatically"

    I also had to spend some time to fix errors after rearranging/adding/renaming layers because of this