viewLeft undefined [r160]

Bugs will be moved here once resolved.

Post » Mon Feb 03, 2014 7:20 pm

Projects with webgl effects that worked before updating now show this when I try them: "Uncaught ReferenceError: viewLeft is not defined" in layout.js line 1663

This happens only when using a shader not made by Scirra but Brad Larson, Evan Wallace or myself for example (the stretch or swirl effect for instance or any custom made shader)

UPDATE: It would appear that changing <extend-box-horizontal>0</extend-box-horizontal>   to any value other than 0 and restarting construct 2 solves this problem. So my guess is when checking the for the vec2 origin, origin.x is set to null instead of 0

Browsers affected:
Chrome: yes
Firefox: yes
Internet Explorer: yes

Operating system & service pack: windows 7 64x

Construct 2 version: r160
    Kaisirak2014-02-03 19:38:55
B
6
S
1
G
1
Posts: 39
Reputation: 1,153

Post » Mon Feb 03, 2014 7:27 pm

+1 on this, and I have no additional plugins.
B
38
S
12
G
1
Posts: 526
Reputation: 4,085

Post » Mon Feb 03, 2014 7:48 pm

Please submit a .capx as per the guidelines.
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,454

Post » Mon Feb 03, 2014 8:13 pm

here you go: http://www.mediafire.com/download/fqkeh8kk1c18hw9/my.capx
B
6
S
1
G
1
Posts: 39
Reputation: 1,153

Post » Mon Feb 03, 2014 8:20 pm

@Kaisirak Thanks for the capx!

Same here, and I can't start the game anymore. I was making a capx when I saw your post :)
Image | @AurelRegard on twitter
B
19
S
6
G
1
Posts: 307
Reputation: 2,500

Post » Mon Feb 03, 2014 9:04 pm

i have the same problem without using any external plugin.
i disabled the visual fx and it worked, but i want to use the fx...
B
16
S
3
G
1
Posts: 85
Reputation: 2,260

Post » Mon Feb 03, 2014 10:41 pm

I have the same problem occurring on both my Windows 7 (64-Bit) Desktop and my Windows 8.1 (64-Bit) Laptop. It effects all three web browsers specified.

EDIT: It also effects Node-Webkit on my desktop.gamepopper2014-02-03 22:43:17
B
24
S
5
G
1
Posts: 89
Reputation: 3,015

Post » Tue Feb 04, 2014 5:08 am

Same problem - this error:

Javascript error!Uncaught ReferenceError: viewLeft is not definedhttp://localhost:50000/layout.js, line 1714 (col 13)This is either a bug in Construct 2 or a problem in a third party plugin or behavior - please report it to the developer!
B
44
S
9
G
2
Posts: 141
Reputation: 4,172

Post » Tue Feb 04, 2014 6:11 am

Confirmed - any webgl effects makes the error come up on my game (I'd submit a capx, but its well over 150 mb :))
B
38
S
12
G
1
Posts: 526
Reputation: 4,085

Post » Tue Feb 04, 2014 8:17 am

same using the glow effect
B
47
S
16
G
9
Posts: 1,097
Reputation: 11,180

Next

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 4 guests