lightning_'s Forum Posts

  • 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

  • Set text removes all previous content. Try append text.

    Exactly. I realized the mistake.

    Here the cycle is not needed at all. In total, the textbox text is equal to the text of the first element of the sheet, that's all)))))

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There is one plugin sheet.

    Its first element has numbers.

    Using the cycle and tokecount, I wanted to throw all these numbers from the first element into the textbox, but something went wrong

  • Friends, when the first actor (server) connects, I see this error Error code: 32758 | Error Message: Game does not exist

    What does it mean. But at the same time everything works as it should. I just see this error

  • Friends even the cursor does not change to a sprite like everything was done correctly.

    Option

    set Cursor style-None

    and

    sprite.X=Mouse.X

    sprite.Y=Mouse.Y

    I already know, but that's not it. When hovering over text boxes, sheets, buttons, etc., it turns into a regular cursor.

  • Friends, what is the difference between "User İD" and "ActorNR" in the "Photon" plugin

    I can change "UserİD"

    But how do I change "ActorNr" ?

    When sending an event to a specific player in the TargetActors parameter, I write "ActorNr" of the player to whom I send the event (raise event)

  • > > Doesn't support that feature at the moment so you will need to do it yourself by looping through the existing List and removing all the duplicates.

    > >

    > > Here is one way of doing it:

    > >

    > >

    > >

    > > https://www.dropbox.com/s/ogpzayc4j0cdd75/Remove%20List%20Duplicates.c3p?dl=0

    >

    > Can I have the same example on Construct 2, I still can’t enter Construct 3

    You should have been able to replicate it easy in Constrcut2 as is the exact same code.

    Here is the C2 version:

    https://www.dropbox.com/s/aapubb5rbm61j8w/Remove%20List%20Duplicates.capx?dl=0

    Ok thanks.

    can you help me in this thread if you parse it like this i want to prevent duplicate entries from being created

    construct.net/en/forum/construct-3/how-do-i-8/list-plugin-translates-lines-171497

  • Friends, I created an extended chat with registration and with the entrance to my acc.

    When a grok writes to an accomplice to another player

    new data is added to the corresponding additions "list"

    Then they and the server go to the player via json and automatically go to the same "list" sheets that were on the server.

    And from there everything will be written in a text box.

    But for some reason they are written 2-3 times, then in general they are duplicated several times, although in the list itself they are 1 piece each, as in the database.

    Why are they duplicated?

  • Doesn't support that feature at the moment so you will need to do it yourself by looping through the existing List and removing all the duplicates.

    Here is one way of doing it:

    https://www.dropbox.com/s/ogpzayc4j0cdd75/Remove%20List%20Duplicates.c3p?dl=0

    Can I have the same example on Construct 2, I still can’t enter Construct 3

  • Read Ashley's thread. what he means to say is that you don't have to ask questions about productivity. You can answer them yourself based on your measurements. if a causes fps to drop more than b then use b is simple. but personally, I can say that the method with json in your case is a bad solution and it contains much more unnecessary and unnecessary information than the method where you write down what you need