All posts for the month April, 2015

In reference to what I use for game development please see my FAQ page.

I have been looking at easing functions to enhance game play.  One useful method I have used such a function for is acceleration on flight path.   I used  a slow acceleration function to slow the start of a missile when being launched.  It has a better feel to the game when there is a slow acceleration.

A normal movement by linear speed accomplishes the goal of getting the object to its destination, but a more meaningful visual is to perform a slow accelerate.  Using an easing function can accomplish this.  Granted acceleration can be accomplished over time in a game by adding speed for every game step event.  This is another method.

Create Event

stepcount = 0;

Step event

speed=QUAD_EaseIn(stepcount, 0, max_speed, 1)

Script (“QUAD_EaseIn”)

t = argument0/room_speed //step #
b = argument1 //beginning
c = argument2 //change
d = argument3 / room_speed //duration seconds

return c*(t/d)*t*t*t + b;

Hear is the updated result which IMO has a better feel.

Good luck.


Well, here I go.  I have been spending too many years tinkering around with code and have finally decide I should do something about it.  I have realized, I am just to excited about all the ideas in my head.

Every time I bring up a new idea to my son, he tells me I didn’t finish the last one.  In reality, I thought of an idea but just sat around and did nothing to pursue the idea.  This year I have committed to getting things done.  This will be my story about doing it.  I hope you stay along for the ride.