Dark Bit Factory & Gravity

PROGRAMMING => Other languages => Yabasic => Topic started by: Wenlock on May 10, 2009

Title: Minibox
Post by: Wenlock on May 10, 2009
Just finished typing it, it runs a bit fast on the PS3.  The cubes shoot out of space like bullets!

Yet the speed is quite moderate on a PS2, that performace is given to horizontal flashes.

The emulator runs it very slow, with obvious judder. 

A seriously cool demo tho. 

I've found the emulator doesn`t like the code I got from this forum.  I think copying it from the post may have somthing to do with it.

Might try Xalthorn`s Multi 3D demo soon.  Just ran it on the emulator and it looks cool!

Wenlock.

Title: Re: Minibox
Post by: Jim on May 10, 2009
Hi Wenlock - the emulator should run pretty much everything...which code are you having trouble with?  Have you tried tinkering with the frame rate settings - that can make quite a difference.

Jim
Title: Re: Minibox
Post by: Shockwave on May 10, 2009
Ah that brings back some nice memories, that demo was programmed at Xalthorns house between us, Xalthorn did most of the coding on that one, we had a really nice day together. Xalthorn installed linux onto my ps2 for me that day and the demo was just a nice way to round off the day.
Title: Re: Minibox
Post by: Wenlock on May 11, 2009
Hi Shockwave and Jim.

One listing I had trouble with the emulator was Doilys.  It would report a parse error at the end of the last line, but all is ok.

When I copied the text out of the PS3 save to test, it again said parse error at the end of the last line.

Oddly, it ran when I added a comma after the last data value.  That would normally be a parse error.  :-*

Almost finished Multi3d, just got 3 shapes worth of data and the scrolltext to do. 

Next demo is to be Retro Style.
Looked cool on the emulator, so it`s gotta rock on a PS.

C ya, gotta shave and put the sleep apnoea machine on or I wont be any good for work tomorrow.

Wenlock.
Title: Re: Minibox
Post by: Wenlock on May 11, 2009
Oops, wrong demo, done that one.
I meant to say next demo to be typed is Mirror.

Wenlock. :-)
Title: Re: Minibox
Post by: Jim on May 11, 2009
You quite often have to add a couple of blank lines to the end of the programs to make them parse.

Some programs do run too fast.  The PS2 Yabasic could do about 55 gtriangles of small size in each frame at 50fps.  But the PC and PS3 can do zillions more than that.  So if a game's natural framerate was held back by drawing too many triangles (say 100 = 25fps) then it will run twice as fast on the PC.

Jim