spilgames / glue

Glue is a JavaScript game engine for making web games that run on desktop and touch devices.
glue-engine.com
Other
10 stars 4 forks source link

Make the origin based on floating points #172

Open pixelscripter opened 10 years ago

pixelscripter commented 10 years ago

It should take the image dimensions and 0.5 means half of the dimension.

HernanZh commented 10 years ago

From experience in CJH: please take into consideration that both absolute and relative values for origin are useful.