1 decade ago by Lazarus404
Hey guys,
So, I'm writing a game, which isn't fully entity / map based. The game is a little like a Bards Tale style setup, so there's a view port where I'll need to be blitting elements to screen in a given order, then as the player moves around, the view port will be re-blitted, potentially in a different order or with different elements.
Using ImpactJS, how would this best be achieved? I'm thinking using elements wouldn't be ideal. How would I go about simply outputting sprites to the view area in an update? Would it be better to write a custom component for this that works with the spritesheet functionality provided by ImpactJS?
Cheers,
Laz
So, I'm writing a game, which isn't fully entity / map based. The game is a little like a Bards Tale style setup, so there's a view port where I'll need to be blitting elements to screen in a given order, then as the player moves around, the view port will be re-blitted, potentially in a different order or with different elements.
Using ImpactJS, how would this best be achieved? I'm thinking using elements wouldn't be ideal. How would I go about simply outputting sprites to the view area in an update? Would it be better to write a custom component for this that works with the spritesheet functionality provided by ImpactJS?
Cheers,
Laz