| ゲーム:: OpenGL :: Font :: 2D Games :: OpenGL :: Font :: 2DモジュールはOpenGLを介して2D色のビットマップフォントをロード/レンダリングできます。 |
今すぐダウンロード |
ゲーム:: OpenGL :: Font :: 2D ランキングとまとめ
- ライセンス:
- Perl Artistic License
- 出版社のWebサイト:
- http://search.cpan.org/tels/
ゲーム:: OpenGL :: Font :: 2D タグ
ゲーム:: OpenGL :: Font :: 2D 説明
Games :: OpenGL :: Font :: 2DモジュールはOpenGLを介して2D色のビットマップフォントをロード/レンダリングできます。 Games :: OpenGL :: Font :: 2DモジュールはOpenGL.Synopsisを介して2D色のビットマップフォントをロード/レンダリングできます。:: OpenGL :: Font :: 2D My $ FONT = GAMES :: OpenGL :: Font :: 2D-> New(file => 'font.bmp'); SDL :: App :: FPSを使用する。 My $ APP = SDL :: App :: FPS-> New(...); #サイズ変更イベントでこれらを変更することを忘れないでください! $ font-> screen_width($ app-> width()); $ font-> screen_height($ app-> width()); $ font-> pre_output(); #font $ font-> color()の設定レンダリングを設定します。 #黄色として黄色いREF $ font-> color(1,0,0); #または赤$ font->アルファ(0.8); #半分透明、赤$フォント - >出力(100,100、 'Hello OpenGL!'、、0.5)。 #$ fontの色とアルファ$ font->出力を使って(100,200、 'Hello OpenGL!')。 $ font->透明(1); #レンダリングフォントの背景透明$ font-> spacing_y(16); #垂直(費用のかかる再構築!)$ font-> spacing_x(0); #(費用のかかる再構築!)$ font->出力(100,200、 'Hello OpenGL!'); $ font-> post_output(); #langes wisketsexportsはデフォルトで何もリセットできません。オンデマンドでエクスポートできます.font_align_left font_align_regn_center font_align_top font_align_bottom要件: ・Perl
ゲーム:: OpenGL :: Font :: 2D 関連ソフトウェア