PDA

View Full Version : ZScript: Scroll Testing - Small update: It is going to work in the demo...



Muvlo
03-17-03, 06:19 PM
http://www2.zbrushcentral.com/uploaded_from_zbc/200303/user_image-1047953203bfx.gif

Back again for another try at game ZScripting! :) For those of you who saw the Tetris Project, it is now closed. The Tetris Company, which owns Tetris, prohibits the creation of Tetris clones, so I will no longer be working with that.

I now have a new project in mind. It isn't a copy of any existing game, and in fact what it actually turns out to be will depend on what I can get ZScripts to do. Right now I know I want it to be a tile based game. You (later 'you' will be some sort of character, I suppose) will be in a defined level. The level will be made up of different tiles, like walls and floor. Exactly what the tiles will all be depends on what I can do without slowing the game down too much.

Test A - 03-17-03
Most of that stuff above is still in the future. What I have right now is Test A. This script will not be part of the game, it is only for testing purposes. Test A loads a level (I've included a simple one with only two types of tiles) and then lets you scroll over it. Use the 4,5,6, and 8 keys on the NumKey pad with NumLock on. (BTW, I know there's a lot of flickering on the edges when you scroll, this will be fixed in the next update.)

Download: Test A (http://www2.zbrushcentral.com/uploaded_from_zbc/200303/user_file-1047953170xzx.zip)

Hopefuly I'll have more soon.

I'm interested in any comments, bugs noticed, and suggestions you have! :)

Frenchy Pilou
03-18-03, 12:06 AM
Hi Muvlo
It's a pity that you could not create A Ztetris :(
I can't try your new Zscroll with the demo Version (don't loading texture etc...)
Bon Courage for the next !
For your relax try this :) (http://www.calioga.com/Distri/Jeux/Tetris3D/cadre.asp)
Pilou

Flycatcher
03-18-03, 04:25 PM
How very petty of the Tetris creators! It isn't as though this was going to be commercial competition. And haven't they tried searching the web? Clones of Tetris abound.

Oh well, I'm sure your imagination will come up with something better. Perhaps you should patent the idea when complete and offer to sell the rights to them! ;)

Muvlo
03-18-03, 08:46 PM
Thanks to both of you.

Sorry that this game isn't demo compatible, Frenchy. I would have like to put the game in the ZScript window like with the Tetris script. Unfortunatly, it won't update image files like it does with painted rectangles.

Also, I would like to make it clear that the Tetris company didn't send me an e-mail or anything, I'm sure they weren't aware of it. However, I don't want to put files that violate their trademark on a Pixologic server, or for that matter on any server. You're right about all the clones though, Flycatcher. I kind of wonder why they even bother?

I don't have the next update quite ready yet, maybe by tomorrow. I have gotten rid of the flicker at the edges, however. The board size has also changed, it is now 9x9 tiles. More later... :)

Muvlo
03-22-03, 07:14 PM
I've suddenly realized I forgot something very important! Images can be updated in the ZScript window, so making this game demo compatible is possible!
I found out how to do this in 1.23b when EZ and I were experimenting with playing a series or frames in ZBrush like a movie player. I never finished that script, but I do now know how to update images. You just reload the script. :D
Of course, this means a little extra work to save more variables in between each reload, but it will cut down on work in other areas, like removing the flicker.
I won't bother uploading the test script for this, since it's pretty basic, but look for an updated script soon. :)

Frenchy Pilou
03-23-03, 12:52 AM
He he Muvlo you are very tricky :)
Wait and see :D
Pilou