VBAndCs / sVB-Small-Visual-Basic

Small Visual Basic (sVB) is an educational programming language, created by Eng. Mohammad Hamdy as an evolved version of Microsoft Small Basic (SB). It is meant to be easier and more powerful at the same time, to introduce programming basics to kids and beginners of any age, provided that they can use the English keyboard on the Windows OS.
Other
222 stars 16 forks source link

sVB IDE with double lettering ... #16

Closed boa2145 closed 1 year ago

boa2145 commented 1 year ago

Hi Mohammad,

is it correct that there is a double lettering at the top left ->"FiveStar_With_Color1.sb"? Please, have a look at it!

Regards ... Gregor

Screenshot IDE sVB

VBAndCs commented 1 year ago

Yes, it is the text shadow. Actually, this is the original design from Small Basic, but it caused me many troubles when I made some modifications, so, I kept it this way. I may look into it again. By the way, try this:

GraphicsWindow.Width = 700
GraphicsWindow.BackgroundColor = Colors.Green
GraphicsWindow.FontBold = True
GraphicsWindow.FontSize = 60
'draw a black shadow texts
GraphicsWindow.PenColor = Colors.Black
GraphicsWindow.BrushColor = Colors.Black
For I = 1 To 25
   Txt = Shapes.AddText("Small Visual Basic")
   Shapes.Animate(Txt, 92, 142, 2000 + I * 50)
Next
' draw white text shifted by (8,8)
GraphicsWindow.PenColor = Colors.White
GraphicsWindow.BrushColor = Colors.White
Txt = Shapes.AddText("Small Visual Basic")
Shapes.Animate(Txt, 100, 150, 2000)

image

boa2145 commented 1 year ago

Hi Mohammad, this text effect is great. I tried it out and I will modify some elements. Regards ... Gregor

VBAndCs commented 1 year ago

Done in sVB 2.8.4.4 Thanks.