Spiele :: OpenGL :: Font :: 2D

Spiele :: OpenGL :: Font :: 2D-Modul kann 2D-farbige Bitmap-Schriftarten über OpenGL laden / rendern.
Jetzt downloaden

Spiele :: OpenGL :: Font :: 2D Ranking & Zusammenfassung

Anzeige

  • Rating:
  • Lizenz:
  • Perl Artistic License
  • Preis:
  • FREE
  • Name des Herausgebers:
  • Tels
  • Website des Verlags:
  • http://search.cpan.org/~tels/

Spiele :: OpenGL :: Font :: 2D Stichworte


Spiele :: OpenGL :: Font :: 2D Beschreibung

Spiele :: OpenGL :: Font :: 2D-Modul kann 2D farbige Bitmap-Schriftarten über OpenGL laden / rendern. Spiele :: OpenGL :: Font :: 2D-Modul kann 2D-farbige Bitmap-Schriftarten über OpenGL.Synopsis verwenden :: OpenGL :: Font :: 2D; Meine $ font = Spiele :: OpenGL :: Font :: 2D-> NEU (Datei => 'font.bmp'); Verwenden Sie SDL :: App :: FPS; Meine $ app = SDL :: App :: FPS-> NEU (...); # Vergessen Sie nicht, diese bei der Änderung der Veranstaltung zu ändern! $ font-> screen_width ($ app-> breite ()); $ font-> screen_hight ($ app-> width ()); $ font-> pre_output (); # Rendering-Rendering für Schriftart-Schriftarten-Font-> Farbe (); # gelb als Array Ref $ Font-> Farbe (1,0,0); # oder rotes $ font-> alpha (0.8); # fast undurchsichtig # halbtransparente, rote $ Schriftart-> Ausgabe (100.100, 'Hallo OpenGL!', , 0,5); # Verwenden der Farbe der $ Schrifte und alpha $ -Sign-Schrift-> Ausgabe (100.200, "Hallo OpenGL!"); $ font-> transparent (1); # Render Font-Hintergrund transparent $ font-> spacing_y (16); # Rendern Sie Vertikale (kostspieliger Wiederaufbau!) $ font-> spacing_x (0); # (kostspieliger Wiederaufbau!) $ font-> output (100.200, 'hello opengl!'); $ font-> post_output (); # Wenn gewünscht, können Sie OpenGlexPortSexports nicht in Standard zurücksetzen. Kann auf Anfrage Folgendes exportieren: font_align_left font_align_right font_align_center font_align_top font_align_bottom Anforderung: · Perl.


Spiele :: OpenGL :: Font :: 2D Zugehörige Software