HNHacker News
TopNewBestAskShowJobs

rofko

436 karma · joined July 19, 2017

submissionscomments
rofko··on CSSQuake
Hi there! Thanks for the report, buttons should work properly now.

Regarding the game logic, the build step has a small JS extractor over QuakeC/progs.dat to generate JSON source facts: states, models, attacks, sounds, etc. The browser runtime is TypeScript and consumes those for Quake-ish gameplay.

rofko··on CSSQuake
Thanks for that report! It is hopefully fixed now.
rofko··on CSSQuake
You should be able to enable sounds with the M shortcut or through the Options menu.
rofko··on Show HN: A CSS 3D Engine (no WebGL)
Hi there! This is not trying to be a three.js replacement, scenes with huge polygon counts naturally should render in canvas.

For me, the interesting case is smaller low-poly or voxel scenes where loading a full 3D stack may be overkill, and where keeping the scene in DOM/CSS gives you easier integration with normal layout, styling, events, etc. Once you have the HTML, you don't even need to load the library to render a static model.

Also, part of the experiment is testing the browser’s limits and getting a clearer sense of where this approach works, where it breaks down, and what the tradeoffs are.

Cheers!

rofko··on Show HN: 3D Mahjong, Built in CSS
Thank you! I'm going to review that. In the meantime I've added Undo/Redo options so you can backtrack your steps.
rofko··on Show HN: 3D Mahjong, Built in CSS
Done!
rofko··on Show HN: 3D Mahjong, Built in CSS
Thanks for the report! I added a patch that hopefully fixes that.
rofko··on Show HN: 3D Mahjong, Built in CSS
Thanks for the feedback! Just pushed that fix.
rofko··on Show HN: 3D Mahjong, Built in CSS
That's unfortunate! I'll make sure to patch that case.
rofko··on Show HN: 3D Mahjong, Built in CSS
Thank you for the insight! I think rotating the tile images is key. Since I’m using CSS Grid for positioning, there are some limitations around overlap like the one you mentioned, but it should be solvable. I’ll keep working on it to bring it closer to the standard behavior.
rofko··on Show HN: 3D Mahjong, Built in CSS
Thank you for the feedback! I will triple check the rules
rofko··on Show HN: A CSS-Only Terrain Generator
Definitely! I'm planning for more landscape features for next versions. I think rivers will be a great addition, and waterfalls/rapids sound really interesting too. In the end it's a matter of adding a few classes and designing some sprites.
rofko··on Show HN: A CSS-Only Terrain Generator
Thanks for the report! Are you using a dark mode extension by any chance? I’ve seen that happen with Dark Reader in Chrome.
rofko··on Show HN: A CSS-Only Terrain Generator
Thank you! Populous and Transport Tycoon were two big inspirations for sure :)
rofko··on Show HN: Layoutit – An interactive CSS Grid generator
We have just pushed an update that should fix this and other issues!
rofko··on Show HN: Layoutit – An interactive CSS Grid generator
Try reloading without cache! That CDN should be working.
rofko··on Show HN: Layoutit – An interactive CSS Grid generator
We offer some support for the previous version of the spec. In those cases you can add a media query to detect IE10+ and override some of the properties. It works well as a starting point for supporting the legacy grid. In our tests the positioning is working as expected, but the sizing units might need some tweaks.

For me the biggest issue with IE grid is the lack of support for auto-positioning of elements. If you don't rely on that for your design you can support IE10+ pretty well.

rofko··on Show HN: Layoutit – An interactive CSS Grid generator
Thank you! CSS Grid is awesome.
rofko··on Show HN: Layoutit – An interactive CSS Grid generator
CSS doesn’t allow selectors to begin with a number. We may add a warning or a workaround for this though!
rofko··on Show HN: Layoutit – An interactive CSS Grid generator
Thanks for your report! We'll definitely work on fixing bugs for complex nested grids. We usually update it every week.

Cheers

rofko··on Show HN: Layoutit – An interactive CSS Grid generator
We'll be improving the mobile experience soon :)
rofko··on Show HN: Layoutit – An interactive CSS Grid generator
Thank you! We'll work on those those UI bugs, the nested grids are a challenge.
rofko··on Show HN: A CSS Grid generator for building layouts faster
You can use any selector to apply the grid, that data-area can be replaced with a class you already have.
rofko··on Show HN: A CSS Grid generator for building layouts faster
The code produces a standard way of defining grid-areas with line numbers, there is nothing poor or long winded about that. You can build grids in many ways.

Using a data-attribute is useful when you have overlapping areas, as one cell can't have two names at the same time. It is also essential for naming grid areas support in IE10+.

That being said, we will definitely add naming areas with grid-template-areas in a future version, alongside naming grid lines, which is also very useful for these layouts.