Autor Beitrag
CC
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 31



BeitragVerfasst: Mi 05.11.03 12:52 
Moin Moin!!

Wollte mal fragen wie ich einen text auf DXDraw ausgeben kann. Brauche für mein kleinens 2D Spiel eine Speed Anzeige. Labels kann man nicht in der Vordergrund holen, kalppt also nicht.

Gibts da was oder muss ich mir alle 10 zahlen als Bilder machen und dann anzeigen?


DANKE!!!

CC
umpani
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 389



BeitragVerfasst: Mi 05.11.03 13:45 
Ich gehe mal davon aus, das du delphix benutzt (bitte das nächste mal deutlicher machen).

Dan kannst du folgendermaßen vorgehen:
ausblenden Quelltext
1:
2:
3:
dxdraw.surface.canvas.textout(x,y,'Hallo Welt');
dxdraw.surface.canvas.release;
dxdraw.flip;


Gruß Umpani

_________________
Lernen, ohne zu denken, ist eitel; denken, ohne zu lernen, ist gefährlich. Konfuzius
CC Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 31



BeitragVerfasst: Mi 05.11.03 16:41 
danke!

funzt alles bestens!!