PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Help wanted testing JScript in PocketAdventures

Hi!

I need some people who want to
test the Script syntax in PocketAdventures. A little knowledge
of JScript is needed.
Read the other thread for more
info about PocketAdventures.

here's some example code .
Code:

function Main(){
SceneA=new CScene('SceneA');
SceneB=new CScene('SceneB');

Object1=new CObject;
Object1.image='cow.gif';
Object1.framerate=8;
Object1.framecount=10;
Object1.caption='Click here!';
Object1.isbutton=true;

SceneA.background='scene1.gif';
SceneA.screenmode=FULLSCREEN;
SceneA.addobject(Object1);

SceneB.background='scene2.gif';
SceneB.screenmode=HALFSCREEN;

SceneA.draw();

SceneA.left=SceneB;

}

The code describes a world with two
scenes. SceneA and SceneB. SceneA has
a cow in it. SceneA is fullscreen(without commandbar) and SceneB is halfscreen(with a commandbar)

The things i'll ask you:
Create a little world with a few
scenes and a few objects.

I need feedback about the syntax, the
difficulty of the programming, tips, etc


If it is understandable, and you want
to test please reply

Greetz,

Kaiton