Difference between revisions of "Useful Routines"

From WikiPrizm
Jump to navigationJump to search
Line 27: Line 27:
 
=== Menus ===
 
=== Menus ===
 
* [[Menu]] - Displays a menu system similar to Geometry plugin's one and returns the selected value.
 
* [[Menu]] - Displays a menu system similar to Geometry plugin's one and returns the selected value.
 +
 +
=== Math ===
 +
* [[floor]] - Implementation of math.floor (PrizmSDK does not have a math.floor)

Revision as of 12:12, 18 March 2013

This will soon be populated with routines and child pages; in the meantime, please visit the following Cemetech thread:

http://www.cemetech.net/forum/viewtopic.php?t=6114

Keyboard Routines

Hardware Interface Routines

Graphical Routines

SourceCoder-Compatible Sprites/Images

These routines work particularly well with the 8-bit, 2-bit, and 1-bit indexed data output from SourceCoder.

Text

  • PrintMiniFix - Print a text on the screen in mini/small (glyph) font

Menus

  • Menu - Displays a menu system similar to Geometry plugin's one and returns the selected value.

Math

  • floor - Implementation of math.floor (PrizmSDK does not have a math.floor)