// Project Name: NDS App - AwsomiSoft - www.awsomisoft.com
// Description: this template is a very simple project it
// contains the basic code for a DS App Studio application
// Version: 0.4.6
// whenever using 2D or 3D you must use the start2D or 2D function
start2D(256, 256);
// first, you must tell it to start the first form
startform("Form1");
wait();
endif();
// and this creates the form. To add another form, just
// do createform and in quotes the name of the form.
createform("Form1");
ÂÂÂÂÂÂ start2D(256, 256);
ÂÂÂÂÂÂ drawbackground(1, 3, "Background");
ÂÂÂÂÂÂ loop();
ÂÂÂÂÂÂÂÂ ifbuttonpressed("A");
ÂÂÂÂÂÂÂÂÂÂ startform("Form2");
ÂÂÂÂÂÂÂÂ endif();
ÂÂÂÂÂÂ endloop();
endif();
createform("Form2");
ÂÂÂÂÂÂ start3D(256, 256);
ÂÂÂÂÂÂ initcamera(0, 0, 70, 255, 191);
ÂÂÂÂÂÂ loop();
ÂÂÂÂÂÂÂÂ ogldrawcube(1,1,1,1,40,cl_red);
ÂÂÂÂÂÂÂÂ ifbuttonpressed("B");
ÂÂÂÂÂÂÂÂÂÂ startform("Form1");
ÂÂÂÂÂÂÂÂ endif();
ÂÂÂÂÂÂ endloop();
endif();