DEV Community

Discussion on: Learning Go by examples: part 5 - Create a Game Boy Advance (GBA) game in Go

Collapse
 
streamdp profile image
Alexandr Primak

Hello! It is very interesting! I have a suggestion: it will be a little faster to draw a black gopher instead of green, then shift the axis and draw green.

Example:
tinyfont.DrawChar(display, &fonts.Regular58pt, *x, *y, 'B', black) // <- clearScreen()
y += 10
tinyfont.DrawChar(display, &fonts.Regular58pt, *x, *y, 'B', green)