SirTuffy

Members
  • Content Count

    5
  • Joined

  • Last visited

  1. SirTuffy

    TypeError

    Thank you for your help!
  2. SirTuffy

    TypeError

    Thank you I am pretty sure the errors are just coming from my assets not the code.
  3. SirTuffy

    TypeError

    Just wondering if anyone could help I am still stuck without finding a solution to the problem.
  4. SirTuffy

    TypeError

    Yes I was trying to see if that was where the problem was starting but i just forgot to take it out of "//" in the pastebin. newlevelone.json
  5. SirTuffy

    TypeError

    Hello, I am pretty new to Phaser and also to JavaScript and while coding a game I keep on getting this error " TypeError: Argument 1 of CanvasRenderingContext2D.drawImage could not be converted to any of: HTMLImageElement, HTMLCanvasElement, HTMLVideoElement, ImageBitmap." I have been stuck on it for a day or so and I would like to see if someone could help me find where the problem is. I have been following a few tutorials i find on the web on how to work with Phaser and js here is a pastebin of the code. http://pastebin.com/2CScJnH6