qcalisto's Forum Posts

  • 10 posts
  • I'm trying to create a multiplayer game but I want to export two different verions of the same project. For the Host and for the Players. That's becasue Hosts event sheets contain some sensitive data like firebase api key, payment gateway api key and anticheat events. I can remove it from the project before exporting version for Client but I wonder if does exist some better solution. Any ideas?

  • Hi, any chance someone will create a plugin to interact with Metamask crypto wallet? I found this one

    construct.net/en/forum/extending-construct-2/work-in-progress-addons-30/plugin-ethereum-131254

    but it's 3 years old and built for C2. jquentin42 ?

    I would like to allow users to sign in with Metamask in my multiplayer game.

    Thanks

  • Thanks! I'll try it, but it's weird. If I install NWJS for C2 v0.39.0 (Chromium 75) or earlier it works in preview.

  • Hi guys, I try to send POST request to external server but nwjs block the request, the console says:

    A cookie associated with a cross-site resource at accounts.google.com was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at chromestatus.com/feature/5088147346030592 and chromestatus.com/feature/5633521622188032.

    But if I use Postman with the same url/parameters, it works and I receives data. Can someone help me figure out what's the problem?

  • OK, I found a solution. Maybe it's not the best solution but it works.

    I just duplicate websocket plugin in C:\Program Files\Construct 2\exporters\html5\plugins\

    and in the edittime.js and runtime.js I modified the name and ID from "WebSocket" to "WebSocket2" and "C2WebSocket" to "C2WebSocket2". So every new websocket connection has an own websocket plugin.

  • Hi, I try to make a two websocket connections in the same time but it's not possible to open a connection while one connection is already opened. Is there any way to make two or more websocket connections opened simultaneously?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you Ashley, that's help a lot.

  • Hi guys, I try to add AdMob smart banner to my app, but I need to know screen resolution in dp (independet-pixel density). So I need to know DPI of user's screen.

    There is cocoonIO plugin with this expression, but it's not working. How can I do that? Thanks for any help.

  • ok I think I found solution

    lower limit: -(anglediff((parent_object.Angle+45),child_object.Angle))

    upper limit: anglediff((parent_object.Angle-45),child_object.Angle)

  • Hi. I know that physics limited revolute joint work this way (if I use -45°,45° limits):

    or

    But I want to make it work this way:

    So the initial angle limits is from another object. How can I do this? (sorry for my bad english, I hope you understand)

  • 10 posts