Conversation
Notices
-
Embed this notice
mistakes were made... Maybe the third time will produce better results xD
-
Embed this notice
@hazlin maxrects is the binpacker for you
-
Embed this notice
@hazlin are you making a font texture atlas?
-
Embed this notice
@Inginsub I am working out how to use inkscape as a sort of visual editor for a 2d game :D
And yes, also as a texture atlas. That first second attempt was very manual, and got so messy I couldn't even visually find the ones that needed corrected xD
So, atm, I've got ruby -> svg working for laying out the letters.
And, I've got svg -> ruby -> json working for turning my visualization into useful coordinates.
And, now I am working on json -> draw from atlas to texture on screen, with the layout given in the svg :D
I'm making a simple game for learning Electronics Resistor Color Encoding.
The shaku has a simple function for drawing from one texture region, to another texture region and rendering the target with webgl. So, that is what I am currently using.
I may rewrite it in C++ at some point, but I get the sense that, people here will only play my games if it runs easily in the browser xD
-
Embed this notice
No 4th color means 20% tolerance...there's sometimes a 5th color, its "reliability" and its only on military spec / high performance designs.
-
Embed this notice
@Teknoskillz @Inginsub Ahh yes, there does appear to be an error with one of the text lines in the screenshot xD
The text looks like shit in that screenshot, and that is why I am currently working on making text from a precomputed atlas.
And, thank you for point the error out. I'll add a note, so it gets corrected when I get back to actually working on the logic, after rendering the visuals :D
-
Embed this notice
@Teknoskillz @Inginsub well, that would be the error xD