Well i did not work then, but it works now, well without errors anyway... haha i don't know really what i did, but thanks for all the help!
This is how the code looks now:
_loadGraphics:
Set Image Colorkey 255,255,255
//Create the sprite for player, Image number 1 - 8
Load Bitmap "media\shipAnimation.png", 1
For ix = 1 To 8
Get Image ix, (ix-1)*115, 0,ix*115,68,0
Next ix
Delete Bitmap 1
//Create the sprite for enemyMine, Image number 9 - 16
Load Bitmap "media\mineAnimation.png", 2
For ix = 9 To 16
Get Image ix, (ix-9)*46,0,(ix-8)*46,60, 0
Next ix
Delete Bitmap 2
//Create the sprite for explosion, Image number 17 - 28
Load Bitmap "media\explosion.png", 3
For ix = 17 To 28
Get Image ix, (ix-17)*133,0,(ix-16)*133,133, 0
Next ix
Delete Bitmap 3
//Load the laser sprite Image number 30
Load Image "media\laser.png", 30
//Load the mainMenu, Image number 31
Load Image "media\mainMenu.png", 31
//Load the endMenu, Image number 32
Load Image "media\endMenu.png", 32
Return
I think it was when i used a variable from outside the for loop? maby it's a bug but i tried run it in the lates ide that comes with dbp and i usally use Indigo, same error there.
Well it works now with that code. (made sure all the perimeter is inside the image)
thanks all!