Untitled topic
1–9 of 9 posts
Re: undefined
#2Re: undefined
#3Re: undefined
#4Re: undefined
#5Re: undefined
#6When you get deeper into ECS it usually ends up being quite similar, with some components in a system being optional (OUTER JOIN) and the various ways components can be stored for efficient retrieval / updates (indexing in databases).
Re: undefined
#7Website isn't very mobile-friendly. Then again i have no idea how to make a horizontal table mobiley
For ideal presentation you can very quickly end up in a situation where you need to use media queries and set particular styles for particular situations.
In this case I would also remove the border from the table element (the cells have a border).
Re: undefined
#8I usually explained ECS to people unfamiliar with the concept more like a relational database. It's not a perfect 1:1, but I feel like it resonates well if you think of components as highly normalized tables, and entities being a table of optional foreign keys to all the other tables. Then systems are queries that pick and update the entity rows joined specifically with the component tables you care about. When you g…
Re: undefined
#9Website isn't very mobile-friendly. Then again i have no idea how to make a horizontal table mobiley
The roughest way is to add "display:block; overflow-x:scroll" to the table or an element containing the table. "display:block" wouldn't be needed for a block element like div of course. For ideal presentation you can very quickly end up in a situation where you need to use media queries and set particular styles for particular situations. In this case I would also remove the border from the table element (the cells h…
(not sure which border from the table element. will try to figue out later)
Update: also fixed. Thanks again :)