Jump to content

debugging canvas2d -syntax?


webGLmmk
 Share

Recommended Posts

http://www.babylonjs-playground.com/#IVDDJI

So this first function going on creates a set of button  controls with canvas 2d..the scene should be creating a bunch of randomly generated sphere's in quasi space scene. It was working and I hadn't changed anything..I've been out of this for a while. Anyway so it won't render, and the browser points me to line 13 ( in the playground version as well). My debugging synapses aren't working well right now as I'm trying to get back in gear.

buttonControls2.js:13 Uncaught TypeError: Cannot read property 'CACHESTRATEGY_DONTCACHE' of undefined

Playground says

expected expression, got '}'

 

Nothing is popping out at me right now...it looks right.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...