Users browsing this thread: 1 Guest(s)
Request: Faster Quadra Slam/Quadra Slice

#3
Posts: 179
Threads: 3
Thanks Received: 24
Thanks Given: 4
Joined: Apr 2015
Reputation: 18
Status
None
At D0/73A2, the animation speed is actually stored in the high nibble of the first byte. So you would want to change it to $10 or $20 to change the animation speed. That sets the framerate for the entire animation. However, I think this value actually determines the number of screen frames (at 60Hz) per animation frame, so $00 would be the fastest animation speed - increasing it would actually make the animation run slower. Test it out though. I could be wrong.

Whenever you see [$05] or any other number in brackets in the script, that's when the animation actually stops to show a frame. You'll notice that many of the frames are duplicated a bunch of times in a row (D0/73DE through D0/73E1 for example, which shows animation frame 5 for four frames in a row). You could speed up the animation by deleting a couple of those values. But be careful because the pointers in the command at D0/73A4 are absolute pointers, so you would need to update them as well, and add some padding to the end of the script to keep the total length the same. Alternatively, you could try to replace a few of the [$05] commands with something equivalent to a NOP instruction in asm code. There aren't any animation commands designed for this, but you could try C3, DC, or maybe something like C4 00. The full list of commands is available on the wiki.
  Find
Quote  
[-] The following 2 users say Thank You to Everything for this post:
  • dtgenji (09-28-2018), madsiur (09-28-2018)



Messages In This Thread
RE: Request: Faster Quadra Slam/Quadra Slice - by Everything - 09-28-2018, 12:36 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite