CP - Alien Breed Remake - 3

Miscellaneous Forums/Blitz Showcase/CP - Alien Breed Remake - 3

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.

Just a quick 'hack' to see how the players would look with half the frames of animation is:

	; animation frame control
	If move
		pl\fpause = (pl\fpause+1) Mod 10
		If pl\fpause = 0 Then pl\frame = (pl\frame+2) Mod 15
	EndIf


I think it looks fine (athough a little jumpy as it's 15 frames so doesn't divided by 2 easily! but that can be sorted), and I think adding the extra rotation animations would look much better. Likewise with the aliens too.

This function would need to be changed to:
Function dirdif(angle1,angle2) 

a= ((angle2 - angle1) Mod 16 + 24) Mod 16 - 8 
If a<0 Then a=-1
If a>0 Then a=1
angle1 = angle1 + a
If angle1>15 Then angle1=0
If angle1<0 Then angle1=15

Return angle1
End Function
to deal with 16 frames of rotation rather than 8.

Probably a couple of other bits will need changing too, hopefully not too much though. Oh, there are a bunch of sin(angle*45) scattered around alien.bb and player.bb which would have to be sin(angle*22.5).

Anyway, I'm not suggesting putting any of this in until the media is changed, but I think it'll be an improvement.

Any thoughts on this?