130 reputation
9
bio website
location
age
visits member for 1 year, 10 months
seen 2 hours ago

Sep
10
awarded  Popular Question
Apr
8
comment How do I use createPattern with a spritesheet?
Please see this question on the main StackOverflow: stackoverflow.com/questions/21084169/…
Mar
20
comment Maintaining relative location of objects across different screen resolutions
The same place relative to what? The left/top edge of the screen?
Jan
27
awarded  Teacher
Jan
27
revised Why does my HTML5 game loop (with masking) run slowly?
included example
Jan
27
answered Why does my HTML5 game loop (with masking) run slowly?
Sep
4
comment 3D isometric depth sorting
did you ever find an answer to the above?
Sep
4
comment How should I provide a navigation system for a world with infinite space?
For the purposes of my game, it is infinite (the time taken to move from one tile to another, along with the maximum amount of tiles makes it impossible to get close to the edge within a thousand years or something crazy like that). Thanks for your input though.
Sep
4
accepted How should I provide a navigation system for a world with infinite space?
Sep
4
comment How should I provide a navigation system for a world with infinite space?
I like this idea, thanks for the input.
Sep
4
comment How should I provide a navigation system for a world with infinite space?
As I say above, to be able to navigate to buildings on the map (or points of interest) or to other users (obviously some sort of location sharing would be necessary there).
Sep
2
asked How should I provide a navigation system for a world with infinite space?
Aug
30
awarded  Scholar
Aug
30
comment Colouring greyscale images/sprites for HTML canvas
To get the perfect results, I had to photoshop the greyscale sprites to reduce the brightness and then applied the overlay blend technique from the article above. Thanks!
Aug
30
accepted Colouring greyscale images/sprites for HTML canvas
Aug
30
comment Colouring greyscale images/sprites for HTML canvas
Your method also requires the recolouring source to have shadow information (as you mention above), so apart from having an image with each colour we want to blend with the greyscale (which would be counterproductive to this question), I'm not sure the two colour models above can help. I'd be interested to hear more about mixing multiplication and blending techniques to provide a solution though. Thanks again!
Aug
30
comment Colouring greyscale images/sprites for HTML canvas
to have different shades of skin colour, we'll need the ability to change brightness (or darkness), so don't think these methods could work, but thanks for the information
Aug
29
awarded  Commentator
Aug
29
comment Colouring greyscale images/sprites for HTML canvas
That's replacing colour programatically, my question is about colouring greyscale images, thanks for the information though. I did mess about with changing HSL values before, but got nowhere, which is why I asked this question.
Aug
29
comment Colouring greyscale images/sprites for HTML canvas
that's an example added, thanks for your help.