Users browsing this thread: 1 Guest(s)
Harp Weapon Tutorial

#25
Posts: 35
Threads: 2
Thanks Received: 0
Thanks Given: 0
Joined: Apr 2018
Reputation: 2
Status
Afterglow
(06-28-2020, 05:50 PM)Everything Wrote: The "$" prefix just means that the number is in hexadecimal. That's the symbol that assembly language compilers usually use, but it's the same as the prefix "0x" or the suffix "h" (i.e. $3F, 0x3F, and 3Fh all mean 63 in decimal). They're just different conventions.

If you need the animation to pause for a fraction of a second, you can insert an empty loop. I think the best place to do this will probably be either before or after "play default sound effect" command at D0/063B. An empty loop consists of four bytes, 89 xx 1F 8A, where xx is the number of frames to wait. There is an example of this in the GP Rain script at D0/65DB. There's another way to add a pre-animation delay, but it's a little more complicated so try this first. You also might need to change 1F to 0F.

I think the flickering might be coming from the command "increment frame offset every 4 loops (0..2)". Try changing the third byte from 02 to 01 (at D0/0641). That's kind of a sloppy way to fix it but it might work.

Ohhh, I see.  It's definitely a language that takes getting used to.  Thank you for helping me understand it.

I made the adjustment you suggested and the flickering has ceased.  Victory

As for the animation,  I can see the animation loop working, between attacks (when using the Offering) However it's the first attack that doesn't seem to be doing anything.  What happens is the animation starts behind the character as he is moving forward.  (Probably because it is trying to catch up to the faster moving character.)  Only when he is standing in place during the 2nd/3rd/4th attacks (with the offering) that the animation is loaded in the right place.  I tried editing the 2nd byte at D065D4 from 20 to C0 and then to 00, to maybe change the alignment and neither did anything.  I also tried to speed up the note to maybe catch up to the faster moving character, but I guess speed 1 is the fastest setting and the other speeds make the lag behind even more apparent.

Would you know how to fix this and get the note to load closer to the player during this step forward?
[Image: note-far-behind.png]
  Find
Quote  



Messages In This Thread
Harp Weapon Tutorial - by Mutteo - 06-18-2020, 12:05 AM
RE: Harp Weapon - by Gi Nattak - 06-18-2020, 01:55 AM
RE: Harp Weapon - by Mutteo - 06-18-2020, 11:00 AM
RE: Harp Weapon - by PowerPanda - 06-18-2020, 09:34 AM
RE: Harp Weapon - by Morendo - 06-19-2020, 02:48 AM
RE: Harp Weapon - by Mutteo - 06-19-2020, 11:07 AM
RE: Harp Weapon - by C-Dude - 06-19-2020, 09:20 PM
RE: Harp Weapon - by Mutteo - 06-20-2020, 03:11 PM
RE: Harp Weapon - by C-Dude - 06-20-2020, 03:43 PM
RE: Harp Weapon - by Mutteo - 06-20-2020, 04:35 PM
RE: Harp Weapon - by C-Dude - 06-20-2020, 06:58 PM
RE: Harp Weapon - by SSJ Rick - 06-20-2020, 07:19 PM
RE: Harp Weapon - by Mutteo - 06-20-2020, 08:05 PM
RE: Harp Weapon - by SSJ Rick - 06-20-2020, 11:41 PM
RE: Harp Weapon - by Mutteo - 06-21-2020, 12:24 AM
RE: Harp Weapon - by SSJ Rick - 06-27-2020, 03:16 PM
RE: Harp Weapon - by Mutteo - 06-27-2020, 07:02 PM
RE: Harp Weapon - by Everything - 06-27-2020, 10:33 PM
RE: Harp Weapon - by Mutteo - 06-27-2020, 10:53 PM
RE: Harp Weapon - by SSJ Rick - 06-28-2020, 01:10 AM
RE: Harp Weapon - by Mutteo - 06-28-2020, 01:24 AM
RE: Harp Weapon - by Everything - 06-28-2020, 11:12 AM
RE: Harp Weapon - by Mutteo - 06-28-2020, 12:57 PM
RE: Harp Weapon - by Everything - 06-28-2020, 05:50 PM
RE: Harp Weapon - by Mutteo - 06-28-2020, 07:03 PM
RE: Harp Weapon - by Everything - 06-28-2020, 08:42 PM
RE: Harp Weapon - by Mutteo - 06-29-2020, 02:48 AM
RE: Harp Weapon - by Everything - 06-29-2020, 09:14 AM
RE: Harp Weapon - by Mutteo - 06-29-2020, 02:14 PM
RE: Harp Weapon Tutorial - by SSJ Rick - 07-03-2020, 01:53 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite