Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 12,709 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Bmap minipulation #174114
12/20/07 18:04
12/20/07 18:04
Joined: Mar 2004
Posts: 281
England
frescosteve Offline OP
Member
frescosteve  Offline OP
Member

Joined: Mar 2004
Posts: 281
England
Is there a way to create multiple bitmaps which can be rotated without using panels? (For a 2d game)

Re: Bmap minipulation [Re: frescosteve] #174115
12/20/07 18:52
12/20/07 18:52
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
No, that's where panels are for.


Click and join the 3dgs irc community!
Room: #3dgs
Re: Bmap minipulation [Re: Joozey] #174116
12/20/07 19:16
12/20/07 19:16
Joined: Mar 2004
Posts: 281
England
frescosteve Offline OP
Member
frescosteve  Offline OP
Member

Joined: Mar 2004
Posts: 281
England
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?

Last edited by frescosteve; 12/20/07 19:17.
Re: Bmap minipulation [Re: frescosteve] #174117
12/20/07 20:46
12/20/07 20:46
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
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.


Click and join the 3dgs irc community!
Room: #3dgs
Re: Bmap minipulation [Re: Joozey] #174118
12/21/07 00:44
12/21/07 00:44
Joined: Mar 2004
Posts: 281
England
frescosteve Offline OP
Member
frescosteve  Offline OP
Member

Joined: Mar 2004
Posts: 281
England
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.

Re: Bmap minipulation [Re: frescosteve] #174119
12/21/07 11:04
12/21/07 11:04
Joined: Mar 2004
Posts: 281
England
frescosteve Offline OP
Member
frescosteve  Offline OP
Member

Joined: Mar 2004
Posts: 281
England
never mind... no one told me about the pan_create function.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1