Make a new sprite
How would you resize the sprite in whit's Combined base v2? i am just wondering thanks.
Delete half the bytes to make the sprite half its size.
Alright thanks!
or don't use sprites? and draw it another way?
Not so sure, but basicly what i was asking how could i resize the image/sprite whit used on combined base v2
wtf create a new one make it 2x2[x*33/23*2:2:2:2^] should be supported xD
[YOUTUBE]e89lqiE0wi0[/YOUTUBE]
thats how im doing it
Code:void CSprite::render() { D3DXMATRIX matrix; m_sprite->GetTransform(&matrix); D3DXVECTOR2 translation = D3DXVECTOR2((FLOAT)m_iCurX, (FLOAT)m_iCurY); D3DXVECTOR2 scale = D3DXVECTOR2((FLOAT)m_fScaleFactorX, (FLOAT)m_fScaleFactorY); D3DXVECTOR2 scalecenter = D3DXVECTOR2((FLOAT)m_iCurW/2, (FLOAT)m_iCurH/2); D3DXMatrixTransformation2D(&matrix, &scalecenter, 0, &scale, 0, 0, &translation); m_sprite->SetTransform(&matrix); m_sprite->Begin(D3DXSPRITE_SORT_TEXTURE); m_sprite->Draw(m_tex, 0, 0, 0, D3DCOLOR_ARGB(m_iCurAlpha, 255, 255, 255)); m_sprite->End(); }
c0ke187 (02-04-2011),Dead 4 Real (01-17-2011),NOOBJr (01-17-2011),_Fk127_ (01-17-2011)
Make a new sprite = best
No I do not make game hacks anymore, please stop asking.