672 reputation
35
bio website kodesource.com
location Sault Ste Marie, Canada
age 44
visits member for 3 years, 4 months
seen Dec 18 at 20:31

Aug
3
awarded  Yearling
Apr
29
comment What are easing functions?
I lied. Technically, an easing function can accept only a time ratio (current time / duration) and return another value ratio between 0 and 1. You would then apply this value ratio manually to what you are easing. For example, consider a man jumping upwards (using a 'sine' ease). It should take 2 seconds to complete, so you loop for two seconds, getting the ease value each frame: "man.ypos = 10 + Ease(currentTime / 2.0) * 5". 10 is starting height, 5 is the jump height, 2.0 is the duration. Over 2 seconds, the man will rise up to 15, slow down, and descend back down to the y 10 position.
Apr
29
comment What are easing functions?
All easing functions (except maybe 'shake' style tweens) require a minimum of three parameters. Time (usually a ratio between 0 and 1), a start value, and an end value. Sometimes the time is split into two parameters such as current time, and ease duration. If start and end values have already been defined (depending on your easing system / library), you may only need to pass the time, but I'm not familiar of any myself. For example, if I wanted the value between 10 and 30 at 75% of the way (3 seconds into a 4 second ease), I need to pass the 10 and 30, and also the 75% (time/dur).
Mar
26
answered How do I lerp between values that loop (such as hue or rotation)?
Aug
3
awarded  Yearling
Sep
19
revised Best practice for designing a risk-style board game
added 230 characters in body
Sep
19
comment Best practice for designing a risk-style board game
Great resource! Ha, in my first answer I ever made, I wanted to make it a comment too, but didn't have the permissions yet. It even got a few votes!
Sep
19
revised Best practice for designing a risk-style board game
added 73 characters in body
Sep
19
revised Best practice for designing a risk-style board game
added 25 characters in body
Sep
19
revised Best practice for designing a risk-style board game
added 30 characters in body
Sep
19
answered Best practice for designing a risk-style board game
Aug
3
awarded  Yearling
May
31
comment What are the maths behind 'Raiden 2' purple laser?
Nope, nothing changed at GLBasic.com as far as I know. Glad it's working for you now though.
May
24
comment What are the maths behind 'Raiden 2' purple laser?
Weird. It still works for me. But here's the underlying link: glbasic.com/forum/index.php?topic=8118
May
22
answered What are the maths behind 'Raiden 2' purple laser?
Feb
19
awarded  Nice Answer
Feb
7
comment Starting my own development company
Great point. Read your contract! I'm programming for a steel manufacturer, so this was less of an issue, but I double checked to be sure. Consider this when looking for a day job, if you have the luxury to say 'no' to an offer!
Feb
7
revised Starting my own development company
Added final paragraph
Feb
7
revised Starting my own development company
Added final paragraph
Feb
7
answered Starting my own development company