Thanks guys it works now. @Uhrwerk, I first did the whole thing with pan_create but only noticed later on that that conflicts with game_save and game_load (I should have better read the manual :\), but the static definition works great ofcourse.