1 Feb 2009 12:32
Re: an idea about slice motion
Ralph Versteegen <teeemcee <at> gmail.com>
2009-02-01 11:32:31 GMT
2009-02-01 11:32:31 GMT
2009/1/24 James Paige <Bob <at> hamsterrepublic.com>: > I had a though about moving slices. > > It would be pretty easy for me to add members to Slices like ->Xspeed > ->Yspeed ->Xgo ->Ygo > > Then I could add an AnimateSliceTree sub which would be called on the > tree once a cycle. If there was a non-zero "go" value, it would move the > slice according to speed, and then decrement go towards zero. > > This means there could be commands like: > > # move a sprite 1 pixel down over each of 5 ticks > move slice y(handle, 1, 5) > wait for slice(handle) > > Does anybody else like this idea? Yes me too, but I think move slice y (handle, distance, speed) is cleaner. > > The thing that gave me the idea was that I was thinking about > retrofitting the battle system to use slices for animations now, so when > we add battlescripting it will be easy to hook into animations. > > --- > James Paige > _______________________________________________(Continue reading)
RSS Feed