Creations Sylwest's Recent Forum Activity

  • Ohhh Ok i see... excellent idea ! thx very much for all your help

  • One question more please :

    The only way to do that is to using the Events?

    For example :

    Text_Name ------ Set Text to "hey " & hero & " how are you?" (that is works well, thanks again

    Or can I use my sentence directly in the Properties box on the left of my Text_Name item ?

    So directly write in the Properties "hey " & hero & " how are you?" Unfortunally, if I do that, it doesn't work, but I was wondering if it was possible with a specific expression by any chance ? It's just because It's more simple to see directly all my texts in the Editor (else with the 1st method they are empty).

    Thx for your help

  • Blackhornet, your solution worked to me, thx again

    TelleS0808, thank you to made a capx specially for me, I have an older version than you so for now I can't open it, but I'll make an update today to be able to open it, and see finally which solution is the best.

  • Ok I will try this, thank you very much

  • Oh, thank you, I didn't know the "&" trick

    Problem solved, thx

  • Hi,

    (sorry it's my second post today but I have 2 distincts problems I can't resolve...)

    I'm trying to make appear a sequence of sentences with the Touch function.

    For example : Sentence_1 - The player has to click on "Next" sprite to make Sentence_1 to disappear and to make appear the sentence_2. etc.

    But when I do that, whatever I use "On touched", "Is Touching", "On Tap object" (I tested all of them!!) it doesn't works correctly and ALL my sentences are disappear.

    Here precisely what I did in my events (my sentences are in Text object) :

    (By default, all my Texts are invisible except the first)

    EVENT 1 :

    Text Sentence_1 is visible ........................................ Text Sentence_1 - Destroy

    Touch - On touched "NEXT"...................................... Text Sentence_2 Set visible

    System - Trigger Once

    EVENT 2 :

    Text Sentence_2 is visible ........................................ Text Sentence_2 - Destroy

    Touch - On touched "NEXT"...................................... Text Sentence_3 Set visible

    System - Trigger Once

    EVENT 3 :

    Text Sentence_3 is visible ........................................ Text Sentence_3 - Destroy

    Touch - On touched "NEXT"...................................... Text Sentence_4 Set visible

    System - Trigger Once

    etc, etc, etc....

    But when I test it, if I touch the "Next" sprite, all my sentences are destroying at the same time. What I'm doing wrong ?

    Or is it a bug with the Touch function when we test it on construct 2 via computer ? It's an app for Mobile so I don't have the choice to use "Touch" here...

    thx for your help

  • hi,

    I'd like the player can enter his name at the start of the game, and then during the adventure, NPCs talk to him using this name in the middle of their multiple sentences.

    For example, at the start we name our character "HERO" and then during the game the NPC says: "hey HERO how are you?" Or to give a quest "HERO , can you get me this stuff?"

    SO how can I do that and insert a memorized name in the middle of any sentences ?

    thank you

  • Perfect, just what I need

    But one question now : how can we use this Name in the middle on a sentence during the game ?

    In a RPG for example, at the start we name our character "HERO" and then during the game if some people talk to us, for example : "hey HERO how are you?"

    thx

  • Ok thank you very much

    And finally to export it on Android, i was using Cocoon but I heard people it's not compatible with this plugin.

    What do you use to export your games on android about you ??

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ok thank you very much, I will try

    EDIT : Ok, so where I have to insert my variable "coin" ?

    For example, in this expression : Prepare Set Key "Gold" to 100 in slot body

    If I have a variable Coin, can I change it by : Prepare Set Key "Gold" to Coin in slot body

    Key : Gold

    Value : 100 (replace by Coin variable)

    Slot : Body

    Is it correct ?

  • HI Rex or evyrone else here who could help me

    So I want to save variables datas (like localstorage but on internet with Firebase)

    I'm using the "save user variables.capx" example, but in the template, there isn't any variables in the event, so I have some doubts about the expressions and how can I use them.

    Please, does someone could tell me how modify this expression according to my example datas below ?

    ACTION BROWSER : "Gold= " & SaveSlot.BodyValue("Gold")

    ACTION SAVESLOT VALUE : SaveSlot.BodyValue("Gold") + 1

    Here, "Gold" seems to be just the keyname and not the variable....

    My datas example :

    My variable : coins

    My key : "coin_key"

    So What I have to type exactly according to my variable "coin" and my key name "coin_key" ? Please ?....

    Thank you very much

  • Are you sure the Drag&Drop from explorer windows doesn't work ? Maybe that's because the Post is old, but I just tried and I can tell it works very well PLUS : it keeps the name .png (ibnstead of just "sprite1, 2, etc). Cool !

    EDIT : Ok, not multiple sprites indeed, but the Drag&Drop work, even one by one, it's more convenient than create sprite from Construct 2.

Creations Sylwest's avatar

Creations Sylwest

Member since 2 May, 2016

Twitter
Creations Sylwest has 4 followers

Trophy Case

  • 8-Year Club
  • Entrepreneur Sold something in the asset store
  • x5
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Email Verified

Progress

12/44
How to earn trophies