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.

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: tigrepotrazosalvaje@yahoo.com.ar (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.

List
SOME QUESTIONS
Message-ID:
<1333981442.91260.YahooMailRC at web180001.mail.gq1.yahoo.com>
Content-Type: text/plain; charset=“iso-8859-1”

"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

I THINK that he’s needing a layout engine for text that will return a
SDL_Surface, and just doesn’t know it yet. I’d point one out, but I
haven’t finished mine yet.

Then again, from a little bit of Googling, maybe he’s asking about how
to use the SDL.net TextSprite class? Does anyone here have experience
with that?> Date: Mon, 9 Apr 2012 07:24:02 -0700 (PDT)

From: Scott Smith
To: Pablo Marty , SDL Development
Subject: Re: [SDL] HI, I’M A NEW MEMBER - I HAVE A GAME AND A HALF AND

NFont (C or C++, not C#) can do boxed text:

NFont font;
font.load(“myfont.ttf”, 20, NFont::Color(0,0,0));

SDL_Rect box = {x,y,w,h};
font.drawBox(screen, box, “Multiline Boxed\nText”);

Jonny D

Thank you very much, Milord!
?
But I use C# and SDL.NET (SdlDotNet) …
?
Cos of that I said that I use TextSprite class
?
TextSprite letter = new TextSprite( … );
?
??? what properties should be here???
for the text to be boxed into a Rectangle(x,y,w,h) and be multiline
?
Video.Screen.Blit(letter);

Another issue

Is there any place where I can upload my games done with SDL so you can see them???

I need your help very much to get them better

finally
{
please forgive is there were any mistakes in my English, I?m argentine
}

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: Jonathan Dearborn
Para: SDL Development List
Enviado: lunes, 9 de abril de 2012 19:47
Asunto: Re: [SDL] HI, I’M A NEW MEMBER - I HAVE A GAME AND A HALF AND SOME QUESTIONS

NFont (C or C++, not C#) can do boxed text:

NFont font;
font.load(“myfont.ttf”, 20, NFont::Color(0,0,0));

SDL_Rect box = {x,y,w,h};

font.drawBox(screen, box, “Multiline Boxed\nText”);

Jonny D


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

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.