Here is teh homework. (I'm the first one again? :P)
BTW, I wanted to point out something. You wrote that w=weight. I think it should be width.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
EDIT2-Huge misunderstanding. I changed the ball sprites for teh homework.Sorry,EF.
____________________________________________________
[Misunderstanding result]
New sprites,eh? Well,I just copied and resized firzen's "chasei.bmp".
Here are the sprites-
(each grid=85x29)(name is "freezeball2.bmp")
Now,the DC.
I changed the coordinates of the bdy and itr.(and centery)
DC-Code:
<bmp_begin>
file(0-11): sprite\sys\freeze_ball2.bmp w: 85 h: 29 row: 4 col: 2
weapon_hit_sound: data\020.wav
weapon_drop_sound: data\020.wav
weapon_broken_sound: data\020.wav
<bmp_end>
<frame> 0 flying
pic: 0 state: 3000 wait: 0 next: 1 dvx: 9 dvy: 0 dvz: 0 centerx: 40 centery: 24 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 32 y: 2 w: 22 h: 24 dvx: 7 fall: 20 vrest: 10 bdefend: 16 injury: 45
effect: 3
itr_end:
bdy:
kind: 0 x: 32 y: 2 w: 22 h: 24
bdy_end:
<frame_end>
<frame> 1 flying
pic: 1 state: 3000 wait: 0 next: 2 dvx: 9 dvy: 0 dvz: 0 centerx: 40 centery: 26 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 34 y: 2 w: 23 h: 26 dvx: 7 fall: 20 vrest: 10 bdefend: 16 injury: 45
effect: 3
itr_end:
bdy:
kind: 0 x: 34 y: 2 w: 23 h: 26
bdy_end:
<frame_end>
<frame> 2 flying
pic: 0 state: 3000 wait: 0 next: 3 dvx: 9 dvy: 0 dvz: 0 centerx: 40 centery: 24 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 32 y: 2 w: 22 h: 24 dvx: 7 fall: 20 vrest: 10 bdefend: 16 injury: 45
effect: 3
itr_end:
bdy:
kind: 0 x: 32 y: 2 w: 22 h: 24
bdy_end:
<frame_end>
<frame> 3 flying
pic: 1 state: 3000 wait: 0 next: 4 dvx: 9 dvy: 0 dvz: 0 centerx: 40 centery: 26 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 34 y: 2 w: 23 h: 26 dvx: 7 fall: 20 vrest: 10 bdefend: 16 injury: 45
effect: 3
itr_end:
bdy:
kind: 0 x: 34 y: 2 w: 23 h: 26
bdy_end:
<frame_end>
<frame> 4 flying
pic: 1 state: 3000 wait: 0 next: 5 dvx: 9 dvy: 0 dvz: 0 centerx: 40 centery: 24 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 32 y: 2 w: 22 h: 24 dvx: 7 fall: 20 vrest: 10 bdefend: 16 injury: 45
effect: 3
itr_end:
bdy:
kind: 0 x: 32 y: 2 w: 22 h: 24
bdy_end:
<frame_end>
<frame> 5 flying
pic: 2 state: 3000 wait: 0 next: 999 dvx: 9 dvy: 0 dvz: 0 centerx: 40 centery: 26 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 34 y: 2 w: 23 h: 26 dvx: 7 fall: 20 vrest: 10 bdefend: 16 injury: 45
effect: 3
itr_end:
bdy:
kind: 0 x: 34 y: 2 w: 23 h: 26
bdy_end:
<frame_end>
<frame> 10 hiting
pic: 4 state: 3001 wait: 1 next: 11 dvx: 0 dvy: 0 dvz: 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 dvz: 0 centerx: 44 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 12 hiting
pic: 6 state: 3001 wait: 1 next: 13 dvx: 0 dvy: 0 dvz: 0 centerx: 44 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 13 hiting
pic: 7 state: 3001 wait: 1 next: 1000 dvx: 0 dvy: 0 dvz: 0 centerx: 44 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 20 hit
pic: 4 state: 3002 wait: 1 next: 21 dvx: 0 dvy: 0 dvz: 0 centerx: 46 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 21 hit
pic: 5 state: 3002 wait: 1 next: 22 dvx: 0 dvy: 0 dvz: 0 centerx: 46 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 22 hit
pic: 6 state: 3002 wait: 1 next: 23 dvx: 0 dvy: 0 dvz: 0 centerx: 46 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 23 hit
pic: 7 state: 3002 wait: 1 next: 1000 dvx: 0 dvy: 0 dvz: 0 centerx: 46 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 30 rebounding
pic: 4 state: 3003 wait: 1 next: 31 dvx: 0 dvy: 0 dvz: 0 centerx: 43 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 31 rebounding
pic: 5 state: 3003 wait: 1 next: 32 dvx: 0 dvy: 0 dvz: 0 centerx: 43 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
opoint:
kind: 1 x: 41 y: 41 action: 0 dvx: 0 dvy: 0 oid: 209 facing: 1
opoint_end:
<frame_end>
<frame> 32 rebounding
pic: 6 state: 3003 wait: 1 next: 33 dvx: 0 dvy: 0 dvz: 0 centerx: 43 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 33 rebounding
pic: 7 state: 3003 wait: 1 next: 1000 dvx: 0 dvy: 0 dvz: 0 centerx: 43 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 40 rebounding
pic: 4 state: 3003 wait: 1 next: 41 dvx: 0 dvy: 0 dvz: 0 centerx: 43 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 41 rebounding
pic: 5 state: 3003 wait: 1 next: 42 dvx: 0 dvy: 0 dvz: 0 centerx: 43 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 42 rebounding
pic: 4 state: 3003 wait: 1 next: 31 dvx: 0 dvy: 0 dvz: 0 centerx: 43 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 399 dummy
pic: 0 state: 0 wait: 0 next: 0 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 21 y: 18 w: 43 h: 62
bdy_end:
<frame_end>
|
And here is the result in-game.
(It's a bit crappy,ain't it)
I could have made the ball spawn a bit lower,a well, too lazy now
EDIT-Yeah fixed it. Changed the centery.(Was lazy before :P)
[/misuderstanding result]