Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Added the 3D functions. You can create 3D game with it now! 

The following is an example code of using it.

//-- 3d example
sprite(1,"floor",1);
sprite(2,"ball",5); function init(){
 // floor
 c=setm(0,0,0,1,-1);
 mrx[c]=270;
 ms[c]=300;
 maprepeat(c,80,80);
 // balls
 w=30
 for(i=0;i<200;i++){
  c=setmSphere(rnd()*w-w/2,0,rnd()*w-w/2,2,1,rand(3));
 mry[c]=rand(360);
 }
 // camera
 setcam(0,1,0,0,0,0);
 bgcolor("#0000ff");
} function move(i){
 switch(m[i]){
  // bounce a ball
  case 1:
   if(abs(sx)<5)sx*=1.5;
   if(abs(sz)<5)sz*=1.5;
   sy+=syy;
   syy-=.2;
   if(sy<1){sy=1;syy=rnd()*3;}
  break;}
} function update(){
 // rotate a camera
 cary=(cary+1)%360;
}

Result