- 70 名前:名前は開発中のものです。 mailto:sage [2007/06/11(月) 20:42:57 ID:Y/FoO1fE]
- テクスチャの1つのピクセルの色が、描画される時には周りの色とグラデーションされる。
ツクール用のCharSetとか描画してると上や横にゴミが表示されて困るんだけど、 こういう仕様なんだろうか スクリーンショット gamdev.org/up/img/9600.png テスト用画像( 1 * 2 pixelで上の色が白、下が赤 ) gamdev.org/up/img/9599.png テストコード Screen.Select(); Screen.Clear(); Rect drawSourceRect = new Rect( 0, 1, 1, 2 ); float rate = 100; ITexture texture = textureLoader.GetTexture( 2 ); //上部がうっすら白くなる Screen.BltRotate( texture, 0, 0, drawSourceRect, 0, rate, 0, 0 ); //テクスチャ全域だともっとよくわかる Screen.BltRotate( texture, 200, 0, 0, rate, 0 ); Screen.Update();
|

|