3d tiles

Blitz3D Forums/Blitz3D Programming/3d tiles

cbmeeks(Posted 2003) [#1]
Yes, I know this has been talked about like a million times but I just can't find any good code to help.

Here is what I am trying to do. I want to make a side-scrolling game that uses 32x32 tiles. I want parallax scrolling and good speed.

How can I do this in B3D? I also want to have transparent layers (tiles) and dynamic lighting, etc.

I am clueless with 3D. I have read that it is preferred to use a single mesh? Hell, I am not 100% sure what a mesh is! lol

Anway, is there any code out there that simply shows me how to scroll a screen using tiles?

thanks

cb


BlitzSupport(Posted 2003) [#2]
See if this sort of thing is any use...

http://www.blitzbasic.com/codearcs/codearcs.php?code=400


cbmeeks(Posted 2003) [#3]
Oh my...I just got around to playing with that code and it works pretty well!

I had to play with it some to simulate scrollable layers in the X and Y position but man...it is SMOOTH!

Here are some more questions.

1) How can I prevent the LoadBrush from "blurring" the textures/brushes? Can I turn off anti-aliasing?

2) How can I specify a color in the brush to be transparent?

Thanks!

cb