Board: Difference between revisions
Jump to navigation
Jump to search
Old-Sckool (talk | contribs) No edit summary |
Old-Sckool (talk | contribs) m (→Limitations) |
||
Line 3: | Line 3: | ||
==Limitations== | ==Limitations== | ||
*Boards can range in size from 1x1 to a massive 32767x32767 | *Boards can range in size from 1x1 to a massive 32767x32767 | ||
**Extremely large boards will consume a massive block of memory. A board with the maximum dimensions would consume over 3 GB of memory. | **Extremely large boards will consume a massive block of memory. A board with the maximum dimensions would consume over 3 GB of memory, not including the overlay. | ||
**The | **The board scan is a somewhat expensive routine that scans every square of the board every cycle for built-ins. The larger the board, the bigger the performance impact it can have on your game on slower computers. | ||
*For a few [[Built-in|built-in objects]], there is a limit to how many can be placed on one board. | *For a few [[Built-in|built-in objects]], there is a limit to how many can be placed on one board. | ||
**All boards must have one and only one instance of the player object. | **All boards must have one and only one instance of the player object. | ||
**Robots and scrolls are capped to 255 per board | **Robots and scrolls are both capped to 255 per board | ||
[[Category:MegaZeux]] | [[Category:MegaZeux]] |
Revision as of 09:20, 3 October 2012
A Board is basically a playing field for which the game can take place in.
Limitations
- Boards can range in size from 1x1 to a massive 32767x32767
- Extremely large boards will consume a massive block of memory. A board with the maximum dimensions would consume over 3 GB of memory, not including the overlay.
- The board scan is a somewhat expensive routine that scans every square of the board every cycle for built-ins. The larger the board, the bigger the performance impact it can have on your game on slower computers.
- For a few built-in objects, there is a limit to how many can be placed on one board.
- All boards must have one and only one instance of the player object.
- Robots and scrolls are both capped to 255 per board