xobust / Project-Broban

ProjInda15 project
5 stars 2 forks source link

Feature/sprite sheet #69

Open xobust opened 8 years ago

xobust commented 8 years ago

This pull request adds the ability to load and draw from texture atlases to our TextureManager. This is nice if we want animation in the future.

willwull commented 8 years ago

Well, we don't currently have anything that needs this, so is there some easy/fast way to tell if this code works?

xobust commented 8 years ago

Well you could just create a spritesheet and try

willwull commented 8 years ago

Hmm I'm not sure if I'm doing it wrong, but I can't get this to work. Here's what I've done:

But it doesn't draw anything :(