My Juggle Gani

I can’t take all the credit, I was trying to fix Eroz’s earlier gani but still had no luck.

Anyway here is the Gani:
[ATTACH]3526[/ATTACH]

Here are my crappy Juggling Balls:
[ATTACH=CONFIG]3527[/ATTACH]

And here is the code:

if(playerenters){
toweapons Juggle/Juggle;
}
if(weaponfired){
setani juggle,;
}

What I think needs to be done,
I just started making Gani’s but I’m pretty sure that I need to add the juggline balls to the gani itself, how is that done?

Thanks :slight_smile:

Assuming you have GraalShop.

On the right in the column with

Def. head
Def. body
Def. attr1

Find “Def. param1” and enter “jugglebyrammy.png” in the box next to it.

Go to the “explosion thing” at the top aka Add Sprite Definition. Under image go to PARAM1.

Under Description put something like “ball1”.

For sprite index, you should look to see what the last sprite definition used is (hover over the sprite in the list on the left with your mouse, or right click and go to edit to find out what number it uses), and use the next number in sequence for your new sprites.

The you just have to use the X,Y,width, and heights boxes to single out 1 ball.

Or you can use the grid function, just read the instructions for that.

when you script the weapon, be sure to use setani juggle,jugglebyrammy.png;

i dont believe you really have to as you set the default when you made the gani, but it never hurts to make sure it uses the correct image.

Wow, that may be kinda hard to understand but whatever…

If I didn’t have Graal Shop how would I fix the gani D:<
Thank’s for replying though I really wanted to get this over with and move onto some other stuff!
I’ll see if it works out for me…

That didn’t work for me so I just converted my image to .gif and put jugglebyrammy.gif there and that worked for all the juggling balls :smiley: