Sprites, Picks, and Collisions, oh my!

Blitz3D Forums/Blitz3D Programming/Sprites, Picks, and Collisions, oh my!

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

To use camera pick correctly, you need to make the level geometry "pickable", using EntityPickMode.

I noticed something else too. In your UpdateLogic function:

	ElseIf logic$ = "game"
		UpdateCamera()
		UpdateShoot()
		UpdateBullets()
		UpdateWorld
		UpdateParticles()
		UpdateEnemies()
		UpdateMiscActions()
		;draw crosshairs
		DrawImage hairs, 400, 310
		RenderWorld
		UpdateGUI()
		Flip


Your drawing the crosshairs, then calling renderworld, which will cause the crosshairs not to be seen. Draw all your 2d graphics after the renderworld and before the flip, and you should be ok.