Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, ChrstphFr), 935 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Handball game issue #147583
08/12/07 13:50
08/12/07 13:50
Joined: Mar 2005
Posts: 80
S
SirSven Offline OP
Junior Member
SirSven  Offline OP
Junior Member
S

Joined: Mar 2005
Posts: 80
Hi guys,

I'm thinking about how to create a handball game and I can't come up with a solution for the passing system. How can I animate the catching of the ball. I mean you can't make one animation of the ball catching person because the ball can come in from everywhere but the hand must go to the ball. So is it necessary that I create 1000 of animations for every possibility the ball can arrive or do you know a better way?

Thanks

Re: Handball game issue [Re: SirSven] #147584
08/12/07 16:00
08/12/07 16:00
Joined: Sep 2002
Posts: 700
Orange County, CA
L
LogantheHogan Offline
Developer
LogantheHogan  Offline
Developer
L

Joined: Sep 2002
Posts: 700
Orange County, CA
Sounds like a job for bones animation. I'm not sure how you'd do it, but I'm pretty sure it's possible with bones. Either look for a tutorial about bones or wait for someone smarter than me to come along.

Re: Handball game issue [Re: LogantheHogan] #147585
09/09/07 07:52
09/09/07 07:52
Joined: Jul 2007
Posts: 163
c:\Germany\Bavaria.exe
G_Tos Offline
Member
G_Tos  Offline
Member

Joined: Jul 2007
Posts: 163
c:\Germany\Bavaria.exe
I think, I'm not the smarter one...
...but you can create one catching-animation for a direct-pass, one for catching the ball over the had and one for picking it from the floor.
Now you can move the player to the position where the ball is in the equal high as the hands of him. Then turn the player to the angle of the ball and play the
"direct-pass-animation". It's only an Idea...

(I hope there are not sooo many mistakes with grammar... )


Spiele zu spielen ist Übung, sie zu machen Kunst!(Zitat)

Re: Handball game issue [Re: G_Tos] #147586
09/09/07 10:20
09/09/07 10:20
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
the trick is, not to animate the players for the ball, you have to get the ball to the right position => before they through it, you have to know the final position

Re: Handball game issue [Re: Scorpion] #147587
09/09/07 10:35
09/09/07 10:35
Joined: Jul 2007
Posts: 163
c:\Germany\Bavaria.exe
G_Tos Offline
Member
G_Tos  Offline
Member

Joined: Jul 2007
Posts: 163
c:\Germany\Bavaria.exe
Yes, I mean this.
Only an idea:
Create an other Object and let it move to the same direction as the ball.
but with much more speed. Then you have to make the gravity proportional to the speed. Example:
The ball is moving with speed 5 and has a gravity of 0.4, the object could move with speed 50, then is it's gravity 4.
With this trick the Object is much earlier at the same position like the ball later. Now you only must move the player to this position.

Or you try to get the ball to the playerposition. But I don't know how...

I haven't tested it, but I think it will be run.


Spiele zu spielen ist Übung, sie zu machen Kunst!(Zitat)

Re: Handball game issue [Re: G_Tos] #147588
09/09/07 10:40
09/09/07 10:40
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
if a player throughs the ball, a position is calculated (as example by another player, or just on the bottom), and you move the ball direct to that.
and that with the gravity you can fake easy.

Re: Handball game issue [Re: Scorpion] #147589
09/09/07 11:45
09/09/07 11:45
Joined: Jul 2007
Posts: 163
c:\Germany\Bavaria.exe
G_Tos Offline
Member
G_Tos  Offline
Member

Joined: Jul 2007
Posts: 163
c:\Germany\Bavaria.exe
Ok...


Spiele zu spielen ist Übung, sie zu machen Kunst!(Zitat)

Re: Handball game issue [Re: G_Tos] #147590
09/10/07 09:25
09/10/07 09:25
Joined: Jul 2007
Posts: 163
c:\Germany\Bavaria.exe
G_Tos Offline
Member
G_Tos  Offline
Member

Joined: Jul 2007
Posts: 163
c:\Germany\Bavaria.exe
SirSven, can I get your handballgame after finishing?
Because I like this sport and there are no games in this genre...
...please!?!


Spiele zu spielen ist Übung, sie zu machen Kunst!(Zitat)


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1