リファレンス 9 ドキュメント 3 サンプル 15
basic 38 comobj 9 demo 1 game 12 hgimg 12 hgimg3 10 hspcl 9 hspda 7 hspdb 3 hspdx 6 hspext 16 hspinet 5 hspsock 5 new 22 ssaver 1

hgimg3

Path : sample\hgimg3
test1.hsp
#include "hgimg3.as" 立方体をキーで回転させるサンプル ウインドゥサイズの設定 screen 0,640,480,0 cls 4 初期設定 hgini BOXオブジェクトを登録 setsizef 8.0, 8.0 BOXのXYZサイズ setuv 0,0,127,127 テクスチャUV座標 addbox mdid BOXモデルを作成 texload "btex.bmp" テクスチャの登録 regobj mychr,mdid BOXモデルをオブジェクトとして登録
sample\hgimg3\test1.hsp - 2005/08/01
test10.hsp
#include "hgimg3.as" マテリアル書き換え (スペースキーを押すと体のマテリアルを切り替えます) (Enterキーを押すと目のテクスチャが別のものに変わります) screen 0,640,480,0 cls 4 hgini テクスチャフォント表示の準備 setfont 16,16,12,1 font Tex select(cx,cy,px,mode) texload "fontchr.bmp" フォントテクスチャの登録 clscolor $80 Xモデル登録 addxfile
sample\hgimg3\test10.hsp - 2005/08/01
test2.hsp
#include "hgimg3.as" ダイレクト描画サンプル ウインドゥサイズの設定 screen 0,640,480,0 cls 4 初期設定 hgini テクスチャの準備 texload "q.bmp" mest = stat rot = 0.0 背景色の設定 clscolor $40 *main 描画メイン hgdraw 描画処理 テクスチャの描画 gmode 0,128,128 元画像のサイズ指定 pos 320,240 中心座標 hgrotate
sample\hgimg3\test2.hsp - 2005/08/01
test3.hsp
#include "hgimg3.as" 3Dモデル描画サンプル screen 0,640,480,0 cls 4 hgini テクスチャフォント表示の準備 setfont 16,16,12,1 font Tex select(cx,cy,px,mode) texload "fontchr.bmp" フォントテクスチャの登録 Xモデル登録 addxfile m_xmodel,"font_a.x" モデルを読み込む regobj obj, m_xmodel オブジェクトの登録 clscolor
sample\hgimg3\test3.hsp - 2005/08/01
test4.hsp
#include "hgimg3.as" 日本語フォント描画サンプル ウインドゥサイズの設定 screen 0,640,480,0 cls 4 初期設定 hgini テクスチャの準備 texmake 256,128 mest = stat rot = 0.0 texcls mest,$004000 font "MS ゴシック",22,1 color 255,255,255 texmes "メッセージを表示中。",mest,0,0 texmes "日本語メッセージです。
sample\hgimg3\test4.hsp - 2005/08/01
test5.hsp
#include "hgimg3.as" トゥーンシェーディング screen 0,640,480,0 cls 4 hgini テクスチャフォント表示の準備 setfont 16,16,12,1 font Tex select(cx,cy,px,mode) texload "fontchr.bmp" フォントテクスチャの登録 clscolor $80 Xモデル登録 addxfile m_xmodel,"font_b.x" settoonedge m_xmodel, $000000, 0.1,
sample\hgimg3\test5.hsp - 2005/08/01
test6.hsp
#include "hgimg3.as" 2Dスプライトのサンプル (カーソルキーで移動、スペースで発射) ウインドゥサイズの設定 screen 0,640,480,0 cls 4 初期設定 hgini スプライトモデルを登録 setuv 64,64,127,127 addspr pchr,1 プレイヤーキャラ regobj mychr,pchr setuv 0,64,63,127 リンゴ addspr mchr,1 texload "testchr.bmp" テクスチャの登録
sample\hgimg3\test6.hsp - 2005/08/01
test7.hsp
#include "hgimg3.as" フェードイン・アウトサンプル randomize screen 0,640,480,0 cls 4 hgini テクスチャフォント表示の準備 setfont 16,16,12,1 font Tex select(cx,cy,px,mode) texload "fontchr.bmp" フォントテクスチャの登録 Xモデル登録 addxfile m_xmodel.0,"font_a.x" モデルを読み込む addxfile
sample\hgimg3\test7.hsp - 2005/08/01
test8.hsp
#include "hgimg3.as" パーティクルサンプル randomize screen 0,640,480,0 cls 4 hgini テクスチャフォント表示の準備 setfont 16,16,12,1 font Tex select(cx,cy,px,mode) texload "fontchr.bmp" フォントテクスチャの登録 Xモデル登録 addxfile m_xmodel,"font_a.x" モデルを読み込む regobj xobj, m_xmodel オブジェクトの登録
sample\hgimg3\test8.hsp - 2005/08/01
test9.hsp
#include "hgimg3.as" ライトのコントロールサンプル screen 0,640,480,0 cls 4 hgini テクスチャフォント表示の準備 setfont 16,16,12,1 font Tex select(cx,cy,px,mode) texload "fontchr.bmp" フォントテクスチャの登録 Xモデル登録 addxfile m_xmodel,"font_a.x" モデルを読み込む max=5 dim obj,max repeat max regobj
sample\hgimg3\test9.hsp - 2005/08/01