Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

how can I reduce prims like Zyngo?

Rocco Sirnah
Registered User
Join date: 13 Jul 2008
Posts: 13
12-24-2008 04:47
I'm doing a new game like Zyngo, but very different...
I have 9 numbers on same row and 6 rows: Total 54 numbers.
I could use 54 small box for each number but I have 54 prims. wow too much!
I saw Zyngo, every row has many faces but one prim. In that way, they can put several texture. I don't know how I can make a plane shape with several faces on same row.
Someone can help me?
Anya Ristow
Vengeance Studio
Join date: 21 Sep 2006
Posts: 1,243
12-24-2008 05:51
Take a look at xyzzytext or whatever it's called. Basically, there are two things you can do.

1) use more than one face on the same prim
2) put more than one number on each face

If you cut a cube .125, .625, one of the sides of the remaining prim will have two faces.

If you taper a cube less than all the way, looking at it from the top you'll see three faces. If you flatten it my minimizing the z-dimension those faces will be almost flat.

I think xyzzytext uses five faces on a single prim, but I'm not sure hot to do that. Perhaps a hollowed cube twisted 45,45 and cut 0,.75, but that'd mean you'd have to repeat and center the inside texture.

To get more than one number on each face you'll have to create a texture that has combinations of numbers. You won't need 100 because, for example, the text 123 contains three combinations (12, 23, 31) with just three numbers.

If you study xyzzytext carefully you might be able to figure it out. Or maybe just use xyzzytext.
_____________________
The Vengeance Studio Gadget Store is closed!

Ollj Oh
Registered User
Join date: 28 Aug 2007
Posts: 522
12-24-2008 05:53
prism
path cut from 0.2 to 0.8
hollow 66.66666666666666
make it flat so that 5 faces go nearly the same direction.

use an xy-text script that diaplays 2 (or more) textures from an array-texture on one face (first texture placed along x, second texture placed along y on an array texture).

you now have a line of 10 small textures on one prim, commonly used for letter displays.
sls can detect "how and where" is is touched (face, UV, normal...) but thats barely in use.
Rocco Sirnah
Registered User
Join date: 13 Jul 2008
Posts: 13
Thank you!
12-24-2008 08:11
Thank you for your replay...
Marry Christmas and Happy new year to everybody!