Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Chasing ball always facing right. And Hp adding.
#25
(02-14-2012, 07:43 AM)Azriel Wrote:  i checked your sprites (using paint.NET, zoom and select), and the widest (second to last) is 80 px. so theoretically if you just make the w: to 80 (79 if you want to be safe), move each sprite in range, and play with centerx-es, the laser shouldn't be visible (though you'd have to check this for the widest sprites (and check the widest down-left and down-right shooting sprites)).

it doesn't help because this acts differently on left and right border
on the left it will show the whole regardless of its size (from the left border)
and only on the right it will show the first 80px of the sprite
(btw this is a really annoying feature because it fully demolishes any other use for it:
both hiding the stick to border and fully sticking sprites of any width to the border - it always has to be 80px for proper symmetrical functioning...
unless you ever want to stick larger image only 80px away from the left border ... why would you do that?)

so you can hide it on the right- but not on the left

did anyone read my second post? i think there are chases that don't physically turn around (itrs etc) so you can still use the mirror sprites to make them static, both visually and physically

EDIT:
this is why you are all trying too hard - faking something the game already has ...
    DC-Code:
<frame> 0 noflip
 pic: 0 state: 3000 wait: 1 next: 1 dvx: 0 dvy: 0 dvz: 0 centerx: 53 centery: 24 hit_a: 1 hit_d: 2 hit_Fa: 3
 itr: kind: 0 x: 53 y: 12 w: 45 h: 24 dvx: 20 fall: 20 arest: 6 bdefend: 10 injury: 30 itr_end:
 bdy: kind: 0 x: 53 y: 12 w: 45 h: 24 bdy_end:
 bpoint: kind: 0 x: 53 y: 12 w: 45 h: 24 bpoint_end:
<frame_end>
 
<frame> 1 noflip
 pic: 1 state: 3000 wait: 1 next: 999 dvx: 0 dvy: 0 dvz: 0 centerx: 53 centery: 24 hit_a: 1 hit_d: 2 hit_Fa: 3
 itr: kind: 0 x: 53 y: 12 w: 45 h: 24 dvx: 20 fall: 20 arest: 6 bdefend: 10 injury: 30 itr_end:
 bdy: kind: 0 x: 53 y: 12 w: 45 h: 24 bdy_end:
 bpoint: kind: 0 x: 53 y: 12 w: 45 h: 24 bpoint_end:
<frame_end>

not even the bpoint gets flipped (watch it- a blast with blood stain just before it starts to fly off/disappear)
absolutley nothing gets flipped
Reply
Thanks given by:


Messages In This Thread
RE: Chasing ball always facing right. - by Gad - 02-12-2012, 02:17 PM
RE: Chasing ball always facing right. And Hp adding. - by YinYin - 02-14-2012, 04:05 PM



Users browsing this thread: 11 Guest(s)