[Javascript/PHP] Can't draw image in my canvas game

Dette projekt modtog 10 bud fra dygtige freelancere med et gennemsnitligt bud på £25 GBP.

Få gratis pristilbud for et projekt som dette
£10 - £20 GBP
Bud i alt

1.1 Project Description:

I have created a HTML5 canvas web browser game. The client and server are written in Javascript (server is run by [url removed, login to view]).

1.2 Problems and Issues:

I am trying to implement skins (client-side) in-game. A skin is basically a picture or a image (.png format). When a player selects a skin, the image gets drawed on his cell.

Here is the issue: I can get it to apply the image, but it does that for every cell in-game, including other players. It's only supposed to apply the image for your own cell.

1.3 Pictures

Here is a picture of a cell without skin: [url removed, login to view]

Here is a picture of a cell with a skin: [url removed, login to view]

Ønsker du at tjene nogle penge?

  • Fastsæt dit budget og din tidsramme
  • Beskriv dit forslag
  • Bliv betalt for dit arbejde

Ansæt Freelancere, der også bød på dette projekt

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online