| JAM
Creates a new JAM object.
myJAM = new JAM( Window, Flags )
myJAM = new JAM( Flags )
Return value
Newly created JAM object.
Parameters
- Window
Target window to use. If ommited, either the current window, or a new window will be used.
- Flags
A list of values taken from the following:
- JAM_FULLSCREEN
Makes the game fullscreen at the start
- JAM_NOMENU
Prevents the game menu being loaded and displayed
- JAM_MAKEWINDOW
Creates a new window for the JAM object to run in
- JAM_CURWINDOW
Uses the topmost window for the JAM object to run in (default) (There MUST be at-least one window open)
- JAM_MIS
Sets Machine Independant Speed ON at start
Comments
All the parameters are optional. If you specify a window, it should always be the first parameter. Flags, however, can be in any order.
The JAM object is the root of the game, and should be created near the start of your code to avoid errors.
JAM © 2005 no one in particular Project started by David Evans in 2005 | |