Results 1 to 3 of 3

Thread: JavaScript - Tough Problem with clearing canvas

  1. #1
    Join Date
    Aug 2015

    JavaScript - Tough Problem with clearing canvas

    Hello, guys. I am Fellowzdoomer and I have joined to ask for assistance. I am trying to make a level editor using HTML and JavaScript. I have started yesterday, and my canvas works well. My problem is that when I click my new file button, the canvas does not clear. Now, I have out the ctx.fillCanvas(0, 0, 1024. 1024); and the fillStyle=white code in, and I even tried the clearCanvas. I know the code is running, I have a prompt that asks what map slot I want to place my map in and that shows up.

    Here is my js coding file for curious minds.


    Thank you all in advance!

  2. #2
    Join Date
    Mar 2012
    Hi and welcome to the site.

  3. #3
    Join Date
    Aug 2015
    Hello and thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center