Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- pocket2
- -- ポケコンに四角形を表示する。
- -- ターミナル画面の初期化作業
- term.setTextColor(colors.white)
- term.setBackgroundColor(colors.black)
- term.clear()
- -- 四角形描画
- term.setBackgroundColor(colors.red) -- 背景色 赤
- for y=3,5 do
- term.setCursorPos(2,y)
- term.write(" ") -- 半角スペースを10個
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement