Banatawa's Recent Forum Activity

  • I was able to solve my problem regarding the direction of the player, it was stupid.

    By cons, I still have the problem of the location of the player.

  • Hello !

    I am French and I write this request with the help of Google translation.

    I would like to know how can we save the player's location when he changes layout? I had a small system with variables to do that, but it only worked between two layouts ...

    I would also like to save his animation, style ... If he looks at the top, I would like that when he changes layout, he still looks at the top.

    Would you have a solution to offer me?

    I look forward to your answers, thank you in advance.

  • Yes !

  • > Hey, I have a simple question.

    > It's possible to make an bot on twitter that tweets variable of my game in construct 2?

    >

    > Exemple : If HumanName variable = "Chara", I want that the bot tweet "Welcome to Chara on brOKtale !" ?

    >

    maybe this can helpyou

    Hey, thanks for your answer.

    I know how to set the name of the player in a variable, but I want that a twitter account tweet something like " "Welcome "&HumanName "

  • On Effacer pressed > set HumanName to left(HumanName,len(HumanName)-1)

    Thanks, it works perfectly !

  • Hey, I have a simple question.

    It's possible to make an bot on twitter that tweets variable of my game in construct 2?

    Exemple : If HumanName variable = "Chara", I want that the bot tweet "Welcome to Chara on brOKtale !" ?

  • Hey

    I'm a french people, so please talk me the more simply as you can.

    So... My problem is that a I have a layout in my project "brOKtale" where the player can set his name.

    That works except the "Effacer" button. In english, it's "delete", I think.

    He should delete a letter from the variable "HumanName" but I don't know how to do that.

    Exemple : HumanName variable is "Chara", if the player use "Effacer" I want that "Chara" change to "Char".

    I'm waiting for answers.

    Thank you in advance.

    - Banatawa

  • Thank you, I was able to solve my problem. You would have no solution for my second problem? If that does not bother you of course.

  • + (no conditions)

    -> TextInput: Set text to left(TextInput.Text, 6)

    -> System: Set charname to TextInput.Text

    -> Text: Set text to charname

    Something like this should work.

    What is "charname"? I do not find this event.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • + System: len(TextInput.Text) > 5

    -> TextInput: Set text to left(TextInput.Text, 6)

    -> System: Set charname to TextInput.Text

    Something like this should work.

    Thanks, I will test it later

  • Actually I had used left (variable, 6) on "compare variable not equal to", how to use len (text)?

  • I'm not sure I understood correctly but you can use the system expression len to get how many characters.

    len(text)

    Return the number of characters in text.

    you can also use this in a condition to limit the amount of characters you can enter.

    I have already tested using len in the following way: "len (HumanName, 6)" 6 being the maximum number of letters I want to have, not one more. But she did not work.

Banatawa's avatar

Banatawa

Member since 25 Oct, 2017

None one is following Banatawa yet!

Connect with Banatawa

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies