Have worked with DarkBasic Pro for 10 years now and just recently purchased AGK. Lots of cool features and commands. But I am having a tough time creating a usable map for my project. In the past I used 3d World Studio to make maps. However, it does not appear that AppGameKit supports the .dbo format, which is what I previously used with DBPro. I tried exporting the .x format which shows up fine except for the textures. I made sure to use .png textures instead of the ones that come with 3DWS. See the attached image for how the map shows up. The mapped textures don't show at all.
This is how I'm loading the map:
load_object(2,"\media\maps\test1.x",0,0,60,0,0,0) `my own function, see below
setobjectscale(2,0.1,0.1,0.1)
function load_object(id,obj_name$,scale,x,y,z,tex,tex_stage)
loadobject(id,obj_name$,scale)
setobjectposition(id,x,y,z)
if tex>0 then setobjectimage(id,tex,tex_stage)
endfunction
Ultimately I'm trying to figure out the best way to move forward. Is 3DWS usable with AppGameKit or is there a better option? What do other people use for making maps? I use blender for making models but it doesn't seem like the best tool for making maps. Any suggestions on a fix or a better program for map making is greatly appreciated!
BioFox Games