Image Rotaion
BlitzPlus Forums/BlitzPlus Beginners Area/Image Rotaion
| ||
Hello guys, I'm a beginner and have some problem. I want to my character turn onto mouse. I tried to use RotateImage function but that's WAY TOO SLOW. I tried to add all 360 degree images into array but still. So tell me guys, is there any way to set image rotation in main loop? |
| ||
Not really, since BlitzPlus is 'old fashioned' 2D instead of 2D-in-3D like Blitzmax, so you're not getting any hardware accelerated 3D effects like rotate. Now, depending on what you're doing, you may be able to get by with just a relatively small number of pre-rotated images in an array (e.g. every 30 degrees or something) |
| ||
blitzbasic.com/codearcs/codearcs.php?code=156 |