Dayo Posted June 22, 2021 Share Posted June 22, 2021 Im thinking of moving GL v2 away from bootstrap but im struggling to find a way to do it without keeping backwards compatibility with 3rd party mods. So my idea is to build a CSS framework (like bootstrap) but it being focused on PBBG's. It will have several elements specifically designed for web games. What do people think about this idea? 1 Quote Link to comment Share on other sites More sharing options...
big_mike Posted June 22, 2021 Share Posted June 22, 2021 great idea really, ive started to look at using this: https://www.gethalfmoon.com/ uses alot of the same classes as BS but this has built in light/dark mode which is awesome. Quote Link to comment Share on other sites More sharing options...
SRB Posted June 22, 2021 Share Posted June 22, 2021 Save your time - if you are going to write a generic set of css classes, you might as well continue using bootstrap. I'd suggest perhaps using less styling in what you do, and hopefully force people to be creative and wrap their own games a little. If you provide all the scaffolding, the games using the engine (assuming this will ship with your game engine) will end up suffering the same fate as bootstrap anyway - they'll all look mostly the same. 2 Quote Link to comment Share on other sites More sharing options...
Dayo Posted June 22, 2021 Author Share Posted June 22, 2021 48 minutes ago, SRB said: Save your time - if you are going to write a generic set of css classes, you might as well continue using bootstrap. I'd suggest perhaps using less styling in what you do, and hopefully force people to be creative and wrap their own games a little. If you provide all the scaffolding, the games using the engine (assuming this will ship with your game engine) will end up suffering the same fate as bootstrap anyway - they'll all look mostly the same. The problem with BS is it dosent fully have everything you want in a game it also has a lot of stuff you dont need. Im not going to go and re-invent the wheel especially when its already made. There are frameworks like http://flexboxgrid.com/ already made that i would use to save me the several hours it would take to code the same thing. I agree with providing the bare minimal styling but you need to give them something they can at least work with Quote Link to comment Share on other sites More sharing options...
SRB Posted June 22, 2021 Share Posted June 22, 2021 3 hours ago, Dayo said: The problem with BS is it dosent fully have everything you want in a game it also has a lot of stuff you dont need. Im not going to go and re-invent the wheel especially when its already made. There are frameworks like http://flexboxgrid.com/ already made that i would use to save me the several hours it would take to code the same thing. I agree with providing the bare minimal styling but you need to give them something they can at least work with I'd argue that what's missing is components (which can probably be found on https://bootsnipp.com/), rather than custom CSS. Unless I'm missing something that it doesn't have - I'm actually curious, if you have a list? Bootstrap does have a lot of stuff that most people don't need, I agree. The answer to that is https://purgecss.com/ which bootstrap even acknowledge as the answer to the problem themselves - https://getbootstrap.com/docs/5.0/customize/optimize/#unused-css I'm not even trying to advocate bootstrap - I don't like it, and I don't use it - I just feel time spent on custom stuff for an engine that should be changed/designed by the end user, is time wasted for you and could be better spent on further enhancing your engine. Personally, since I work with Laravel daily, I use TailwindCSS now. Quote Link to comment Share on other sites More sharing options...
Canjucks Posted June 23, 2021 Share Posted June 23, 2021 sounds alright. although im not yet up to doing css type of things yet. then again that was coming last anyway lol Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.