Pixel Font

The Partridge Family were neither partridges nor a family. Discuss.
User avatar
krautersuppe
Posts: 91
Joined: September 14th, 2015, 10:58 pm
Location: Istanbul

Re: Pixel Font

Post by krautersuppe » May 1st, 2017, 11:26 am

DEM0N194 wrote: So .. I created some functionality around this...
Well done. Some comments or readme on how to call functions wouldn't hurt.
I see that you adjusted my lousy 1 and 3 :)
1 is now 15 pixels wide though so one should adjust spacing for it.
I think colon (:) is also a must-have character

Maybe we could write it into a single .cpp and .h file and name it NKD Pixel Font Patch :D
DEM0N194 wrote: This is something I wanted to do for a very long time, but never got to it... cuz I'm a lazy mofo.
Not sure about mofo but u definitely ain't lazy.You did write hundreds of lines of code for that kind of crap.For discussion read this old-ass thread http://forum.planetchili.net/viewtopic.php?f=3&t=1153

ceofil wrote similar code for his games: http://forum.planetchili.net/viewtopic.php?f=3&t=4011
It's not pixel font though
DSU
Discord: dsu1, GitHub: https://github.com/DSpUz

User avatar
DEM0N194
Posts: 28
Joined: April 15th, 2017, 4:14 pm
Location: Slovakia
Contact:

Re: Pixel Font

Post by DEM0N194 » May 1st, 2017, 7:32 pm

krautersuppe wrote: Well done. Some comments or readme on how to call functions wouldn't hurt.
Yeah true. Unfortunately, I often tend to write uncommented code. I know, I do need to work on that.
btw that is the reason why I left that bullshit in game.cpp so you could see how I use it.

krautersuppe wrote: 1 is now 15 pixels wide though so one should adjust spacing for it.
Yup. I have thought about how to solve the problem of different character width. And I did come up with a solution, I just couldn't find time to implement it.
krautersuppe wrote: I think colon (:) is also a must-have character
yeah I've been thinking about adding some more characters, definitely (:). I will probablyl add them on Thursday when I get bored in class. Maybe I'll add lowercase letters too. (but that's not very likely. since I am a lazy mofo - motherfucker)

krautersuppe wrote: ceofil wrote similar code for his games: http://forum.planetchili.net/viewtopic.php?f=3&t=4011
It's not pixel font though
Yeah I tried his snek game and I was immediately blown away when I saw that font. It's really cool.

Post Reply