31
General / Re: Better Solution for this? - MoveObject To Current Mouse Position
« on: June 24, 2012, 12:22:15 pm »
are you meant to have a single event for the entire window.. or lots of events all over the place? I have changed the code now that a reference to the window event is sent into all function and nothing seamed to change apart form there is no event in a loop anymore.
Um I am just fooling about with the moment class for my objects, this is the mouse movement part.. but I am also doing a free moving one , and I have see ncode that uses some kind of mathematics based on time to get a velocity.. but I am not sure I understand it
Um I am just fooling about with the moment class for my objects, this is the mouse movement part.. but I am also doing a free moving one , and I have see ncode that uses some kind of mathematics based on time to get a velocity.. but I am not sure I understand it