Navigation

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

    coolText: fade in text function

    Functions
    5
    10
    578
    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.
    • vinicity
      vinicity F last edited by pianofire

      Hi!

      I did a function for drawing text with a cool fade-in effect. This will probably be used in a game eventually, but I thought I would share it now. Feel free to use it in your own projects if you want to.

      ID: NNR8YRND5C

      1 Reply Last reply Reply Quote 10
      • G
        gilman last edited by

        Looks cool, i cant wait to see the code. I just tried to download and got a project not found error....

        vinicity 1 Reply Last reply Reply Quote 1
        • vinicity
          vinicity F @gilman last edited by

          @gilman said in Fade-in text demo:

          Looks cool, i cant wait to see the code. I just tried to download and got a project not found error....

          Yeah, it seems to be in "pending" state still.

          1 Reply Last reply Reply Quote 0
          • pianofire
            pianofire Fuze Team last edited by

            That is live now

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

              oh that's really neat!

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

                Oops! I just realized that it looks great in handheld, but looks like crap when docked. I will attempt to fix it and re-share...

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

                  OK, I added a setMode(1280, 720), and now it looks good when docked as well.

                  The program has been re-shared, so please re-download for the latest version.

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

                    Wow this is so effective! Seriously awesome work! @pianofire - perhaps if @vinicity doesn't mind, we could get this function into the Useful Functions sections of the Arena?

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

                      @Dave I do not mind at all!

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

                        If someone wants to use it in their own project, please be aware that there is a small limitation:

                        In order to animate the fade in, I needed to draw a solid background colored box behind the currently animating text for each frame. Since the animation is much bigger than the actual text, the box is also much bigger. This means you cannot have two rows of text that are very close to each other, since the box for the next row will partially cover the previous one. Just keep them a bit apart and you will be fine.

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