Blinx123's Recent Forum Activity

  • I think I found the culprit.

    My Windows 7 VM lost it's network connection. Somehow, Clay.io has it's issues with being used offline (makes sense, since some of the scripts it accesses are placed on their servers). I fixed this by adding a login button to the main menu and adding "Is Online" browser conditions to all clay.io actions, so they only fire when the machine is really online.

    PS: Has anyone tried the Desura API? I hear it's mainly XML and Ajax, so I guess that would work for HTML5 games too?

  • Are you using Construct R173 (the current stable release)?

    Anything you had to do that I might have forgotten? Basically, it malfunctions as soon as I add the plugin to the project for me.

  • > Are there any achievement services other than those aforementioned two which also happen to work with Construct 2? Clay.io doesn't seem to work at all anymore, while Gamejolt requires the developer to upload the game to their site (which I cannot currently do).

    >

    Why "Clay.io doesn't seem to work at all anymore"?

    I get

    [quote:32ajddp9]

    TypeError: Object #<Object> has no method 'fetch'

    at Object.n.exports.checkForUpdates (http://clay.io/api/api.js:45:174)

    at Object.n.exports.store (http://clay.io/api/api.js:45:110)

    at c.d (http://clay.io/api/api.js:219:363)

    at c.emit [as $emit] (http://cdn.clay.io/socket.io.js:8:4894)

    at c.onPacket (http://cdn.clay.io/socket.io.js:8:20419)

    at d.onPacket (http://cdn.clay.io/socket.io.js:8:16787)

    at c.onPacket (http://cdn.clay.io/socket.io.js:8:10730)

    at c.onData (http://cdn.clay.io/socket.io.js:8:10467)

    at WebSocket.websocket.onmessage (http://cdn.clay.io/socket.io.js:8:21443)

    Every time I start the game with this plugin installed.

    I also hear a lot of people complaining about issues with leaderboards, so I assume it's probably being abandoned.

  • Are there any achievement services other than those aforementioned two which also happen to work with Construct 2? Clay.io doesn't seem to work at all anymore, while Gamejolt requires the developer to upload the game to their site (which I cannot currently do).

  • Launching my game with the clay.io plugin enabled, I get the following javascript error (I'm using Node Webkit):

    TypeError: Object #<Object> has no method 'fetch'

    at Object.n.exports.checkForUpdates (http://clay.io/api/api.js:45:174)

    at Object.n.exports.store (http://clay.io/api/api.js:45:110)

    at c.d (http://clay.io/api/api.js:219:363)

    at c.emit [as $emit] (http://cdn.clay.io/socket.io.js:8:4894)

    at c.onPacket (http://cdn.clay.io/socket.io.js:8:20419)

    at d.onPacket (http://cdn.clay.io/socket.io.js:8:16787)

    at c.onPacket (http://cdn.clay.io/socket.io.js:8:10730)

    at c.onData (http://cdn.clay.io/socket.io.js:8:10467)

    at WebSocket.websocket.onmessage (http://cdn.clay.io/socket.io.js:8:21443)

    Anyone got a solution for this?

    I only need clay.io for achievements.

    EDIT: I can't even access the script stored at http://clay.io/api/api.js, so it could be that. Which makes me wonder: What about being offline? Surely, an unreachable script shouldn't crash the whole game.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Having created a simple lifebar (three red balls each displaying one life), I wonder if there is a way to efficiently display the loss of a life.

    On the loss of a life, I want to reset the layout, substract a life from the global variable "Lives" and set the lifebar frame to one frame before (the way the lifebar animation is set up, the first frame displays zero red balls, the second one displays one, the third one displays two and the fourth one displays three) .

    Is this somehow possible or will I have to base this on multiple conditional branches (i. e. "if variable 'Lives' = 1, set frame to 0", etc)?

  • Anyone used the Desura API yet? As far as I understand it, it's a simple REST based system? Is this correct? In this case, it would probably be rather easy to include it with one's Construct 2 creation.

  • I'm designing a small game in which a ball moves on top of disappearing platforms. When a ball is on top of the platform and the platform disappears, I let the game trigger the following event:

    Player - is overlapping platform => Restart layout

    - Platform is invisible

    Problem is. The same event is triggered whenever even a single pixel "hits" the invisible platform. Is there any way I can restrict this behaviour to something akin to "30% is player is overlapping platform"?

  • To my surprise, I managed to create one single translucent shadow (unfortunately, I forgot to take a snapshot). Ever since then, all future shadows are just black.

    How can one alter the opacity of a shadow? Is it solely dependent on the colour of the shadow caster sprite?

    EDIT: Setting the character sprite to XOR (which made it disappear, kinda), I was able to recreate the effect.

    http://www.directupload.net]

    http://s7.directupload.net/images/140604/eyiyan44.png[/img]

    Is there a way to force all shadows to look like the one on the right, without sacrificing the character sprite?

    EDIT2: More importantly. How do I get WebGL enabled browsers to display those translucent shadows? They only show up in Firefox, as long as WebGL is disabled.

    EDIT3: Never mind. I missed the opacity option inside the shadow light's menu. Working now. Alas, still a bit blocky.

  • Finally got around to testing this on my Mac.

    Using Wineskin and Wine 1.7.16, the application crashes as soon as I try to create a new project or open an existing one.

    On the first run, it also kept telling me that my GPU drivers appear to be two years old (strangely, I never had this happen on my Linux box).

  • You do not have permission to view this post

  • Once and if you got it ready, will you be able to write an .app or .dmg file from it, so that people can install it on their Macs without using Wine or VirtualEnvironments?

    Just curious

    Not really (someone would need to have either access to the full source or find a way to reverse engineer the whole thing*).

    But we could probably provide fully integrated wrappers, so no one would have to go through the pain of finding a wine version that works and setting it up manually. If that's ok with Scirra, that is.

    *Legal in most countries but the US ('cept for Chinese Wall Reverse Engineering. Which is legal there, as well). Notwithstanding the fact that you'd, in all likelyhood, piss Ashley/Tom off. Something I'd consider much worse than breaking a bunch of silly laws. But that's just me.

Blinx123's avatar

Blinx123

Member since 16 Aug, 2012

None one is following Blinx123 yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies