I did not change the renderer yet, so they are still grey, but it seemed big enough news to let you know anyway!
Bits and bobs about the development of the free and open source game inspired by RollerCoaster Tycoon
Monday, 28 May 2012
Guests! (Take 2)
After some code shuffling and re-organising of the animation data, FreeRCT now has moving guests.
I did not change the renderer yet, so they are still grey, but it seemed big enough news to let you know anyway!
I did not change the renderer yet, so they are still grey, but it seemed big enough news to let you know anyway!
Sunday, 13 May 2012
Hello Reddit!
Wednesday, 9 May 2012
Guests!
With paths, it was time to see whether guests could be added. I had no idea how to add it, so it took a while to figure out how to approach the problem. This first attempt is all somewhat experimental. At the right is the first 'real' result, a small figure-like sprite appears at a path at the edge of the field. He follows the path, taking random directions until he gets bored (then he suddenly disappears).
Please note that some of this code is not committed, and never will be, in its current form. The reason why is as follows:
Motion is not fluent, he sort of jumps to a new position every few seconds. Also, he walks next to the path instead of at it. Another problem is that drawing figures is terribly expensive, because the data is not organized correctly.
He is also very much colourless, but that is intentional. The video blitter needs to be upgraded so it can perform recolouring while blitting.
While I am happy with this first result and I have learned a lot from this attempt, I have also decided to re-organize the code and data, so the program can have (hopefully many) more guests without costing a lot of CPU time.
Please note that some of this code is not committed, and never will be, in its current form. The reason why is as follows:
Motion is not fluent, he sort of jumps to a new position every few seconds. Also, he walks next to the path instead of at it. Another problem is that drawing figures is terribly expensive, because the data is not organized correctly.
He is also very much colourless, but that is intentional. The video blitter needs to be upgraded so it can perform recolouring while blitting.
While I am happy with this first result and I have learned a lot from this attempt, I have also decided to re-organize the code and data, so the program can have (hopefully many) more guests without costing a lot of CPU time.
Subscribe to:
Posts (Atom)