The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[How to] New animations and effects (like spells anims)
Author Message
Crusader
Master
**

Posts: 254
Likes Given: 7
Likes Received: 19 in 12 posts
Joined: Apr 2012
Reputation: 6

Erehwon New Hera

Post: #1
[How to] New animations and effects (like spells anims)
Animdata:
1. add all the frames into art.mul.
Ensure that none of the consecutive frames is more than 63 indexes away from the first one (animdata.mul can only span that wide)

2. add the flag "animation" to at least the first frame in tiledata.mul (if you don't set this to the consecutive frames, the anim will only play if you create the first one, while creating all other ones will not animate them.

3. in animdata.mul, go to the first frame. Add the number of total frames there,
along with the start delay and the frame speed.
Below the number of frames enter the (art.mul) IDs of each consecutive frame.
You as well may build loops, extra delays (just add one frame more than once), etc.

4. If you want to let your anim play from whatever frame you create (unnecessary for spell anims), repeat steps 2) and 3) for each frame tile.


(this is not mine, it was to answer a question done by me years ago ^^')
(This post was last modified: 05-02-2012 10:35 PM by Crusader.)
04-30-2012 10:32 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
[How to] New animations and effects (like spells anims) - Crusader - 04-30-2012 10:32 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)