XP Wave Effect
#4
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.
Reply


Messages In This Thread
XP Wave Effect - by zecomeia - 04-03-2010, 12:14 AM
XP Wave Effect - by PK8 - 04-03-2010, 12:15 AM
XP Wave Effect - by zecomeia - 04-03-2010, 02:30 PM
XP Wave Effect - by EJlol - 04-04-2010, 12:35 PM
XP Wave Effect - by Ace - 04-04-2010, 02:09 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Smooth Picture Movement + Earthquake Effect KJ21 3 254 04-08-2025, 09:07 PM
Last Post: KJ21
   Breath Effect LiTTleDRAgo 0 4,654 05-15-2017, 09:05 AM
Last Post: LiTTleDRAgo
   ATOA Status Effect Pops DerVVulfman 6 13,414 01-29-2016, 06:30 AM
Last Post: Lightness
   Modify Battler Collapse Effect PK8 2 11,865 04-03-2012, 03:04 AM
Last Post: PK8



Users browsing this thread: 2 Guest(s)