Game Development Community

Got Juggling Working!

by Gary "ChunkyKs" Briggs · in Torque Game Builder · 03/15/2005 (10:06 pm) · 10 replies

I know, I know, it's miles away from being done, but I just *have* to put up something.

For anyone who read my .plan, it turns out that there were a couple of bugs; one was a bogus comparison, and the other was... my minimum function was actually returning the maximum value. Bleh.

Anyways. It's a bit simple right now, but I mostly don't care.
icculus.org/~chunky/stuff/jmts/jm-2005-03-15.tar.gz

Run with -game jm. Doesn't do much beyond juggle 3 balls right now, but it has some particles. *giggle*

Thanks Corey "The Pyrotechnics Guy" for all his support and help.

Gary (-;

EDIT: Latest version here: icculus.org/~chunky/stuff/jmts/jm-2005-03-21.tar.gz

#1
03/15/2005 (11:45 pm)
Hey thats pretty groovy, good work
#2
03/16/2005 (12:32 am)
@Gary: You know, this has to be the most unique application for T2D that I have seen yet! :)

Keep posting updates as you progress.

Cool stuff.

- Melv.
#3
03/16/2005 (4:58 am)
Three 'woot's for Chunky! Looking great. That old code will be replaced in no time :)
#4
03/16/2005 (8:17 am)
When running it I get the following error:

Fatal-ISV:(Josh/Programming/engines/Trouque2D/EA1/Release_1_0_Base/torque2d/branches/t2deal1/engine/game/main.cc@64)

cCreateCanvas: canvas has already been instantiated

Any ideas why this does not work?
#5
03/16/2005 (8:32 am)
Thank-you, all :-)

@Brian: Probably you need to run it with -game instead of -mod

Gary (-;
#6
03/16/2005 (5:55 pm)
@Melv, you know, I'm starting to sense a theme. When jugglemaster first went up on icculus.org, this was Ryan's announcement:
icculus.org/news/news.php?id=1763

I think y'all think I'm kidding :-)

Gary (-;
#7
03/16/2005 (10:26 pm)
icculus.org/~chunky/stuff/jmts/5ballsshot.png
Gary (-;
#8
03/17/2005 (12:10 am)
:)

- Melv.
#9
03/20/2005 (7:46 pm)
icculus.org/~chunky/stuff/jmts/jm-2005-03-20.tar.gz

It now actually does something more useful. For the time being, I've taken out the effects, since they POUND my machine.

Random Patterns, Styles, Advanced and Simple Patterns all work.

For anyone curious, the best trick that I can do personally... go into Change SiteSwap (Advanced), and put in siteswap "5" and pattern "Mills Mess".

It's finally starting to be representative of the C++ version. Maybe I'll do a proper release of it sometime soon.

Gary (-;
#10
03/22/2005 (12:21 am)
icculus.org/~chunky/stuff/jmts/choosepatt.pngicculus.org/~chunky/stuff/jmts/jm-2005-03-21.tar.gz

As you can see from the screenshot, I now have pattern loading working. There's some scary perl voodoo along the way, but it works pretty well. This now makes jugglemaster friendly to people who don't understand the notation it uses.

Go to "Choose Pattern" in the JuggleMaster menu, and Bam! Many many patterns for you to choose from; you no longer have to undersatnd anything at all about juggling patterns to make it do interesting ones

Some of the patterns may seem to lock up your machine; they don't, they just slow it to a crawl, as each frame takes up to several seconds to calculate. Ah, the many joys of torque being single-threaded and jugglemaster originally designed with a limit of 35 balls. I'll probably fix it eventually. Still several bugs I know about, including that one with patterns with a two or a zero in them.

Gary (-;