--** Help **--

Blitz3D Forums/Blitz3D Beginners Area/--** Help **--

Cheater912(Posted 2006) [#1]
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


Robert Cummings(Posted 2006) [#2]
Use the LoadMesh command to load your maplet level exported as a B3D file.


WolRon(Posted 2006) [#3]
Don't title your threads "HELP". Title them with something useful.


Cheater912(Posted 2006) [#4]
How?
What do I have to type?


Paul Murray(Posted 2006) [#5]
Global mymap = LoadMesh("mymapletmap.b3d")



Cheater912(Posted 2006) [#6]
I get a black/blank screen screen :-(


big10p(Posted 2006) [#7]
Make sure you've got a RenderWorld and Flip in your main loop, else you won't see nothin'.


Paul Murray(Posted 2006) [#8]
And a camera might help too.

I suggest you read the beginners guide...

http://www.blitzbasic.com/Community/posts.php?topic=27913


Ross C(Posted 2006) [#9]
Yes, read up on the very basics of the language first, or you will get no-where fast. And good luck.


Crawdad(Posted 2006) [#10]
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


Steven Noyce(Posted 2006) [#11]
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.


n8r2k(Posted 2006) [#12]
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