Skip to content

Instantly share code, notes, and snippets.

@ongaeshi
Created May 8, 2017 13:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ongaeshi/2afc0c0808f134f3c41edacb92e3f9c2 to your computer and use it in GitHub Desktop.
Save ongaeshi/2afc0c0808f134f3c41edacb92e3f9c2 to your computer and use it in GitHub Desktop.
Siv3Dのファーストサンプル
font = Font.new(30)
while System.update do
Circle.new(Mouse.pos, 100).draw
# font["こんにちは"].draw
# font[Mouse.pos.to_s].draw
font["マウス座標: #{Mouse.pos}"].draw
# font[Mouse.pos].draw(50, 200)
# font[Mouse.pos].draw(50, 200, Pallete::Orange)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment