package
0.4.0
Repository: https://github.com/silbinarywolf/gml-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
CameraGetActive will get the current camera that is actively being drawn on.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PushUpdateContext allows you to override the state of the game with a special behaviour interface.
No description provided by the author
DebugFrameCount is similar to DebugTickCount but doesn't increase if ebiten skips the draw.
DebugFrameUsage returns a string like "1% (55ns)" to tell you how much of your frame budget has been utilized.
DebugTickCount is incremented by 1 per update() call.
DeltaTime gets the fixed delta time based on the designed TPS divided by max TPS.
DesignedTPS() returns the ticks-per-second that the game was designed to run at.
DrawGetFont will get the font index used for DrawText functions.
DrawGetGUI returns whether Draw functions will draw relative to the screen or not.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DrawSetFont will set the font index to be used for DrawText functions.
DrawSetGUI allows you to set whether you want to draw relative to the screen (true) or to the world (false).
No description provided by the author
No description provided by the author
DrawSpriteColor will draw a sprite with a color blend.
DrawSpriteCutMask will draw the given sprite but allow you to pass multiple sprite images in to cut out transparency.
No description provided by the author
No description provided by the author
No description provided by the author
DrawText is deprecated.
No description provided by the author
GameEnd will close the game.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InitCustomAsset is used by code generated by gmlgo so you can query a custom asset.
InitFontGeneratedData is used by code generated by gmlgo so you can query a font by index or name.
InitObjectGeneratedData is required to be called so the engine can create game objects.
InitSpriteGeneratedData is used by code generated by gmlgo so you can query a sprite by index or name.
InstanceDestroy will make an object call its Destroy then its Free method and then it will no longer exist.
InstanceExists will return true if an object has not been destroyed and belongs to a room.
InstanceFree will make an object call its Free method and then it will no longer exist.
InstanceIsPaused will return whether executing the Update() method of instances is disabled.
InstanceRestore re-creates an object using a previously used instance index and object index.
InstanceSetPauseCallback will call the provided function to check if instances should call their Update() method or not.
IsBrowser will return true if the game is playing in a web browser.
IsCreatingRoomInstance is to be used in the Create() event of your objects, this will only return true if the object is being created from room data, not code.
No description provided by the author
No description provided by the author
KeyboardString returns the last letters typed by the user since ClearKeyboardString was called this is useful for input boxes and easily getting input from a user.
MaxTPS returns the current maximum TPS.
No description provided by the author
No description provided by the author
MouseScreenPosition returns the camera viewport.
MouseScreenPosition returns the mouse position relative to the window.
No description provided by the author
No description provided by the author
No description provided by the author
RoomInstanceNew create a new empty room instance programmatically.
Run.
SetDesignedTPS is the ticks-per-second the game was initially designed to run at.
No description provided by the author
SetMaxTPS sets the maximum TPS (ticks per second), that represents how many updating function is called per second.
SpriteLoad will ensure the sprite is loaded.
StringHeight will return height of the input string in pixels.
StringWidth will return the width of the input string in pixels.
TestBootstrap the game to give control over continuing / stopping execution per-frame this method is for additional control when testing.
UnsafeObjectTypeList provides a copy of the list of object type definition data this is to be used by custom tools like a room editor or similar.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WindowSize will get the size of the current game window.

# Constants

No description provided by the author
GpAxisFirst is to be used for looping over all axises.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
GpButtonFirst is to be used for looping over all buttons.
No description provided by the author
Top button 1 (this maps to the "A" on an Xbox 360 controller and the cross on a PS controller).
Top button 2 (this maps to the "B" on an Xbox 360 controller and the circle on a PS controller).
Top button 3 (this maps to the "X" on an Xbox 360 controller and the square on a PS controller).
Top button 4 (this maps to the "Y" on an Xbox 360 controller and the triangle on a PS controller).
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
Left shoulder button.
Special handling: Left shoulder trigger.
Right shoulder button.
Special handling: Right shoulder trigger.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
Left-stick, pressed as a button.
Right-stick, pressed as a button.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Noone is to be used when checking if there is no instance with InstanceIndex type.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
key on the numeric keypad.
alt key.
keycode representing that any key is pressed.
WARNING: Do not reorder or change for backwards compatibility.
backspace key.
WARNING: Do not reorder or change for backwards compatibility.
either of the control keys.
WARNING: Do not reorder or change for backwards compatibility.
decimal dot keys on the numeric keypad.
delete key.
divide key on the numeric keypad.
keycode for down arrow key.
WARNING: Do not reorder or change for backwards compatibility.
end key.
enter key.
escape key.
WARNING: Do not reorder or change for backwards compatibility.
keycode for the function keys F1 to F12.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
home key.
WARNING: Do not reorder or change for backwards compatibility.
insert key.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
keycode for left arrow key.
WARNING: Do not reorder or change for backwards compatibility.
multiply key on the numeric keypad.
WARNING: Do not reorder or change for backwards compatibility.
keycode representing that no key is pressed.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
pagedown key.
pageup key.
pause/break key.
printscreen/sysrq key.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
keycode for right arrow key.
WARNING: Do not reorder or change for backwards compatibility.
either of the shift keys.
WARNING: Do not reorder or change for backwards compatibility.
space key.
subtract key on the numeric keypad.
WARNING: Do not reorder or change for backwards compatibility.
tab key.
WARNING: Do not reorder or change for backwards compatibility.
keycode for up arrow key.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.
WARNING: Do not reorder or change for backwards compatibility.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ObjectSerialize hints to the code generator to generate serialization functions.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author