Thank you Scott
?
Im asking how to do for the TextSprite appears like this
???
??? Sonic the hedgehog
???& Knuckles the echidna
?
that is multiline and boxed onto the Screen center (say a Rectangle(100, 100, 600, 400)) in a 800x600 screen
insteads of appearing in an only line
I tried setting BoundingBox to true, setting TextSprite.Rectangle(…), MaxLines?= n, ?etc …
Asesinar y comer un perro o un gato es lo mismo q hacerlo a una vaca, un pollo, un cerdo o un pez. El genocidio no discrimina. No seas complice de genocidas. No seas genocida. En la vida tarde o temprano todo vuelve. No comas cadaveres. No seas necr?fago.________________________________
De: Scott Smith
Para: Pablo Marty <@Pablo_Marty>; SDL Development List
Enviado: lunes, 9 de abril de 2012 11:24
Asunto: Re: [SDL] HI, I’M A NEW MEMBER - I HAVE A GAME AND A HALF AND SOME QUESTIONS
You can try to allocate more channel through this function (if using sdl_mixer)
http://www.libsdl.org/cgi/docwiki.cgi/Mix_AllocateChannels
"Can anyone tell me how to Blit a TextSprite multiline boxed into a defined area of the screen?"
I dont really know what your asking. SDL only supports a blit of some or all of a surface to a destination surface. You can control the part of the image being blit by the first rect parameter. Where the image is blit is controlled by the second rect parameter.
http://www.libsdl.org/cgi/docwiki.cgi/SDL_BlitSurface
From: @Pablo_Marty (Pablo Marty)
To: “sdl at lists.libsdl.org”
Sent: Sun, April 8, 2012 2:57:31 AM
Subject: [SDL] HI, I’M A NEW MEMBER - I HAVE A GAME AND A HALF AND SOME QUESTIONS
HELLO LADIES AND GUYS
I’m Pablo from Bs As Argentina
I’m a programmer and use C# and SDL.NET (SdlDotNet)
I made a Mario game and I’m making a Sonic the hedgehog one actually
If someone wants to see them I can send the codes and data
Can anyone tell me how to Blit a TextSprite multiline boxed into a defined area of the screen?
And how to make more sound channels available?
Thank you
Asesinar y comer un perro o un gato es lo mismo q hacerlo a una vaca, un pollo, un cerdo o un pez. El genocidio no discrimina. No seas complice de genocidas. No seas genocida. En la vida tarde o temprano todo vuelve. No comas cadaveres. No seas necr?fago.