Hi!
After my first tries with PocketFrog and considering the poor documentation, I have some questions:
Thank you for your patience. Just for your information, I am planning to write a game similar to Master of Orion.
Sullivan
After my first tries with PocketFrog and considering the poor documentation, I have some questions:
- Should I "Lock" a surface before writing to it? This was not clear to me, there doesn't seem to be a big difference or does it prevent other parts of (multi-threading?!) code to write to the same surface?
- Is it necessary or recommended to make a copy of the buffer to speed up some code? Let's consider I have a somehow static background consisting of several elements. In the game, I create additional elements on top of it (sprites, UIs, ...). Would it make sense to save a copy once the background has been constructed, or is it not worth thinking about such optimization strategies?
- For clarification: no matter on which device the code actually runs, the width and height for the display are the default 240x320 unless I specify something different?
Thank you for your patience. Just for your information, I am planning to write a game similar to Master of Orion.
Sullivan