Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Bitmap Rotation Lag

Bitmap Rotation Lag

Put your problem here if it does not fit any of the other categories.

Bitmap Rotation Lag

Postby Grey Goo » Mon Jul 06, 2009 4:03 am

I'm working on a game right now, and it was severely lagging when I tried certain things and now I figured out it is when a sprite is rotating.

I'm just using Bitmap.createBitmap with a matrix to rotate it and then I draw that bitmap to the canvas. I end up rotating a single bitmap around 40 times in a second if it is constantly rotating every game update at 40 fps and it also lags when I bring it down to 15 fps.

Is there a different way I should be rotating it?
Grey Goo
Junior Developer
Junior Developer
 
Posts: 11
Joined: Mon May 11, 2009 3:56 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 8 guests