Animation won't work

BlitzPlus Forums/BlitzPlus Programming/Animation won't work

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I'm trying to animate a ship for my scrolling shooter, but when I run it, all it does is sit there on frame 0.

Here's the LoadAnimImage section I used
;load the ship image
playerImage = LoadAnimImage("ship_idle.bmp",80,70,0,4)


Everything looks fine. Here's the 1st portion of the main loop, concerned with animation.
While Not KeyHit(KEY_ESC)

;clear screen
Cls

;animate the ship
player1\frame = player1\frame + 1
If player1\frame > 4
	player1\frame = 0
EndIf 	


I think maybe here is where I'm screwing up?