- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2018-06-28T20:32:30+09:00","","")
**簡単言語_NO551toNO589 [#y5b01c07]
#freeze
#author("2018-07-11T03:21:44+09:00","","")
向きテスト
buffer 1,32,32
picload "tmp_walk.png"
gsel 0
pos 0,64
button "上",*up
button "右",*right
button "左",*left
button "下",*down
pos 0,0
color 0,255,0
boxf 0,0,64,64
stop
*down
pos 0,0
repeat
redraw 0
gsel 0
color 0,255,0
boxf 0,0,64,64
pos 0,0
gmode 2
gcopy 1,0,0,64,64
redraw 1
wait 100
redraw 0
gsel 0
color 0,255,0
boxf 0,0,64,64
pos 0,0
gmode 2
gcopy 1,0,64,64,64
redraw 1
wait 100
loop
*up
pos 0,0
repeat
redraw 0
gsel 0
color 0,255,0
boxf 0,0,64,64
pos 0,0
gmode 2
gcopy 1,64,0,64,64
redraw 1
wait 100
redraw 0
gsel 0
color 0,255,0
boxf 0,0,64,64
pos 0,0
gmode 2
gcopy 1,64,64,64,64
redraw 1
wait 100
loop
*right
pos 0,0
repeat
redraw 0
gsel 0
color 0,255,0
boxf 0,0,64,64
pos 0,0
gmode 2
gcopy 1,128,0,64,64
redraw 1
wait 100
redraw 0
gsel 0
color 0,255,0
boxf 0,0,64,64
pos 0,0
gmode 2
gcopy 1,128,64,64,64
redraw 1
wait 100
loop
*left
pos 0,0
repeat
redraw 0
gsel 0
color 0,255,0
boxf 0,0,64,64
pos 0,0
gmode 2
gcopy 1,192,0,64,64
redraw 1
wait 100
redraw 0
gsel 0
color 0,255,0
boxf 0,0,64,64
pos 0,0
gmode 2
gcopy 1,192,64,64,64
redraw 1
wait 100
loop
超手抜き素材添付w~
#ref(tmp_walk.png)