Hey, I figured I'd give you a status update, and let you know how things have been going.
This last week has been kinda busy, so I haven't had a ton of time to program, but I still feel like I've made a lot of progress.
I got the graphics engine going, and everything seems to be running smoothly. I still don't understand exactly what every part of it does, and that leaves me a little worried. Since that means there might be bugs that I have no idea how to fix. It's fine when I'm just working on my computer, but if I ever plan on publishing this game, or the next one, I want to make sure I know how to keep it as bug free as possible.
Still, I feel like I understand a lot, and things are running well so far.
I decided to learn how to use particles, since that seems to be pretty common in graphics programming, and I wanted to make a nice animated space background for the game.
I had never worked with objects in that way before, so it took a while to figure it out, but it really helped me understand a lot more about how games work. It seems like a really useful way of doing things.
So now I randomly create a "star" object every few EngineProcess runs, and have them moving across the screen at random speeds, only to be disposed of when they hit the other side.
It looks WAY better than anything I've tried before, and it runs even faster than my previous simpler attempts at making a background using only Lazarus components.
I decided to rewrite the game from scratch, and just copy over the important stuff from my old code. There's just so much more I can do graphically with this library, that I figured I might as well rewrite the UI completely.
So far everything seems to work the way it's supposed to, but it's hard to test anything until I've made the new UI.
By the way, am I correct in thinking I there's no way to print text in different sizes, without having to load in a separate font of that size?
The samples all seem to use a single font, loaded from a .font, a .png and a .xml file.
PXL's way of printing text looks great, but I'd like to have text of different sizes, and I'm not sure where to get all the files necessary to do that, if I need a separate file for each font size. I've never seen fonts saved like this before.
Thanks for suggesting PXL to me. I'm still a little confused by some parts, but most of it makes a lot of sense. All in all it's a great library, and it's definitely improving my game!
Bookmarks