rizoma —
I'm not using sub-pixel accuracy since this is suppose to be a retro game, so I just truncate to …
Yes, that's how it is. Clang has higher startup cost than MSVC. There are -ftime-report and -ftime…
Am I mad? Or anyone also noticed it? I wrote a build.bat for Clang and MSVC, both with 3 different…
Why is working with bitmap an issue with the representation of the bounding box of your entities …
ypos is the position of the baseline. The function uses top left origin for the coordinates, if yo…
rizoma —
Hi, I'm really stuck trying to write decent/mantainable code for my little tilebased oldschool 2d …
No reason, it was just not important to me at the moment. So I just tried and it doesn't work wel…
Jens —
I've been thinking of having the address directly writable, something along the lines of but I do…
C_Worm —
I tried using the x0, y0, x1, y1 from stbtt_aligned_quad returned from stbtt_GetPackedQuad() Howev…
I updated the file as there were an easier way to do what I wanted. A few other notes: I would lik…
I believe, and are used as state for the function to track were it is in the rendering of the se…
C_Worm —
Hey! Im using the stb_truetype.h for rendering text, and more specifically this API However, if i…
Hey, I'm curious about this since I have played around with both unity and android studio for a bi…
Jason —
While I was already aware/agreed with a lot of what he said, there were a few nuggets in there I d…
Jens —
Thank you for the feedback, feedback is one of the biggest thing I'm lacking at this point. I have…
C_Worm —
Okay, then i guess it won't be a "problem" to use this invert-algortihm. This is my first time try…
As far as I know stb_truetype doesn't provide a way to flip the atlas vertically. I have a similar…
I tried to use bedit (the command line version) to display my profile file. Here is some feedback:…
C_Worm —
I used the stbtt_truetype.h to render a bitmapfont. However, like stb_image.h the bitmaps loaded a…
No... not me the guy who made this video: It is awesome! You should watch. At least I think :)
Thanks for the down sizing code. I had a hard time making a function to down size an image to an a…
I think you could do that. One reason not to is that if you don't perform any operation on the ima…
As far as I know Casey still uses the Windows API to get font metrics and render the glyphs to a t…
C_Worm —
Okay cool, acutally, when i think about it, my question should rather be, how does he implements t…
Guntha —
Hello, Starting at the next episode (164), he reimplements what he did with stb_truetype with Wind…
C_Worm —
Hey, im wondering if casey uses stb_truetype which he implements in E.163 until the the latest epi…
Terans —
In the assets file, the assets are stored in SRGB but in the software renderer, we first convert t…
in the code is a variable (containing a function pointer). So it doesn't have parameter and the c…
I've updated the style. Took a bit of digging around. Turns out, the underline was border-bottom. …