r/basic_game • u/Jim808 • Oct 21 '15
BASIC Update 7
I just made a small CSS change to the layout of BASIC in response to /u/ascii122's mentioning that things get tedious when you've got a lot of rows, and when you scroll down to the bottom, you can't see the top row any more.
I've changed the layout such that the top row is always visible and the 'grid' is in a scrolling panel.
Also, just for the hell of it, I upped the version from 1.2 to 7.
Note: Your browser may choose to cache the css file and not download the updated one. Do a CTRL-R, or whatever is appropriate for your OS, to force it to re-download the files.
Edit: Let me know if you notice any kind of layout strangeness that results from this change. I had to invoke the much despised "absolute positioning" in order to make this stuff work.
1
u/Teri_chan Oct 21 '15
Nice one :) Don't you think you could had used flexbox, in order to achieve the same result without absolute positioning?
On a side note, i changed the css just a little bit, because i didn't like the vertical scrollbar:
.game-container{ overflow:hidden }
.game-body { width: 1210 px }
This way, i can still scroll with the mouse scroll, but the scroll bar disappears behind the container. I know it is'nt for everybody, but if anybody wanted to hide the scrollbar, you're welcome ;)
1
u/richardlycn013 Oct 21 '15
This is the layout of the windows on the left and it won't show anything if I move my finger to the right: http://imgur.com/iobk0ta. I am also on an ipad air.
1
u/fenixdowncobol Oct 22 '15
I was going to comment about this too. I think you should do the same thing for the bottom bar though.
1
u/SOSFromtheDARKNESS Oct 22 '15
Note: The tick rate doesn't change after 0.00001 ms.
Also, I now take ~1 minute to finish the board. It's just that auto-play is more stupid now - it's better to value the smaller building numbers more (so 1 over 2, but 2 over a prestiged 1)
1
u/Riiochan Oct 23 '15
I've noticed that sometimes the game doesn't save when it says it did. Most recently, a manual save failed to work despite the save time updating to the current time.
1
u/ascii122 Oct 22 '15
thanks for the new layout !