jakeHaasBlog / Fly-a-ray

A minimal old-school ray casting game
GNU General Public License v3.0
1 stars 0 forks source link

Bitmap text #6

Closed jakeHaasBlog closed 3 years ago

jakeHaasBlog commented 3 years ago

Most notable is the addition of the BitmapText class and BitmapFont class. These classes allow you to make your own bitmap font and use it to write text efficiently. The text can be colored and have transparency and background color can also be added. BitmapText also has a function for setting how many characters to render which can be used to make that typing effect. Other changes include:

jakeHaasBlog commented 3 years ago

Some tweaks:

jakeHaasBlog commented 3 years ago

Texture needs to have dynamic initialization and destruction just like the other opengl classes