Animations - Printable Version +- Save-Point (https://www.save-point.org) +-- Forum: Material Development (https://www.save-point.org/forum-8.html) +--- Forum: Scripts Database (https://www.save-point.org/forum-39.html) +---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html) +---- Thread: Animations (/thread-2838.html) |
Animations - Trickster - 03-01-2008 Animations
Version: 2.0 Introduction This is a fairly simple script that allows you to display an animation at any (x,y) instead of at an event or the player. This means no more blank events just to be used for the show animation event command. If used correctly you can have a smoke effect to chimneys, etc. You may also choose to have the animation loop a certain amount of times or infinite. This Script can be easily implemented into a scene so you can have animations playing in that scene. You may also choose to disable the sounds with the animation. This also allows you to show an animation at an event or the player and specify x and y offset from their coordinate. Screenshots Yeah go to the Animations tab in the database and look at the animations there, play them a few times. There is your screenshot. Script Families?, what Families?, because I'm not saving them so you might as well say goodbye to them Demo Download Here Instructions Calling: Code: $animations.push(Animation.new(type,x,y,id[,loop,sound,viewport])) anything within the [] is optional type is the type of animation use either 1,2,3 or 'screen','tile','map' 1 or 'screen' follows the player it stays on the screen 2 or 'tile' stays at a particular tile (x,y) 3 or 'map' stays at a particular position (x,y) on the map 4 or 'player' follows the player (x,y) defines the offset 5 or 'event' follows an event (use x parameter for id and [x,y] for offset) id is the animation id to play Optional loop is the number of times to play the animation. Set this to nil an the animation plays forever, otherwise the default value is 1 sound set to true and you will hear the animation's sounds Set this to false and the sounds will not play, otherwise the default value is true viewport is the animations viewport the default is the whole screen If you want animations in your scene just add this to the update method (Note: You can only use type 1 or 'screen' when in a Scene other than Scene_Map) FAQ Note: Permission granted by Trickster to post: Quote:And if you post what you have now of my stuff then you don't have the latest versions. I'm too lazy/busy to post stuff.As this is his material, it is deletable upon his request. Due to his current absense, no support is available. Please do not PM or eMail him for support. Compatability Should be compatible with any script. Credits and Thanks DarkZero for mentioning the problem of displaying animations at a specific point. Twilight for providing the latest version that I lost :) Terms and Conditions Hey, I posted this publicly. You can use it. What do you expect? But if you do use it, I do expect you to spell my name correctly in your game. And yes you can use it in commercial games too. Animations - berat318 - 05-06-2010 Please Link Refresh Animations - DerVVulfman - 05-09-2010 Link repaired Animations - berat318 - 05-11-2010 Thank you very RE: Animations - Lupinos - 01-15-2012 This may coming handy for my battle system. :D |