06-14-2009, 05:59 AM
I tried to apply the "running up the side of the stage" for Rudolf. the code worked and nothing seem to be wrong except for one thing:
When he ran up, a sprite in the running sequence was missing, I tried all I can but I can't figure out what cause this problem.
Any idea?
Here is the code:
See the attachment if you want to dig deeper.
When he ran up, a sprite in the running sequence was missing, I tried all I can but I can't figure out what cause this problem.
Any idea?
Here is the code:
DC-Code:
The_bitmap_part: file(0-69): sprite\sys\rudolf_0.bmp w: 79 h: 79 row: 10 col: 7 file(70-139): sprite\sys\rudolf_1.bmp w: 79 h: 79 row: 10 col: 7 file(140-149): sprite\sys\rudolf_2.bmp w: 149 h: 87 row: 5 col: 2 file(150-155): sprite\sys\rudolf_3.bmp w: 94 h: 64 row: 6 col: 1 file(156-158 ): sprite\sys\rudolf_4.bmp w: 79 h: 79 row: 1 col: 3 ---------------------------------------------------------------- The_running(normal)_part: <frame> 9 running pic: 20 state: 4 wait: 3 next: 10 dvx: 13 dvz: 2 dvy: 0 dvz: 0 centerx: 32 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 sound: data\003.wav itr: kind: 8 x: 40 y: 18000 w: 55 h: 65 dvx: 300 itr_end: bpoint: x: 55 y: 51 bpoint_end: wpoint: kind: 1 x: 46 y: 54 weaponact: 32 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0 wpoint_end: bdy: kind: 0 x: 25 y: 19 w: 38 h: 60 bdy_end: opoint: kind: 1 x: 150 y: 79 action: 299 dvx: 0 dvy: 0 oid: 5 facing: 0 opoint_end: <frame_end> <frame> 10 running pic: 21 state: 4 wait: 3 next: 11 dvx: 13 dvz: 2 dvy: 0 dvz: 0 centerx: 32 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 bpoint: x: 55 y: 53 bpoint_end: itr: kind: 8 x: 40 y: 18000 w: 55 h: 65 dvx: 300 itr_end: wpoint: kind: 1 x: 46 y: 55 weaponact: 32 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0 wpoint_end: bdy: kind: 0 x: 25 y: 19 w: 38 h: 60 bdy_end: opoint: kind: 1 x: 150 y: 79 action: 299 dvx: 0 dvy: 0 oid: 5 facing: 0 opoint_end: <frame_end> <frame> 11 running pic: 22 state: 4 wait: 3 next: 9 dvx: 13 dvz: 2 dvy: 0 dvz: 0 centerx: 32 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 sound: data\004.wav bpoint: x: 56 y: 54 bpoint_end: itr: kind: 8 x: 40 y: 18000 w: 55 h: 65 dvx: 300 itr_end: wpoint: kind: 1 x: 46 y: 56 weaponact: 32 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0 wpoint_end: bdy: kind: 0 x: 25 y: 19 w: 38 h: 60 bdy_end: opoint: kind: 1 x: 150 y: 79 action: 299 dvx: 0 dvy: 0 oid: 5 facing: 0 opoint_end: <frame_end> ------------------------------------------------------------------- The_thing_that_make_him_run_up_part: <frame> 299 up_wall_trigger pic: 999 state: 3 wait: 2 next: 1000 dvx: 0 dvy: 0 dvz: 0 centerx: 41 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 bdy: kind: 0 x: 14 y: 18000 w: 50 h: 62 bdy_end: <frame_end> -------------------------------------------------------------------- And_the_thing_that_pissed_me_off_part: <frame> 300 up_wall_run pic: 156 state: 3 wait: 1 next: 301 dvx: 550 dvy: 0 dvz: 0 centerx: 68 centery: 109 hit_a: 0 hit_d: 0 hit_j: 0 <frame_end> <frame> 301 up_wall_run pic: 157 state: 3 wait: 1 next: 302 dvx: 0 dvy: 0 dvz: 0 centerx: 68 centery: 122 hit_a: 0 hit_d: 0 hit_j: 0 <frame_end> <frame> 302 up_wall_run pic: 158 state: 3 wait: 1 next: 303 dvx: 0 dvy: 0 dvz: 0 centerx: 68 centery: 135 hit_a: 0 hit_d: 0 hit_j: 0 <frame_end> <frame> 303 up_wall_run pic: 156 state: 3 wait: 1 next: 304 dvx: 0 dvy: 0 dvz: 0 centerx: 68 centery: 148 hit_a: 0 hit_d: 0 hit_j: 0 <frame_end> <frame> 304 up_wall_run pic: 157 state: 3 wait: 1 next: 305 dvx: 0 dvy: 0 dvz: 0 centerx: 68 centery: 161 hit_a: 0 hit_d: 0 hit_j: 0 <frame_end> <frame> 305 up_wall_run pic: 158 state: 3 wait: 1 next: 306 dvx: 0 dvy: 0 dvz: 0 centerx: 68 centery: 174 hit_a: 0 hit_d: 0 hit_j: 0 <frame_end> <frame> 306 up_wall_run pic: 156 state: 3 wait: 1 next: 307 dvx: 0 dvy: 0 dvz: 0 centerx: 68 centery: 187 hit_a: 0 hit_d: 0 hit_j: 0 <frame_end> <frame> 307 up_wall_run pic: 157 state: 3 wait: 1 next: 308 dvx: 0 dvy: 0 dvz: 0 centerx: 68 centery: 200 hit_a: 0 hit_d: 0 hit_j: 0 <frame_end> <frame> 308 up_wall_run pic: 158 state: 3 wait: 0 next: 309 dvx: 0 dvy: 14 dvz: 0 centerx: 68 centery: 213 hit_a: 0 hit_d: 0 hit_j: 0 <frame_end> <frame> 309 up_wall_run pic: 158 state: 3 wait: 0 next: 212 dvx: 550 dvy: 0 dvz: 0 centerx: 68 centery: 213 hit_a: 0 hit_d: 0 hit_j: 0 <frame_end> |
See the attachment if you want to dig deeper.