lightning_'s Recent Forum Activity

  • There is a tank game online.

    I opened the game on two tabs in google chrome.

    And played for two players.

    When the first player moves, the second player on the other tab should see it.

    But if after the movement of the first player I do not click on the second tab, then I will not see the movement from the first player.

    I have to click on the window of the second tab of the browser to see the updated last position of the player. Thanks in advance

    Here is the video

    youtube.com/watch

  • Friends, I threw any images into a sprite using the "file chooser".

    Is it possible to somehow throw an image or sprite into the "Canvas" plugin

    Tagged:

  • Hello together!

    I like to use functions for objects that I create regularly.

    Now my problem is that I do not know how the List objects type attributes are called internally. "List box" and "Dropdown list" do both not work if I set the type to these.

    Although the List objects types are called "List box" and "Dropdown list" in the properties inside the editor these do not seem to be the right type names.

    I tried to somehow log the lists javascript object to see if there is the type shown.

    Unfortunately, no. Or I can't read them.

    Does anybody know Ashley how I can see the available object attributes for a given object?

    Thank you in advance!

    Edit:

    I want to add that with the Text input object modifying the type at runtime did indeed work. "Text", "Password", "Email", "Number" etc.

    Unfortunately it cannot be changed.

    But you can compare.

    For example, you can find out its type

    "dropdown list" or "listbox".

    Inside the game you can get its type.

  • Friends default parameter windows size=350, 500

    I need that when I enter a certain room, it becomes permissible windows size = 1000, 750

    can it be done and how

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Friends, I want to send photos using the Photon plugin.

    I already figured out how to do it.

    The user selects a photo from their device.

    This is done using the "file choser".

    Next, I encode the selected image.

    This is done using the base64 plugin.

    Base64 encodes the image.

    I am sending the image code text via Photon.

    But it is very long.

    And that's why I see the error.

    Photon is limited in sending data.

    More than 50 kb there are problems.

    I decided that I would send in parts.

    Anyone have an idea how to do this.?

    The main question is how to send text in parts through Photon.

    Thanks in advance

  • Can you help me send in parts?

  • Friends, I upload an encoded image using the base64 plugin to another user via photon and see this error

  • As mentioned above it's standard, you should make your own buttons with Sprites.

    I can make buttons, but what about the textbox, sheet, slider bar, they can’t be done in any way.

    They said that there are plugins specifically for this. I would like to find them

  • Friends, I am creating a chat on Photon.

    I want to implement a feature to send images.

    There is already a created sprite on it with a standard avatar image.

    The user selects a photo using the file chooser.

    After that, the base64 plugin encodes the photo and sends the code to the server.

    There I created a sprite for verification and the received data of the sent image will be entered into this sprite.

    That is, the sprite will turn into a picture that the user sent.

    Everything is sent.

    Everything is accepted.

    But the very first standard picture is sent and not the one that we chose through the file chooser

  • Just read a friend, don't be lazy. Perhaps you know the answer. Friends, I created a chat, people can register in it, throw friendship requests, chat, block each other, etc. Almost like a social network.

    When people chat with each other, I need that when they send a photo of themselves, the photo appears in the chat where text messages appear.

    I use a textbox to display sms.

    To send your photo to filechooser and plugin for image encoding and decoding.

    When the user encodes an image and submits the image code is sent to the user and how do I get it to show up in the chat? anyone have any ideas.

    I will be very glad to any idea.

    Now I will do this method using not literate code. The image code will be written to the sheet and when clicked, the image with the code we clicked on will be shown.

    Tagged:

  • I know your struggle. The Sprite you are setting it to must be present on the Layout or it's not gonna work!

    Yes, I knew that too. The sprite was not inserted instead of the mouse because the sprite should be maximum 64x64

    this is all normal, but when you hover over the dom objects of the textbox of the sheet and the button, it becomes back to standard

  • although I said in advance that I know this method, I still thank you

lightning_'s avatar

lightning_

Member since 19 Apr, 2021

None one is following lightning_ yet!

Trophy Case

  • 3-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

6/44
How to earn trophies