ok i just wrote a rrly simple little program :
rem map editior
make matrix 1,100,100,10,10
n=1
sync on
do
sync
position camera 50,100,50
xrotate camera 90
if spacekey()=1
n=n+1
make object box n,10,10,10
endif
if object exist(n)
POSITION OBJECT n,x#,0.0,z#
YROTATE OBJECT n,a#
IF LEFTKEY()=1 THEN x#=NEWXVALUE(x#,a#-90,3) : z#=NEWZVALUE(z#,a#-90,3)
IF RIGHTKEY()=1 THEN x#=NEWXVALUE(x#,a#+90,3) : z#=NEWZVALUE(z#,a#+90,3)
a#=wrapvalue(a#)
IF UPKEY()=1 THEN x#=NEWXVALUE(x#,a#,3) : z#=NEWZVALUE(z#,a#,3)
IF DOWNKEY()=1 THEN x#=NEWXVALUE(x#,a#,-3) : z#=NEWZVALUE(z#,a#,-3)
POSITION OBJECT n,x#,0.0,z#
YROTATE OBJECT n,a#
endif
loop
this is the kind of thing i want, but obviously i will make it more complicated as i develop it. I need some help though, how can i make it so dark basic reads off the code of the mapeditor and can save it as a txt file or something so i can make the levels and save them?
abit fatal1ty an8 sli mobo, ati radeon 1800 XT, 1.5GB RAM
250GB SATA HDD, AMD Athlon 64 x2 4200 (overclocked further)