Problème startdrawing(screenoutput())

Vous débutez et vous avez besoin d'aide ? N'hésitez pas à poser vos questions
Kayne
Messages : 157
Inscription : sam. 06/oct./2007 18:33
Contact :

Problème startdrawing(screenoutput())

Message par Kayne »

Code : Tout sélectionner

InitEngine3D()
InitSprite()
InitKeyboard()
InitMouse()

UseJPEGImageEncoder()
UseJPEGImageDecoder()

OpenScreen(1024,768,32,"HR - TIPE - Avalanche")

StartDrawing(ScreenOutput())
  DrawText(0, 0, "Un texte à l'écran")
StopDrawing()
Voila le code j'ai le droit à un bandeau rouge je vois pas le problème.
__________________________________________

Débutant les tutoriels de mon site sont la pour vous n'hésitez pas à aller les voir: http://tripamort.free.fr/
__________________________________________
Kayne - Webmaster de http://tripamort.free.fr/
Le Soldat Inconnu
Messages : 4312
Inscription : mer. 28/janv./2004 20:58
Localisation : Clermont ferrand OU Olsztyn
Contact :

Re: Problème startdrawing(screenoutput())

Message par Le Soldat Inconnu »

retire simplement "InitEngine3D"

StartDrawing(, c'est de la 2D

Code : Tout sélectionner

InitSprite()
InitKeyboard()
InitMouse()

UseJPEGImageEncoder()
UseJPEGImageDecoder()

If OpenScreen(1680,1050,32,"HR - TIPE - Avalanche")
	
	Repeat
		ExamineKeyboard()
		ExamineMouse()
		
		ClearScreen(0)
		
		StartDrawing(ScreenOutput())
			DrawText(0, 0, "Un texte à l'écran")
		StopDrawing()
		
		FlipBuffers()
		
		
	Until KeyboardPushed(#PB_Key_Escape)
	
	
	
EndIf
Je ne suis pas à moitié Polonais mais ma moitié est polonaise ... Vous avez suivi ?

[Intel quad core Q9400 2.66mhz, ATI 4870, 4Go Ram, XP (x86) / 7 (x64)]
Kayne
Messages : 157
Inscription : sam. 06/oct./2007 18:33
Contact :

Re: Problème startdrawing(screenoutput())

Message par Kayne »

Oui mais j'utilise ce code pour afficher du texte sur un écran ou je fais de la 3D.
__________________________________________

Débutant les tutoriels de mon site sont la pour vous n'hésitez pas à aller les voir: http://tripamort.free.fr/
__________________________________________
Kayne - Webmaster de http://tripamort.free.fr/
Le Soldat Inconnu
Messages : 4312
Inscription : mer. 28/janv./2004 20:58
Localisation : Clermont ferrand OU Olsztyn
Contact :

Re: Problème startdrawing(screenoutput())

Message par Le Soldat Inconnu »

ha ...

Ohé, les spécialistes de la 3D, un ch'tit coup de main :)
Je ne suis pas à moitié Polonais mais ma moitié est polonaise ... Vous avez suivi ?

[Intel quad core Q9400 2.66mhz, ATI 4870, 4Go Ram, XP (x86) / 7 (x64)]
Répondre