Well i have found a tutorial how to make a bitmap font from an image. (http://devlinslab.blogspot.com/2007/11/using-custom-fonts-or-bitmap-fonts-part.html).
So I have used this
code in my game and the problem is that the rest of the graphics which should be seen on the screen like rectangles and etc. is invisible.
Before the newly added
code
…