Skip to content

Instantly share code, notes, and snippets.

@bashbaugh
Last active February 24, 2019 19:58
Show Gist options
  • Select an option

  • Save bashbaugh/df88ad9a4cba1193da8d0957abdf39f8 to your computer and use it in GitHub Desktop.

Select an option

Save bashbaugh/df88ad9a4cba1193da8d0957abdf39f8 to your computer and use it in GitHub Desktop.
function init()
{
// Draw the background using the function we just created:
draw_background();
// Set the brush color to white:
canvas.fillStyle = "#FFFFFF";
// Set the font size and name:
canvas.font = "25px Arial";
// Draw the text onto the canvas:
canvas.fillText("Press the up arrow to start", 40, 200);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment