Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, 7th_zorro, TedMar), 1,243 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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 | chip programmers | 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