trong game sao họ không dùng PNG mà lại chơi TGA nhỉNhìn qua là biết ko. Draw được TGA thì bọn nó lại siêu quá vs lại nếu draw ra đc mà ko có effect đi kèm thì cũng bằng 0

private:
void SetColorKeyExample( PaintEventArgs^ e )
{
// Open an Image file and draw it to the screen.
Image^ myImage = Image::FromFile( "Scoreboarnone.tga" );
e->Graphics->DrawImage( myImage, 20, 20 );
// Create an ImageAttributes object and set the color key.
Color lowerColor = Color::FromArgb( 245, 0, 0 );
Color upperColor = Color::FromArgb( 255, 0, 0 );
ImageAttributes^ imageAttr = gcnew ImageAttributes;
imageAttr->SetColorKey( lowerColor, upperColor, ColorAdjustType::Default );
// Draw the image with the color key set.
Rectangle rect = Rectangle(150,20,100,100);
e->Graphics->DrawImage( myImage, rect, 0, 0, 100, 100, GraphicsUnit::Pixel, imageAttr );
}
Có thể tga draw ra nhẹ hơn png, em thấy png chỉ dành cho những loại ảnh siêu net vs siêu nặng
HÉ hé :
Tạm nghĩ đến đây đãPHP:private: void SetColorKeyExample( PaintEventArgs^ e ) { // Open an Image file and draw it to the screen. Image^ myImage = Image::FromFile( "Scoreboarnone.tga" ); e->Graphics->DrawImage( myImage, 20, 20 ); // Create an ImageAttributes object and set the color key. Color lowerColor = Color::FromArgb( 245, 0, 0 ); Color upperColor = Color::FromArgb( 255, 0, 0 ); ImageAttributes^ imageAttr = gcnew ImageAttributes; imageAttr->SetColorKey( lowerColor, upperColor, ColorAdjustType::Default ); // Draw the image with the color key set. Rectangle rect = Rectangle(150,20,100,100); e->Graphics->DrawImage( myImage, rect, 0, 0, 100, 100, GraphicsUnit::Pixel, imageAttr ); }![]()

)
Ở file cstrike.nar, folder resources, file bg_bink.bik, ta convert nó qua avi^ ở đâu thế. ta lục tung 3 cái .nar mà ko ra (đừng nói trailer trên YUt nhé, size ko vừa)
Có việc j cần nói với ta trên YH nhờ Yu nói àh @@

Sao mà giỏi mò thế k biếtỞ file cstrike.nar, folder resources, file bg_bink.bik, ta convert nó qua avi![]()
a chỉ cần chú làm đc module hỗ trợ thêm các hiệu ứng như của MTH là đc@Anh Tùng: em mà viết đc thành module thì giữ lời hứa đấy![]()

cẩn thận anh àa chỉ cần chú làm đc module hỗ trợ thêm các hiệu ứng như của MTH là đc
chú thích giề anh cũng chiều![]()

Ở file cstrike.nar, folder resources, file bg_bink.bik, ta convert nó qua avi![]()

Lên google down phần mềm convert vềConvert kiểu j đấy![]()
, mà tên KFC convert r` thì mi còn cv làm j` nữacẩn thận anh à
con biên nó đòi $ thì anh chết đó =]]
@team: sao map rename hết vậy
rất bất tiện cho việc play online ở các sv khác
và meny buy cũng bì
b -8 lại là grenade cơ đấy![]()
Ta có soft màConvert kiểu j đấy![]()
lên YM ta đưa cho
