Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to hide the shadow?
#1
Hello, i don't know how to use the itr kind:8 so i have developed another way to use this attack.(this attack always homes on the nearest enemies and grabs them and does an attack). The probleem is that there is a shadow, and i do not want a shadow to be there. How do i hide the shadow?

here is my coding:

<bmp_begin>
file(0-0): sprite\sys\dp1.bmp w: 57 h: 141 row: 1 col: 1
file(1-1): sprite\sys\dp2.bmp w: 57 h: 141 row: 1 col: 1
<bmp_end>


<frame> 0 splitpunch
pic: 99 state: 400 wait: 10 next: 1 centerx: 28 centery: 100
<frame_end>

<frame> 1 splitpunch
pic: 99 state: 9 wait: 0 next: 2 dvx: 0 centerx: 28 centery: 100
itr:
kind: 3 x: 40 y: 16 w: 25 h: 65
catchingact: 3 3 caughtact: 130 130
itr_end:
<frame_end>

<frame> 2 splitpunch
pic: 99 state: 9 wait: 0 next: 1000 dvx: 100 centerx: 28 centery: 100
itr:
kind: 3 x: 40 y: 16 w: 25 h: 65
catchingact: 3 3 caughtact: 130 130
itr_end:
<frame_end>

<frame> 3 splitpunch
pic: 0 state: 3005 wait: 10 next: 4 dvx: 550 dvy: 550 dvz: 550 centerx: 28 centery: 140 hit_a: 0 hit_d: 0
cpoint:
kind: 1 x: -15 y: 90
vaction: 131 throwvz: -842150451 hurtable: 1 throwinjury: -842150451 decrease: 7
cpoint_end:
<frame_end>

<frame> 4 splitpunch
pic: 1 state: 3005 wait: 5 next: 1000 dvx: 0 dvy: -3 dvz: 0 centerx: 27 centery: 140 hit_a: 0 hit_d: 0
itr:
kind: 0 x: 15 y: 0 w: 26 h: 121 dvx: 0 dvy: -18 fall: 70 vrest: 300 bdefend: 16 injury: 125 effect: 1
itr_end:
<frame_end>
ᆰᄅ
Reply
Thanks given by:
#2
state 3005 is probably the best way to hide shadows.(including t1 objects aka characters)
but then, you need state 400 to teleport, and state 9 to properly catch an enemy.
so the best solution i can think of is to make the shadow of the ball overlap the enemy's shadow.
though it still has a shadow, at least it isnt that obvious.(it just make the enemy's shadow a tad bit darker)
back from the dead.....kinda
Reply
Thanks given by:
#3
Err how do i make them overlap?
Reply
Thanks given by:
#4
Facepalm do i even have to explain this?
heres a quick spray-drawing, just to show you the idea:
[Image: shadow_example.png]
got it? (somehow the pic remind me of a reversed diagram of a cell splitting)
back from the dead.....kinda
Reply
Thanks given by: A-Man
#5
No no i know what you ment, but the prob was that when my attack grabs the enemy, it displays the shadow far away, and i cannot make them overlap
Reply
Thanks given by:
#6
[Image: insultsthumbs.jpg]
just adjust the X of the frame, and/or cpoints in the itrs...
back from the dead.....kinda
Reply
Thanks given by:
#7
Isn't the cpoint where the other character is being held?
Wait nvm i used a different method
Reply
Thanks given by:




Users browsing this thread: 2 Guest(s)