CSC510-2015-Axitron / maze

Main repo for maze game
0 stars 2 forks source link

Animated Knight #33

Closed ktspence closed 9 years ago

ktspence commented 9 years ago

Replace the static sprite used for the player with an animated character with multiple walking frames, and different facing directions.

macluo commented 9 years ago

Anyone likes to create animated knight may add your implementation after line 304 in mazeRender.js.

// Knight animation code can go here!
// Allow Async so no blocking!
AMaze.render.FPS_handler = setInterval(function(){

  var that = AMaze.render;
  ++that.FPScounter;

  if (that.FPScounter <= that.framePerStep) {

       bgCtx = that.bgCanvas.getContext('2d');
meneal commented 9 years ago

I'm not so sure we really have time to do this at this point, and given the size of the knight and the sort of throwback game we have anyway, this might not be worth it. It was my idea, but now I'm just not so sure. Let me know if you have an opinion and we can close it out if we don't want it.

duh102 commented 9 years ago

Yeah I think we should just mark it as won'tfix, I'll go do that.