Posted By: frescosteve
Bmap minipulation - 12/20/07 18:04
Is there a way to create multiple bitmaps which can be rotated without using panels? (For a 2d game)
Posted By: Joozey
Re: Bmap minipulation - 12/20/07 18:52
No, that's where panels are for.
Posted By: frescosteve
Re: Bmap minipulation - 12/20/07 19:16
Your answer is wrong... of course its possible just i'm not sure how.
I was thinking of taking a bmap then recording each pixel then times each vector by a rotation matrix.
If panels is the only way... can you produce panels on the fly?
Posted By: Joozey
Re: Bmap minipulation - 12/20/07 20:46
Well yeah, maybe it's possible in a huge workaround but why wouldn't you use panels? They handle the rotation, scale, position, you name it -math for you.
You can easily make panels on the fly using pan_create.
Posted By: frescosteve
Re: Bmap minipulation - 12/21/07 00:44
because... i need a lot of them... would it be more efficient to code a lot of panels or my own function to handle rotations.
Posted By: frescosteve
Re: Bmap minipulation - 12/21/07 11:04
never mind... no one told me about the pan_create function.