4.4.2.0: animation for rocket collectible (BDX_ROCKET) is wrong

Found a bug in R'n'D? Report it here!

Moderators: Flumminator, Zomis

Post Reply
ncrecc
Posts: 328
Joined: Thu Jul 12, 2018 12:59 am

4.4.2.0: animation for rocket collectible (BDX_ROCKET) is wrong

Post by ncrecc »

in the editor it looks like this (pardon the dithering, ffmpeg defaults for gif conversion are bad):
rocket1.gif
rocket1.gif (39.18 KiB) Viewed 39 times
ingame it looks like this:
rocket2.gif
rocket2.gif (30.08 KiB) Viewed 39 times
User avatar
Holger
Site Admin
Posts: 4439
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: 4.4.2.0: animation for rocket collectible (BDX_ROCKET) is wrong

Post by Holger »

Oops! Fixed! :)
User avatar
TheOnyxGuy
Posts: 682
Joined: Wed Oct 30, 2013 5:32 am
Location: Russia
Contact:

Re: 4.4.2.0: animation for rocket collectible (BDX_ROCKET) is wrong

Post by TheOnyxGuy »

Yeah, just a little oopsie where Holger just forgot to remove the .vertical line which is usually used by directional rocket sprites, happens to all of us at least once :D

Code: Select all

  { "bdx_rocket",					"RocksBD.png"			},
  { "bdx_rocket.xpos",					"4"				},
  { "bdx_rocket.ypos",					"14"				},
  { "bdx_rocket.frames",				"8"				},
  { "bdx_rocket.delay",					"4"				},
  { "bdx_rocket.vertical",				"true"				}
EDIT: one more thing though, it seems the rocket, rocket launcher, bomb and pneumatic hammer animation loops are still somewhat... not properly looped? It unfortunately only loops through four frames until resetting to the first one again.
Previously known as Eizzoux (boooo)
User avatar
Holger
Site Admin
Posts: 4439
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: 4.4.2.0: animation for rocket collectible (BDX_ROCKET) is wrong

Post by Holger »

EDIT: one more thing though, it seems the rocket, rocket launcher, bomb and pneumatic hammer animation loops are still somewhat... not properly looped? It unfortunately only loops through four frames until resetting to the first one again.
Yep, also just noticed this when fixing the ".vertical" bug -- changing the ".delay" to "2" (instead of "4") somehow fixes this, but animations are a bit too fast then. So the real solution would be to add support for longer animations for the BD graphics engine, which I wanted to do anyway.
User avatar
TheOnyxGuy
Posts: 682
Joined: Wed Oct 30, 2013 5:32 am
Location: Russia
Contact:

Re: 4.4.2.0: animation for rocket collectible (BDX_ROCKET) is wrong

Post by TheOnyxGuy »

Doesn't global_sync or global_anim_sync bypass that behavior, by the way? I think it would somewhat make sense if all of these pickups had the sparkling animation globally synced up together. Well, at least it makes sense to me.
Previously known as Eizzoux (boooo)
User avatar
Holger
Site Admin
Posts: 4439
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: 4.4.2.0: animation for rocket collectible (BDX_ROCKET) is wrong

Post by Holger »

Definitely yes -- but this currently does not work for the BD engine, unfortunately, which does not support all those custom graphics settings that work in the main engine.

However, adding at least the ".global_sync" option shouldn't be too hard, and having that sparkling animation not only working properly, but also in sync, would definitely make sense here.
Post Reply