|  | Mouse entered window (For modes 2D, 3D) |  Show exampleHide example | | Set Baltie visible and switches off standart mouse control. In the cycle without end, Baltie waits for event of mouse entering to window or mouse leaving from window. If the mouse enters the window, Baltie takes a step and turns left. If the mouse leaves the window, Baltie turns left and takes a step. | | |
|
|
|  | Mouse left window (For modes 2D, 3D) |  Show exampleHide example | | Set Baltie visible and switches off standart mouse control. In the cycle without end, Baltie waits for event of mouse entering to window or mouse leaving from window. If the mouse enters the window, Baltie takes a step and turns left. If the mouse leaves the window, Baltie turns left and takes a step. | | |
|
|
|  | Mouse moved (For modes 2D, 3D) |  Show exampleHide example | | Set Baltie visible and switches off standart mouse control. Adds new sprite to the world, which is created from square. Then changes squares after changing position of cursor coordinates so that the left corner is on the coordinates of cursor. | | |
|
|
|  | Mouse wheel rolled (For modes 2D, 3D) |  Show exampleHide example | | Set Baltie visible, switches off standart mouse control and creates new sprite from model 84. Then takes control of mouse wheel rolling. If the mouse wheel rolls, increases coordinate Z of the sprite. | | |
|
|
|  | Last pressed key (For modes 2D, 3D) |  Show exampleHide example | | Creates new 3D text "? ". Then waits for the press and release of any key. If any key is preessed, writes to the output window text "->" and scan code of the key. If the key is released, writes "<-" and scan code of the key. | | |
|
|
|  | Last released key (For modes 2D, 3D) |  Show exampleHide example | | Creates new 3D text "? ". Then waits for the press and release of any key. If any key is preessed, writes to the output window text "->" and scan code of the key. If the key is released, writes "<-" and scan code of the key. | | |
|
|
|  | Last pressed character (For modes 2D, 3D) |  Show exampleHide example | | Set Baltie visible, switches off standart mouse control and creates new 3D text. Then in the cycle without end writes the char of pressed key. | | |
|
|
Did you find this information useful?
Documentation of SGP Baltie 4 C#
Send us comments on this topic by
this form
©1978-2010
SGP SystemsParent page |
Previous page |
Next page