Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is that possible?
#21
I used Lauli´s suggestion and copied the rebounding frames
of davis ball to the baseball data (I changed the framenumbers,
the next and the pic of every frame).
I wanted the baseball to make a davis ball everytime when he
is beaten.

But now the game is crushed every time when I use davis ball.
Reply
Thanks given by:
#22
Please post the code of the ball (only the important parts), the rebounding thingy and all that
Reply
Thanks given by:
#23
ok, I did it without rebound...


This is for the baseballbat, on hand frames
Code:
itr: kind: 5 x: 0 y: 1000 w: 48 h: 48 fall: 40 bdefend: 16 injury: 789 itr_end:

Here opoint for the throwing, baseball

Code:
opoint: kind: 1 x: 0 y: 0 action: 0 dvx: 0 dvy: 0 oid: 250 facing: 0 opoint_end:


The opointed ball
Code:
<frame> 0 flying pic: 1000 state: 3000 wait: 3 next: 1000 dvx: 10 dvy: 0 centerx: 40 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0 bdy: kind: 0 x: 0 y: 1000 w: 48 h: 48 bdy_end: <frame_end> <frame> 10 hiting pic: 4 state: 3001 wait: 1 next: 11 dvx: 0 dvy: 0 centerx: 44 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0 <frame_end> <frame> 11 hiting pic: 5 state: 3001 wait: 1 next: 12 dvx: 0 dvy: 0 centerx: 44 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0 opoint: kind: 1 x: 0 y: 40 action: 100 dvx: 0 dvy: 0 oid: 250 facing: 1 opoint_end: <frame_end>

New Baseball
Code:
<frame> 100 flying pic: 0 state: 3000 wait: 300 next: 1000 dvx: 20 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 itr: kind: 0 x: 16 y: 16 w: 19 h: 19 fall: 70 bdefend: 80 injury: 50 itr_end: <frame_end>


Video


.rar   Study Example.rar (Size: 22.22 KB / Downloads: 210)
[Image: Link.jpg]
| Arcanis | Dome | Kai [-finished-] | Drawings |
Avatar was made by LutiChris

active again.
Reply
Thanks given by:
#24
hum, i tried out my method, but as dome said, it hurts your own people! :( sad about that, I sat there nearly
1 hour programming this stuff!

btw, dome, your video shows a black shadow where you hit the ball. edit that.
I HAVE SOME PROBLEMS WITH MY COMPUTER!
Please don't wonder when I suddenly dissapear for a while!
<a href="http://www.techno4ever.net">
[Image: banner01.gif]
</a>
rest of my siggy! (Click to View)
Reply
Thanks given by:
#25
That was the old code :)
It was only a next: 12 in the hit frames xD
The file attachted works :D
And @HM

Even if this would work, you missed that all weapon´s does this effect, it should only be with the bat.
[Image: Link.jpg]
| Arcanis | Dome | Kai [-finished-] | Drawings |
Avatar was made by LutiChris

active again.
Reply
Thanks given by:
#26
~Dome~ Wrote:And @HM
Even if this would work, you missed that all weapon´s does this effect, it should only be with the bat.

I saw, when i tried out my method.

btw, i love baseball stuff!
I HAVE SOME PROBLEMS WITH MY COMPUTER!
Please don't wonder when I suddenly dissapear for a while!
<a href="http://www.techno4ever.net">
[Image: banner01.gif]
</a>
rest of my siggy! (Click to View)
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)