Cylinder style 3d list

Blitz3D Forums/Blitz3D Beginners Area/Cylinder style 3d list

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.

For some reason the sprite didn't work squidged up like you had it... however...

Added a bit to rotate the sprite so it's at the right angle on the cylinder... Just replace the initial loopy bit with this.

For n = 1 To MaxLines

	Item(n) = CreateSprite(Wheel)
	ScaleSprite Item(n),2,2
	SpriteViewMode item(n),2
	RotateEntity item(n),(360/maxlines)*(n-1),270,0
	EntityFX item(n),16
	TranslateEntity Item(n),0,0,-1.5,True
	;EntityAutoFade Item(n),3.0,3.8	
	EntityBlend Item(n),3
	ItemTex(n) = CreateTexture(256,256)
	TurnEntity Wheel,0,0,(360/MaxLines)

Next