Does anyone know a possibility to rotate an image (texture)??
rotate image doesn't exist anymore and get image - sprite - rotate sprite - get image (other img-nr!) doesn't work, it still shows the unrotate image (wanted to let a text rotate and texture a cube with it ...)
sync on
sync rate 30
set display mode 1600,1200,32
color backdrop rgb(255,0,0)
set cursor 30,64
print "such a ****"
get image 1,0,0,128,128
make object cube 1,5
texture object 1,1
set ambient light 100
color ambient light rgb(100,0,0)
make light 1
set point light 1,5,-5,5
color light 1,rgb(0,255,0)
make light 2
set point light 2,-5,5,2
color light 2,rgb(0,0,255)
position camera 12,-15,-10
point camera 0,0,0
make camera 1
position camera 1,-4,5,5
point camera 1,0,0,0
set camera view 1,0,0,400,400
make camera 2
position camera 2,-6,7,0
point camera 2,0,0,0
set camera view 2,0,799,400,1199
color backdrop rgb(20,20,20)
color backdrop 1,rgb(20,20,20)
color backdrop 2,rgb(20,20,20)
do
a#=wrapvalue(a#+5.0)
b#=wrapvalue(b#-3.0)
c#=wrapvalue(c#+2.0)
if mouseclick()=1 then mouse=1
if mouseclick()=2 then mouse=0
if mouse = 1 then text 800,600,"such a goddamned *****"
rotate object 1,a#,b#,c#
fastsync
loop
end