sample.hsp

sample\gpmodule\sample.hsp » Plain Format

; gpmodule sample

#include "gpm.hsp"	; <--- gpm.hsp をインクルードする必要があります。

	repeat 50
		gphsvcolor cnt*7, 200, 200	; <--- hsvcolor 命令の代わり
		gpline rnd(300), rnd(300)	; <--- gpline 命令の代わり
		gpcircle rnd(300), rnd(300), rnd(300), rnd(300), 0	; <--- gpcircle 命令の代わり
	loop

	redraw ; <--- redraw でバッファを再描画すると表示されます