Julot135's Recent Forum Activity

  • You do not have permission to view this post

  • Hi Julot135

    I am afraid i can't send my application due to some sensitive info in it. I've been trying to modify the multiplayer template to send pictures using NWJS and Canvas but it crashes each time <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad"> It seems the base 64 string is too long to send and causes the app to crash.

    https://1drv.ms/u/s!Am9ctVZP5a3jiJE6LjvmPWm1RRBBiQ

    You can get what I have tried so far in the link above. I'll have a further play around on it later today.

    Hi Mayfly,

    Thanks you for your application. It's a good idea. For me the application don't crash but get disconnected from the host, and if it's the host sending the image all players will be disconnected <img src="{SMILIES_PATH}/icon_e_confused.gif" alt=":?" title="Confused">

    Do you have an idea to correct this bug ?

    And for your application containing sensitive data, does it work?

    If it work, it would be really nice to explain me how or to send me just the base, the principle of sending.

    Thanks you in advance and good evening,

    Jules

  • Julot135

    Do you have limitations on the platform and plugins you can use?

    I have an app in NWJS for PC desktop which I can open photos and save (Invoice generator).

    Using NWJS and Paster objects you can give the user an open dialogue, load in a picture and save the picture as a string in base64 format. (Very long text).

    I am guessing this could then be sent across multiplayer to another user. I am afraid I've not done anything with the multiplayer plugin yet so I would nowt know about this part. (I only made a multiplayer game about 4 years ago with PeerJS)

    Mayfly

    Hello,

    No, I don't have limitations. But It could be very cool if it's compatible with IOS and Android.

    Can you send me your application ?

    Thanks you in advance,

    Jules

  • The best you can probably do is use the system canvas snapshot action to get an image as a string.

    Nwjs to load from local folder, multiplayer to send string as message, and browser to invoke download

    Hello,

    I do not quite understand, could you explain more precisely ? (I'm a beginner)

    Thank you in advance

  • Hello all,

    I'm looking for a moment how to share an image by the Multiplayer function. I found some tutorials, but it's not really what I want.

    In fact, I would like the person to be able to choose an image, and to be able to exchange it through the Multiplayer plugin by sending

    the code of the image, for example, and to be re-transformed as an image.

    I think that's a bit impossible ...

    I also thought to send an image on an FTP, and to load it with the action "Load image by URL"

    Could you help me ? That would be of great use to me.

    Thanks in advance and good evening,

    Jules

    PS : Please forgive my English because I am French

  • Hi

    I do not think so, but I know in any case that it is possible to propose to the person to connect from Facebook

    You have to use the official Facebook addon for Construct 2. (Directly integrated in construct 2)

    I also searched, and found this plugin, which is a copy of the official, but better (which gives more information)

    scirra.com/forum/plugin-facebook-2-0_t76933

    You can, once the person connected, get his unique id, and for example connect to a server with as id its id.

    I'm used to making servers and clients 100% with Construct 2, so for me it's possible to have someone log in with their account on a hosted server.

    Hoping to help you at least a little bit.

    +

    PS : Please forgive my English because I am French

  • Hi !

    A plugin exists for this, I don't know if it is up to your expectations : scirra.com/forum/plugin-random-dungeon-generator_t108708

    Hoping to help you

    +

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • swad Excuse my double post, but, the plugin would not be abandoned ?

    You have not logged in for 5 months ...

  • Yes, you have been a great help to me, I thank you again.

    The post is resolved

  • Hello,

    So your SpaceVaisseau2 example is exactly what I want!

    I would not be able to thank you, everything works perfectly!

    And no problem not to have understood me, it's me who wasn't explicit enough

    In addition, I adapted it easily and quickly with your comments.

    Soon, I'll give you a little demo of the game, because with your help, I can continue to advance this game !

    Thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you ... and thank you !

    And thank you again for answering me and being super efficient for me.

    I wish you an Happy Christmas and an Happy New Year.

    Very good day,

    Jules

  • I can't click on the link ;(

    Edit : Sorry, I just understood that link it just a PDF. Good luck for this plugin, it looks very interesting

  • +90

Julot135's avatar

Julot135

Member since 27 Nov, 2017

None one is following Julot135 yet!

Trophy Case

  • 6-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

8/44
How to earn trophies