Coffeehouse Post

Single Post Permalink

View Thread: Getting images created in a Canvas context to respond to an event
  • User profile image

    If you create a game that uses a game loop, then you're not going to responding to events on individual elements on the screen. You would simply calculate movements of the player/enemies, determine collisions, and then refresh the screen by redrawing everything. That's when you would use a canvas.