aldweb

Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail

Special !



Mobile version of
the aldweb Site

m.aldweb.com


Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]
Search




Weather / Spam / www

Lyon Weather


aldweb against spam


Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
298 Subscribers
Family's web sites

Webmaster - Infos
Friends News
Visits

   visitors

   visitors online

Poll
What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
forum.gifForum - iziBasic - Topic #1671

Forum - Forum
iziBasic - iziBasic


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257

active  Topic # 1671  Rotating bitmaps

01/01/2011 @ 18:23
by Joe

Anonymous

visitor

Hi, I was wondering if anyone knows how to rotate a  tBmp image in iziBASIC.Unfortunately I'm not very good at math so I haven't figured it out yet.Any reply would be appreciated
Write to Joe   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1
--------
23/01/2011 @ 22:32
by aldweb

Anonymous

visitor

Hello Joe.

 

iziBasic does not include a sprites engine, so it will be quite hard to rotate your image easily.

Basically, I see 2 ways:

1) Include your images and their possible rotations (made with some Paint program) in a resource file, display them accordingly to your needs

2) Capture all of the displayed picture's pixels, do the math calculation for the rotation, then display the new pixels. This will be very slow... Not worth trying for some real time experience!

 

Cheers,

aldweb

Write to aldweb   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 2
--------
24/01/2011 @ 16:25
by Joe

Anonymous

visitor

Hey Aldweb,

  Thanks for the answer I think I might try method 1.were did everone else go....

Thanks again

Write to Joe   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 3
--------
24/01/2011 @ 23:43
by aldweb

Anonymous

visitor

Hello Joe,

 

A good sample source code for moving around some images is the NekoCat sample application. The cat is not rotated, its successive images are just like a cartoon. The same principle of successives images but not moving for your rotation work will do the trick I guess.

 

Cheers,

aldweb

Write to aldweb   Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 



 
^ Top ^