I need some help programming the following
-Axe Parser vs. Doors CS7 Hybrid Basic
-World Generation
BASIC: (My code is sloppy)
Code:
I don't know how to do it in axe. yunhua98's example doesn't work in this case
-Drawing tilemaps
-External variables
[/url]
-Axe Parser vs. Doors CS7 Hybrid Basic
-World Generation
BASIC: (My code is sloppy)
Code:
://Doors CS7 GUI
:{X,Y->dim([A]
:dim([A]->L1
:int(Y/2->F
:randIntNoRep(1,L1(1->L2
://Stone
:For(Y,L1(2)-1,L1(2)-(F+1),-1
:For(X,1,L1(1)
:2->[A](K,H
:End
:End
://Coal
:int(L1(1)/5->G
:For(X,1,G
:randInt(L1(2)-1,L1(2)-(F+1)->Y
:4->[A](Y,L2(X
:End
://Iron
:For(X,G,G+int(L1(1)/3
:randInt(L1(2)-1,L1(2)-(F+1)->Y
:5->[A](Y,L2(X
:End
...
:For(X,1,L1(1
:randInt(L1(2)-(F+2),L1(2)-(F+5)
:For(Y,L1(2)-(F+2),Ans,-1
:1->[A](Y,X
:End
:End
I don't know how to do it in axe. yunhua98's example doesn't work in this case
-Drawing tilemaps
-External variables
[/url]