Text Effects-NONE!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Robertp
    Forum Member
    • Oct 2008
    • 1

    Text Effects-NONE!

    I can't even begin to understand how you guys don't have text effects. What I mean by this is how text can do a quick swipe into the page or a diffuse effect or even a vertical swipe where the text shows up line by line
  • Imagine Programming
    Indigo Rose Customer
    • Apr 2007
    • 4252

    #2
    Originally posted by Robertp View Post
    I can't even begin to understand how you guys don't have text effects. What I mean by this is how text can do a quick swipe into the page or a diffuse effect or even a vertical swipe where the text shows up line by line
    This is not Adobe Flash cs3 :P search for the text decoration plugin if you wish such effects
    Bas Groothedde
    Imagine Programming :: Blog

    AMS8 Plugins
    IMXLH Compiler

    Comment

    • Bags
      Forum Member
      • Mar 2006
      • 61

      #3
      All those effects can be done just fine in AMS, albeit not as dramatic as you're thinking I am sure, but nonetheless just fine...

      Comment

      • Imagine Programming
        Indigo Rose Customer
        • Apr 2007
        • 4252

        #4
        Originally posted by Bags View Post
        All those effects can be done just fine in AMS, albeit not as dramatic as you're thinking I am sure, but nonetheless just fine...
        Amen brother†
        Bas Groothedde
        Imagine Programming :: Blog

        AMS8 Plugins
        IMXLH Compiler

        Comment

        • Centauri Soldier
          Indigo Rose Customer
          • Jun 2007
          • 1703

          #5
          Originally posted by Robertp View Post
          I can't even begin to understand how you guys don't have text effects. What I mean by this is how text can do a quick swipe into the page or a diffuse effect or even a vertical swipe where the text shows up line by line
          What like this?

          Took me ten minutes to write the code...just get creative man, you'll be amazed what AMS can do.

          PUT THIS CODE ON A BUTTON FOR TESTING

          Code:
          function TextSweepFromLeft(sParagraphName, sMyText, iParagraphX, iParagraphY)
          
          
          
          -- Paragraph object properties table.
          tblParaProps = {};
          tblParaProps.Text = sMyText;
          tblParaProps.FontName = "Arial";
          tblParaProps.FontSize = 10;
          tblParaProps.FontWeight = FW_NORMAL;
          tblParaProps.FontAntiAlias = true;
          tblParaProps.FontScript = ANSI_CHARSET;
          tblParaProps.FontUnderline = false;
          tblParaProps.FontStrikeout = false;
          tblParaProps.FontItalic = false;
          tblParaProps.Width = 5 + (String.Length(sMyText)*8);
          tblParaProps.Height = 40;
          tblParaProps.Y = iParagraphY;
          tblParaProps.X = -tblParaProps.Width;
          tblParaProps.ScrollVertical = SCROLL_AUTO;
          tblParaProps.ScrollHorizontal = SCROLL_OFF;
          tblParaProps.Alignment = ALIGN_LEFT;
          tblParaProps.BGStyle = BG_TRANSPARENT;
          tblParaProps.BGColor = Math.HexColorToNumber("000000");
          tblParaProps.BorderStyle = BORDER_NONE;
          tblParaProps.BorderColor = Math.HexColorToNumber("FFFFFF");
          tblParaProps.ScrollStyle = SCROLL_STANDARD;
          tblParaProps.SkinFile = "";
          tblParaProps.TooltipText = "";
          tblParaProps.Enabled = true;
          tblParaProps.Visible = true;
          tblParaProps.Cursor = CURSOR_ARROW;
          tblParaProps.ResizeLeft = false;
          tblParaProps.ResizeRight = false;
          tblParaProps.ResizeTop = false;
          tblParaProps.ResizeBottom = false;
          tblParaProps.ColorNormal = Math.HexColorToNumber("FFFFFF");
          tblParaProps.ColorHighlight = Math.HexColorToNumber("FFFFFF");
          tblParaProps.ColorDown = Math.HexColorToNumber("FFFFFF");
          tblParaProps.ColorDisabled = Math.HexColorToNumber("C0C0C0");
          tblParaProps.HighlightSound = SND_NONE;
          tblParaProps.HighlightSoundFile = "";
          tblParaProps.ClickSound = SND_NONE;
          tblParaProps.ClickSoundFile = "";
          
          Page.CreateObject(OBJECT_PARAGRAPH, sParagraphName, tblParaProps) 
          
          for x = 1, (iParagraphX + tblParaProps.X) do
          Paragraph.SetPos(sParagraphName, x, tblParaProps.Y);
          
          
          
          end
          
          end
          
          TextSweepFromLeft("Paragraph1", "This is some text right here.", 550, 500)
          P.S. Thanks for the inspiration! I'm gonna write a whole mess of these little text effects for my action script treasure pile.
          Last edited by Centauri Soldier; 11-03-2008, 12:37 AM.
          https://github.com/CentauriSoldier

          Comment

          • Centauri Soldier
            Indigo Rose Customer
            • Jun 2007
            • 1703

            #6
            Here, I decided to play with it just a bit more so as to demonstrate the power of AMS.

            Code:
            Text = {};
            
            -- Paragraph object properties table.
            tblParaProps = {};
            tblParaProps.Text = "my text here";
            tblParaProps.FontName = "Arial";
            tblParaProps.FontSize = 10;
            tblParaProps.FontWeight = FW_NORMAL;
            tblParaProps.FontAntiAlias = true;
            tblParaProps.FontScript = ANSI_CHARSET;
            tblParaProps.FontUnderline = false;
            tblParaProps.FontStrikeout = false;
            tblParaProps.FontItalic = false;
            tblParaProps.ScrollVertical = SCROLL_AUTO;
            tblParaProps.ScrollHorizontal = SCROLL_OFF;
            tblParaProps.Alignment = ALIGN_LEFT;
            tblParaProps.BGStyle = BG_TRANSPARENT;
            tblParaProps.BGColor = Math.HexColorToNumber("550000");
            tblParaProps.BorderStyle = BORDER_NONE;
            tblParaProps.BorderColor = Math.HexColorToNumber("FFFFFF");
            tblParaProps.ScrollStyle = SCROLL_STANDARD;
            tblParaProps.SkinFile = "";
            tblParaProps.TooltipText = "";
            tblParaProps.Enabled = true;
            tblParaProps.Visible = true;
            tblParaProps.Cursor = CURSOR_ARROW;
            tblParaProps.ResizeLeft = false;
            tblParaProps.ResizeRight = false;
            tblParaProps.ResizeTop = false;
            tblParaProps.ResizeBottom = false;
            tblParaProps.ColorNormal = Math.HexColorToNumber("FFFFFF");
            tblParaProps.ColorHighlight = Math.HexColorToNumber("FFFFFF");
            tblParaProps.ColorDown = Math.HexColorToNumber("FFFFFF");
            tblParaProps.ColorDisabled = Math.HexColorToNumber("C0C0C0");
            tblParaProps.HighlightSound = SND_NONE;
            tblParaProps.HighlightSoundFile = "";
            tblParaProps.ClickSound = SND_NONE;
            tblParaProps.ClickSoundFile = "";
            
            
            function Text.SweepFromLeft(sParagraphName, tblParagraphProperties, iParagraphStopX, iParagraphStopY, iSpeed)
            
            tblParagraphProperties.Width = 6 + (String.Length(tblParagraphProperties.Text)*7);
            tblParagraphProperties.Height = 30;
            tblParagraphProperties.Y = iParagraphStopY;
            tblParagraphProperties.X = -tblParagraphProperties.Width;
            
            Page.CreateObject(OBJECT_PARAGRAPH, sParagraphName, tblParagraphProperties) 
            
            for x = 1, (iParagraphStopX + tblParagraphProperties.X) do
            Paragraph.SetPos(sParagraphName, x, tblParagraphProperties.Y);
            
            	for y = 1, (100 - iSpeed) do
            	Paragraph.SetPos(sParagraphName, x, tblParagraphProperties.Y);
            	end	
            	
            
            end
            
            end
            
            --change the last number in the function to change the speed of the text effect (0-100)
            Text.SweepFromLeft("Paragraph1", tblParaProps, 550, 500, 0);
            Don't forget, there are many folks around here that can help with code too and more user-made, free plugins that you can shake a stick at!
            https://github.com/CentauriSoldier

            Comment

            • power
              Forum Member
              • Aug 2010
              • 8

              #7
              Hello, i am lookin for an effect similar to dose shown on the thread, but only to worn on show an on timer por rich text, can you help me with an example, like one sweep right to left

              Comment

              • arb
                Indigo Rose Customer
                • Jul 2007
                • 163

                #8
                Check this

                Comment

                Working...
                X