XP Wave Effect - 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: XP Wave Effect (/thread-394.html) |
XP Wave Effect - zecomeia - 04-03-2010 XP Wave Effect
por zecomeia Introduction Modifications in Sprite class to use the wave effect of RGSS2. Features * Muito fiel ao efeito do RMVX Screen Shot Download Demo Instructions * Paste the script up of main; * Use how on RGSS2, if don't know, search for RGSS reference manual in help file of RMVX. Script Code: #======================================== Credits and Thanks zecomeia Scripts RGSS, Resources, Tutorials and Translations by zecomeia is licensed under a Creative Commons Atribuição-Uso Não-Comercial-Compartilhamento pela mesma Licença 2.5 Brasil License. Permissions beyond the scope of this license may be available at Santuário RPG Maker XP Wave Effect - PK8 - 04-03-2010 Moving this to the scripts section. Edit: Haha, I like it! But I get a bit of lag using it. I was trying it out on the title sprite with wave_amp and wave_length set to 320. :P Still, this is pretty cool. :) XP Wave Effect - zecomeia - 04-03-2010 Quote:Moving this to the scripts section.Sorry, I was distracted when I posted the script. Thanks! The lag is a really problem, but I don't know how to decrease it and keep the normal operation. I am free for sugestions ^^ Bye XP Wave Effect - EJlol - 04-04-2010 only use radians instead of degrees. If you want the user to be able to use degrees, write a setter and a getter that converts it. Im not sure how optimized the cos() and sin() functions are in ruby. It might be faster if you calc the values of the cos() and sin() when the game starts, and cache it into a table, so that you don't have to calc it every frame update. XP Wave Effect - Ace - 04-04-2010 Nice! and doesn't lag very much for me, just a little bit. |