CreateTimer(name,method,interval) - Creates a timer
StopTimer(name) - Stops the timer
StopAllTimers() - Stops all timers
KeyIsPressed(keyByLetter) - Returns true or false if the key is down
KeyIsPressed(keyByAsciiValue) - Returns true or false if the key is down
Key() - The last key pressed
MouseX() - The X position of the mouse
MouseY() - The Y position of the mouse
MousePressed() - Returns true or false if the mouse is pressed
LoadSound(name) - Loads the sound ahead of time
PlaySound(name) - Plays the sound, good for sound effects
PlaySound(name, id, loop) - Plays the sound, good for music cause can be stopped by the same id
StopSound(id) - Stops the sound
LoadImage(name) - Loads the image ahead of time
DrawImage(name,x,y, rotation) - Loads the image if not already loaded, then draws
GetImageSource(name) - Gets the source of the image
GetImageData(name) - Gets the raw image data for custom manipulation
DrawLine(x1,y1,x2,y2) - Draws a line
DrawOval(x,y,width,height) - Draws an oval
DrawPixel(x,y) - Draws a pixel
DrawRect(x,y,width,height) - Draws a rectangle
FillRect(x,y,width,height) - Draws a filled rect
DrawString(string,x,y) - Draws the string
ClearScreen() - Clears the screen
ScaleContext(x,y) - Scales the context in the canvas
RotateContext(rot) - Rotates the context in the canvas
TranslateContext(x,y) - Moves the context in the canvas
SetStrokeColor(color) - Sets stroke color
SetFileColor(color) - Sets fill color
Abs(num) - Absolute value of number
Arccos(num) - Arc Cos of number
Arcsin(num) - Arc sin of number
Arctan(num) - Arc tan of number
Arctan2(num,num) - 2nd Arc tan
Ceil(num) - Ceilings the number
Cos(num) - Cos of number
Sin(num) - Sin of number
Tan(num) - Tan of number
Floor(num) - Floors the number
Pi() - Returns PI
Random(num1, num2) - Returns a random whole number between num1 and num2
Round(num) - Rounds the number
Sqrt(num) - Square roots the number
context - The drawing context of the canvas. With this you can call native Javascript functions on the context of the canvas. Allows for greater HTML5 flexibility
canvas - The canvas of the game. You can access the 2D or 3D context, allows greater flexibility
That's my list of all the commands I want to add so far. Look good to you guys? Anything you would like added?
(If there's something you want to do that's doesn't have a command, you can search the Javascript for it and insert the Javascript into the HTML5 GM and it'll just work--That's what I call intense flexibility)