Rotate help !?!!?!?!

BlitzMax Forums/BlitzMax Beginners Area/Rotate help !?!!?!?!

G-Lyst(Posted 2008) [#1]
When I use SetRotation, it'll rotate the whole screen. I just want to rotate 1 image. How can this be done? I checked the sample code that came with it and dont' see anything on it. Please help...


Gabriel(Posted 2008) [#2]
SetRotation back to 0 after drawing the thing you want to rotate. It's a state, not a per-image setting, so you actually need to change it again.


G-Lyst(Posted 2008) [#3]
can someone post an example of this?


iprice(Posted 2008) [#4]
SetRotation angle

DrawImage image,x,y

SetRotation 0

DrawImage image2,x,y



G-Lyst(Posted 2008) [#5]
Thanks.