Variables, Conditionals, and Programming in Twine 2.1 (SugarCube 2)

Поделиться
HTML-код
  • Опубликовано: 18 янв 2025

Комментарии • 23

  • @sana7709
    @sana7709 3 года назад +12

    You may not see this ever, but your videos have helped me more than my actual professor and class did. Thank you. I feel a tiny bit more confident with Sugarcube now.

  • @hatguyfan22
    @hatguyfan22 4 года назад +8

    10:00, i have a question about that part: let's say a character has acquired an item, I want Sugarcube to remember it. Later, when someone asks for this item, if:
    if the player character has it, they get special dialogue
    if they do not, they are told to go find that item.
    I will continue watching to see if something like this is brought up.

    • @i_khanic
      @i_khanic 3 года назад +2

      Im thinking you would use a conditional with a Boolean if you have that variable true or false I could be wrong though just started learning

    • @bradleetulio4801
      @bradleetulio4801 2 года назад +1

      @@i_khanic exactly if special item = exist [[special dialogue]] else[[soemthing else]] look it up, it is fairly easy

  • @pompeyt4351
    @pompeyt4351 4 года назад +1

    All your videos are phenomenal! Thank you!!

  • @hanadelblanc
    @hanadelblanc 2 года назад

    best css teacher ever

  • @demetrivann
    @demetrivann 5 лет назад +1

    Thanks, Adam, this is very helpful!!!

  • @Squeezitgirdle
    @Squeezitgirdle 2 года назад

    As someone who considers themselves nearly an expert on HTML & CSS but only mediocre with js. Your videos were super helpful, thanks :)

  • @banggoman7371
    @banggoman7371 2 года назад +1

    What are the commands for harlowe?

  • @duinneacha
    @duinneacha 5 лет назад +1

    This was very helpful, thank you very much!!

  • @tomaO2
    @tomaO2 3 года назад +1

    Doesn't work properly on the latest version (2.32.1). It does work on the older version posted (1.0.35)

  • @pokevladi
    @pokevladi 2 года назад

    You are insane dude! thank you very much for your help!

  • @ninjad.musica9404
    @ninjad.musica9404 3 года назад

    Super useful, thank you!! 🤩🤩👍🙏

  • @meowlidy2546
    @meowlidy2546 4 года назад +1

    I tried what you did but for mine it says cannot find closing tag

    • @MrPrachen
      @MrPrachen 4 года назад +1

      do you have "" there?
      the script needs to know where the if ends so it knows he needs to print everything again

    • @meowlidy2546
      @meowlidy2546 4 года назад +1

      @@MrPrachen Thank you for answering I already solve it >-

    • @MrPrachen
      @MrPrachen 4 года назад +1

      @@meowlidy2546 Guessed that was the case. Good job man.

  • @dano7310
    @dano7310 5 лет назад +1

    Thank you so much for sharing this knowledge. It's definitely useful for my eLearning project.

  • @adalissaaa
    @adalissaaa 3 года назад +1

    Hey wow thank you so far. The Textbox thing realy helped. How can I make it possible (with sugarcube 2.31.1) that after entering the name into the textbox and pressing Enter it will lead him to a specific path?
    Thanks for any help

    • @lolidemon3163
      @lolidemon3163 2 года назад +1

      i know this is super late (but if any1 needs help it is here now)
      first 2 bits is self explanatory if u watched the earlier vids, first quotation marks would be watever is defaulted in the text box. the second quotation with here in it would indicate what passage it goes to, in this case it would go to the passage named here

    • @adalissaaa
      @adalissaaa 2 года назад +1

      @@lolidemon3163 super late haha...well thank you

  • @scholab1319
    @scholab1319 4 года назад +2

    Tommy dislike was not good. that too specific. rest is gold.