Rotation Problem!

so when i do “g.rotate(0.01);” it rotates everything

tiles,text,player,backround

even if i only do it before i draw the player and after i draw the tiles,text,backround

ok here is an image!

http://s22.postimg.org/5uf6uqke9/asdasd.png

it rotates everything

//RENDERS BACKROUND

//RENDERS TILES

//ROTATES * But Rotates All Off The Rendered Things!??
//RENDERS PLAYER

glRotate applies rotation to the current matrix.

if you like to rotate selected objects you can use

GL11.glPushMatrix(); // save matrix
GL11.glRotate(1,2,3);
// draw stuffs
GL11.glPopMatrix(); // restore matrix

oh wait … you do java2D ?

After drawing the things, you have to rotate it back I think. Try adding [icode]g.rotate(-0.01);[/icode] after your done.

yes =/