Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 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
   Breath Effect LiTTleDRAgo 0 3,817 05-15-2017, 09:05 AM
Last Post: LiTTleDRAgo
   ATOA Status Effect Pops DerVVulfman 6 11,090 01-29-2016, 06:30 AM
Last Post: Lightness
   Text Sound Effect (SE) v1.1 Zerbu 3 7,394 11-01-2015, 03:53 PM
Last Post: DerVVulfman
   Victor Engine - Custom Slip Effect Victor Sant 0 4,578 08-03-2012, 12:44 AM
Last Post: Victor Sant
   Modify Battler Collapse Effect PK8 2 10,124 04-03-2012, 03:04 AM
Last Post: PK8



Users browsing this thread: