daily pastebin goal
40%
SHARE
TWEET

CC: pocket2

hevohevo Apr 25th, 2016 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- pocket2
  2. -- ポケコンに四角形を表示する。
  3.  
  4. -- ターミナル画面の初期化作業
  5. term.setTextColor(colors.white)
  6. term.setBackgroundColor(colors.black)
  7. term.clear()
  8.  
  9. -- 四角形描画
  10. term.setBackgroundColor(colors.red)  -- 背景色 赤
  11.  
  12. for y=3,5 do
  13.   term.setCursorPos(2,y)
  14.   term.write("          ")  -- 半角スペースを10個
  15. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top