Tag Info

New answers tagged


If you'd like your game board to appear sharp, with lines of 1px width, at different resolutions, then you may be better off drawing your game board in the SVG vector format, using a tool like Inkscape or Illustrator. SVG files do have a nominal pixel resolution, as defined by the viewBox attribute of the SVG tag. This makes calculation of the positions of ...


These are entirely design considerations and there's many ways to go about this. For starters: Instead of strict damage, give it a range. ie. the bat doesn't do "10 damage", instead make it do 8-12 and randomize it between those values. Give the enemy a chance to dodge or the player a chance to miss based upon some small percentage. This must be reflected ...

Top 50 recent answers are included