--** Help **--
Blitz3D Forums/Blitz3D Beginners Area/--** Help **--
| ||
How do you use a map created using the Maplet in a Blitz3D game that you are making? I want a map thaat I created in my game. -Thank You |
| ||
Use the LoadMesh command to load your maplet level exported as a B3D file. |
| ||
Don't title your threads "HELP". Title them with something useful. |
| ||
How? What do I have to type? |
| ||
Global mymap = LoadMesh("mymapletmap.b3d") |
| ||
I get a black/blank screen screen :-( |
| ||
Make sure you've got a RenderWorld and Flip in your main loop, else you won't see nothin'. |
| ||
And a camera might help too. I suggest you read the beginners guide... http://www.blitzbasic.com/Community/posts.php?topic=27913 |
| ||
Yes, read up on the very basics of the language first, or you will get no-where fast. And good luck. |
| ||
You can cheat by creating a new project in Blitz then type in the word loadmesh click on it and hit the F1 key on the keyboard 2 times. This will bring up help with an example. Then double click on the word example. It will then load up in blitz. Then you can change the path of the object to yours and you are off running. Learning Blitz is fun. It can be like a treasure hunt with great rewards. ; LoadMesh Example ; ---------------- Graphics3D 640,480 SetBuffer BackBuffer() camera=CreateCamera() light=CreateLight() RotateEntity light,90,0,0 ; Load mesh drum=LoadMesh("mymapletmap.b3d") PositionEntity drum,0,0,MeshDepth(drum)*2 While Not KeyDown( 1 ) RenderWorld Flip Wend End |
| ||
I had this problem once too. The thing that fixed it for me was giving a texture to my maplet model. For some reason, if it did not have a texture, maplet would export a blank document (with no triangles, vertecies, or anything else). If you already have a texture applied in maplet, I don't know what is wrong. If you don't, try the Texture-Replace button in Maplet. Hope I helped you a little. |
| ||
thats because your texture is invisible, meaning its not visible, which if you try to look at, will seem to be non existant. It is usually helpful to make your levels visible, lol,i sound like a teacher |