Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    My Text Adventure

    Work In Progress
    13
    50
    3386
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • lawyerlounge
      lawyerlounge last edited by

      How did you have text slowly fade away after printing?

      1 Reply Last reply Reply Quote 1
      • Dave
        Dave Fuze Team last edited by

        If you multiply a colour vector's alpha (transparency) component by a number less than 1 inside a loop, you'll gradually reduce opcacity by a percentage. I imagine it's something along these lines! Could be completely wrong however.

        textCol = { 1, 0, 0, 1 }
        fadeTimer = 0
        loop
            clear()
            ink( textCol )
            print( "this" )
            fadeTimer += 0.1
            if fadeTimer >= 10 then
                if textCol.a > 0 then
                    textCol.a *= 0.9
                endif
            endif
            update()
        repeat
        

        This is of course very rudimentary compared to what @Jongjungbu is doing, since they have all sorts of different text being displayed. But I believe the concept will be the same. In this example our fadeTimer variable needs to reach 10 before the fade out begins. The 0.9 on line 10 is the speed of the fade. Multiplying by 0.99 will be a ten times slower fade.

        1 Reply Last reply Reply Quote 0
        • Jongjungbu
          Jongjungbu F last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 2
          • Jongjungbu
            Jongjungbu F last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 1
            • Dave
              Dave Fuze Team last edited by

              Genuinely getting a bit emotional here!

              Have you shared the new version dude? I'll be hanging out with some friends this evening and I'd love to show off your creation!

              Jongjungbu 1 Reply Last reply Reply Quote 0
              • Jongjungbu
                Jongjungbu F @Dave last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 2
                • Jongjungbu
                  Jongjungbu F last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 1
                  • N
                    Nisse5 F last edited by

                    Tested it now. Very nice!

                    Feature request: support backspace to edit words.

                    Jongjungbu 1 Reply Last reply Reply Quote 0
                    • Jongjungbu
                      Jongjungbu F @Nisse5 last edited by

                      This post is deleted!
                      N 1 Reply Last reply Reply Quote 1
                      • Dave
                        Dave Fuze Team last edited by

                        I love having the backspace on B button press. Is it possible for you to add the X button Space input like it is in the editor? I found myself doing this a lot whilst playing!

                        1 Reply Last reply Reply Quote 1
                        • Jongjungbu
                          Jongjungbu F last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 1
                          • N
                            Nisse5 F @Jongjungbu last edited by

                            @Jongjungbu Just checking: has the lack of support for non-printing characters been mentioned in the Wish List thread?

                            Jongjungbu 1 Reply Last reply Reply Quote 0
                            • Jongjungbu
                              Jongjungbu F @Nisse5 last edited by

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • Martin
                                Martin Fuze Team last edited by

                                We will at some point soon be locking that thread for a while so we can go through it properly internally so if it isn't in there, it's worth adding if it's something you feel you want.

                                Jongjungbu 1 Reply Last reply Reply Quote 2
                                • Jongjungbu
                                  Jongjungbu F @Martin last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 1
                                  • Electric Dreams
                                    Electric Dreams F last edited by

                                    Very nice.
                                    More than 2000 lines.
                                    Whaou !
                                    how do you manage to manage such a quantity?

                                    Jongjungbu 1 Reply Last reply Reply Quote 0
                                    • Jongjungbu
                                      Jongjungbu F @Electric Dreams last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 1
                                      • A
                                        AtomAlexander F last edited by

                                        Can you post the code to download this with I.d.#

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          MikeDX @AtomAlexander last edited by

                                          @AtomAlexander said in My Text Adventure:

                                          Can you post the code to download this with I.d.#

                                          He hasn't shared it, so no.

                                          1 Reply Last reply Reply Quote 0
                                          • J
                                            JonnyLaw F last edited by

                                            i would love to know if this ever gets posted. looks amazing

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post