Diagonal Player

● ARCHIVED · READ-ONLY
Started by Gyldstrand 6 posts View original ↗
  1. Diagonal Player

    by Gyldstrand

    Introduction
    This is a work in progress. Plan to overhaul the sprite behaviors of the player, followers and events and have some of their features separated and controlled.

    Features
    - Diagonal Movement (uses MBS_dir8.js)

    - Multi frame support (based on MoreCharacterFrames by Shaz)
    - Parameters to set which row of your image corresponds to which direction
    - Parameters to tweak the pattern behaviors

    - 2 control options (DOES NOT support click to move yet)

    - Events can use most of the move routes with diagonal support

    - Followers now follow with diagonal support... I think

    - Added script calls:  

    o   $whoever.setDistancePerFrame(number);

    o   $whoever.setAnimationWait(number);

    o   $whoever.setAnimationCount(dash, walk);

    - Added 3 equipment sprites:

    o   Chest sprite

    o   Shield sprite

    o   Weapon sprite

    - Can change horizontal index and pattern length for long sheets with different animations

    o   $gamePlayer.changeIndex(BlockX, MaxPattern)

    How to Use

    Help description will tell you how to set up the file names. The diagonal character sheets must have 8 rows.

    Plugin
     

    https://www.dropbox.com/s/hqc2bfjxt7roiqm/DiagonalPlayer.js?dl=0



    Credit and Thanks
    - Shaz

    - MBS_dir8.js

    Author's Notes
    Just started with Javascript.  I will be updating this as I learn and it probably is already broken for many people but let me know what goes wrong and I will learn how to fix it.
  2. Hi, can you please check the pinned threads (especially the template) and redo your post to provide the necessary information?


    I know what your script does, because I was involved in that conversation. But the title of your thread and your two-line explanation does not actually explain what it does.
  3. Don't embarrass me on my debut man.
  4. It's what I do :)
  5. Added stuff.
  6. link gives a 404 error, please fix it :)