lightning_'s Recent Forum Activity

  • 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

  • нет.есть 2 плагина "лист": "кто написал" и "что написал".в них много имен а в другом много смс написанные этими пользователями.все данные в которых упоминается имя "ilya" ( то есть все смс которые написал ilyas и

    данные из "кто написал" и "что написал" идут в плагины

    "кто написал2" а смс в "что написал2"

    то есть из первой пары листов во вторую пишутся сообщения только одного определенного пользователя,все смс которые написал илья.

    а уже оттуда они переходят в текстбокс но переходят два раза почему то а мне нужно что бы 1 раз было

    On english

    no. there are 2 plug-ins "sheet": "who wrote" and "what wrote". they have a lot of names and in the other there are a lot of sms written by these users. all the data that mentions the name "ilya" (that is, all sms written by ilyas and data from "who wrote" and "what wrote" go to plugins "who wrote2" and sms in "what wrote" that is, from the first pair of sheets, messages of only one specific user are written to the second, all the SMS that Ilya wrote. and from there they go to the textbox but go twice for some reason, but I need it to be 1 time

  • friends imagine such a picture

    there are 2 list plugins on stage

    on the first name of the sender of the sms and on the second the text of the sms.

    When I press the button, the entire text of the SMS, along with the name of the sender, goes to the textbox, and there users can read their correspondence. this is how it should be

    a:hello

    b: hello who are you

    c: i am spider man

    d: an i very cool

    but I see this text that is repeated several times

    a:hello

    b: hello who are you

    c: i am spider man

    d: an i very coola: hello

    b: hello who are you

    c: i am spider man

    d: an i very cool

    If I stop the cycle, then nothing is written; if I stop after a couple of seconds, SMS is still duplicated

    or blank lines

  • There's a useful trick to the system find expression, where you do something like:

    System: find(text,"apple") ≠ -1

    Find returns the character index at which the first instance was found, but it returns -1 if nothing is found. So saying "if apple is not not found" is the same as "if apple is found". Then you do your action, like set text to "I love apples".

    Thanks you helped me a lot. Like +1

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