Vector Flow Game Error
ZPercs

Hello, 

I'm new to this and was attempting to create the flow example under the tutorials tab, but it keeps giving me errors such as "wade.drawFunctions.grid_ is not available in webgl mode". Anybody know how I can fix this? I attached the app file.

1 Comment
Gio

Hi

Vector graphics are not supported in webgl mode.

I think the tutorial you're following is for an older version of Wade where the default render mode was 2d canvas - these days the default render mode is webgl.

A quick fix is to add this line at the top of your App.init() function:

wade.setLayerRenderMode(1, '2d');

 

Post a reply
Add Attachment
Submit Reply
Login to Reply