Hello guys! I worked really hard on my new plugin StyleScript in the past!
And now I decided to make it public and free for everybody!
What is this plugin?
This plugin adds a new scripting interface and language into your roblox game.
You can use this scripting language to style your GUI like CSS!
That looks quite useful actually. I use CSS a lot to specify fonts, background etc. I’m going to ask if I can use the tags I use the most for styling (font-family, color, background-color).
Oh! Thanks so much for the ideas! I will definitly implement font-family and color!
(the plugin already has ‘background-color’ it’s just ‘bg’ for short.)
I can’t remember fully but I believe there is a text-align tag in CSS as well. Obviously it would have to work differently as we have X and Y alignments in Studio. I should also mention that there is sizing tags such as width and height in CSS plus there is positioning ones like right, left, bottom, top. (correct me if the positioning tags are wrong)
Yeah, I want to implement the text-align-x and text-align-y property.
It would be hard to make a height and a width property. So, there will be a
‘scale-size’ and ‘offset-size’ property for changing the size of elements.
And there will be a similar ‘scale-position’ and ‘offset-position’ property too!
Yeah, but my code isn’t prepared for this type of properties.
Now I’m just going to add ‘scale-size’ and ‘offset-size’ and ‘scale-position’ and ‘offset-position’
as Vector2 values.