// 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
start3D(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");
ÂÂÂÂÂÂ
ÂÂÂÂÂÂ Int("angle", 0);
ÂÂÂÂÂÂ initcamera("0", "0", "70", 256, 191);
ÂÂÂÂÂÂ text(0, 0, "This is a 3D example using DS App Studio!", "bottom");
ÂÂÂÂÂÂ text(0, 10, "Renderer: OpenGL", "bottom");
ÂÂÂÂÂÂ text(0, 15, "Use the stylus to change the zoom and direction of the camera.", "bottom");
ÂÂÂÂÂÂ loop();
ÂÂÂÂÂÂÂÂÂÂ Int("angle", "+=", 1);
ÂÂÂÂÂÂÂÂÂÂ ogldrawcube("1", "1", "1", "1", "angle", cl_blue);
ÂÂÂÂÂÂÂÂÂÂ ifstylusheld();
ÂÂÂÂÂÂÂÂÂÂÂÂ movecamera("stylus.px", "0", "stylus.py", 255, 191);
ÂÂÂÂÂÂÂÂÂÂ endif();
ÂÂÂÂÂÂ endloop();
ÂÂÂÂÂÂ
endif();