Hi all I have just written my first real script, a tetris clone. Everything is working fine except that when i start the script by entering Meltris in the command line, i lose focus from the front view with i use for the game. So the player most mouseclick in the view to be able to control the falling block with the arrow keys.
So if there is any way to set a view to active thru a script, i really want to know
woah! kudos, that is the most amazing MEL script I have ever seen or downloaded.
How the hell did you do it? I've had a quick scan through the MEL code and I have no idea how it works... any chance you could post a brief explanation of how the key mechanics work...?
I'm sure I could figure it out given long enough...Looks like it's gonna be a long night...
I get a Fatal Error when I try to start it. I simply draged & dropped it over maya... rattle rattle rattle... and PLOP : the Error. Typing "Meltris" won't work either.
I got maya 6.0.1, and even tryed it on other versions.
Ps. if someonbe has problems understanding how it works chek out the outliner, its just a expression node that is run every frame. Coupled with timer x to know how much time has elapsed sce last loop.
Ah it works! I started over with a fresh user-folder, by renaming mine. Don't know what i got in there that the crash occurs. Maybe I have a procedure with the same name or something.. It crashs just before it starts. first it seems like calculating or creating something and then ..: plop. Fatal error.
Maybe I find time to take a look at it.
But now the shouting: WOOOAAR!! ^^ whatta cool script man!! 3 thumbs up!!!