Has anyone got a 2D level editor and some example code to use in Max that I can use?
Thanks
Mappy and TileStudio have Bmax modules.
There's SAS Map Editor available plus FishEd in development.
I did code a 2D Level Editor for my own engine in B+, but it ties in so heavily with my games engine that I doubt it would be of use to you... sorry
check my sig SAS Map Editor 2 (comes with source and a module to use in your game). Get the module from the SAS modules link.