The image registration point

On at JavaScript canvas the registration point is the top left corner. So in hit detection you have to calculate the x-position, the image width and height. In layout you should be able to figure out where to plage the images, and illustrations. Y = “up / down” X = “left / right” ( I… Continue reading The image registration point

HTML Kickstart og PHP

HTML Kickstart (http://99lime.com) giver et framework til hurtig udvikling af html. Siderne kan konverteres til .php sådan: Gem din fil som minfil.php Herefter kan kode genbruges ved includes. Det kan være en god ide at lave en skitse over din side, således at du får en ide om, hvad du vil udvikle. Husk at en… Continue reading HTML Kickstart og PHP