Updated Tutorial:Screen, colors and squares (markdown)

Hajime Hoshi 2016-12-28 10:58:25 +09:00
parent 9ad9454bea
commit 28fe120fa8

@ -59,7 +59,7 @@ Alright, now you know how to create a new color, and it's time to paint your gam
# Fill the screen with the color # Fill the screen with the color
There's a `Fill(clr color.Color)` function for the screen in Ebiten, it used to fill the screen with a color, and you will need to pass a `color.Color` data type to the function, that's exactly what our color struct returns! So what are we waiting for? There's a `Fill(clr color.Color)` function for the screen in Ebiten. It is used to fill the screen with a color, and you will need to pass a `color.Color` data type to the function. That's exactly what our color struct returns! So what are we waiting for?
Remember the `update()` function? Yeah, the function which keeps being called by Ebiten, and we'll paint the screen in the function. Remember the `update()` function? Yeah, the function which keeps being called by Ebiten, and we'll paint the screen in the function.