Problem with Node-Webkit

Discussion and feedback on Construct 2

Post » Wed Dec 17, 2014 1:10 pm

Hi guys
I'm having two backgrounds, grass and ground, and 1 sprite, which i use for masking between them.
It looks great when I run the layout in Chrome. But when I export it to Node-Webkit I got this problem

Image

What is more bizarre is when I do the same setup in a new Construct2 project this problem do not exist. I've compared the 2 projects but there seems to be no difference.

Here is a link to the problem capx

https://dl.dropboxusercontent.com/u/19082408/Roads.capx

Any help is apreciated
B
12
S
3
G
1
Posts: 120
Reputation: 1,829

Post » Wed Dec 17, 2014 5:47 pm

Looks good here. Maybe it's a problem with your graphics card
Couldn't you just make those two images a single image in an image editor?
B
83
S
22
G
15
Posts: 1,039
Reputation: 15,219

Post » Wed Dec 17, 2014 5:50 pm

Looks ok to me. Tested in Node-webkit and Firefox.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630

Post » Wed Dec 17, 2014 10:46 pm

Weird, I've never seen anything like that before. Are your graphics drivers up to date? What GPU do you have?
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,679

Post » Thu Dec 18, 2014 12:36 am

Well, the same problem happens at my home and at my work PCs. Both are with up to date video drivers.

It only happens when exporting the project to Node-Webkit, not just previewing it.

Not sure at work, but here at home i got NVidia GTX 560.

Sometimes the ground texture is not stretched, but just looks very low rez, nothing like how it looks at Chrome.

Can anyone confirm that Exporting to Node-Webkit gives that bug?

Btw @7Soul I made it like this because of texture resolution. I got 2 tilable backgrounds and low rez mask, so i got better resolution for lower texture size.
B
12
S
3
G
1
Posts: 120
Reputation: 1,829

Post » Thu Dec 18, 2014 10:00 am

What version of node ?
B
47
S
16
G
9
Posts: 1,097
Reputation: 11,180

Post » Thu Dec 18, 2014 11:16 am

I updated to Construct version 192 and for Node-Webkit export it wanned to install newer Node-Webkit. I believe node version is 0.11 for Construct 2.

With 187 build of Construct and the previous Node i got similar results.

Here is a link to what i got when exporting to Node (its 20mb file)

https://dl.dropboxusercontent.com/u/19082408/win32.rar
B
12
S
3
G
1
Posts: 120
Reputation: 1,829

Post » Thu Dec 18, 2014 11:58 am

Just out of interest do you have the same issue if you preview in node ?

I have tried your capx both previewed in chrome & node and also exported in node and i dont see your issue.
B
47
S
16
G
9
Posts: 1,097
Reputation: 11,180

Post » Thu Dec 18, 2014 1:25 pm

Check your graphics drivers are up to date. Node-webkit forces the GPU to be used (since by default it blacklists all XP and Vista systems), but this means the game is more susceptible to driver bugs.
Scirra Founder
B
387
S
230
G
87
Posts: 24,248
Reputation: 192,238

Post » Thu Dec 18, 2014 1:49 pm

@spongehammer Previewing in both Node and Chrome it looks allright, but when exporting to Node, and apparently as i just tried exporting to HTML5 Website, it looks broken. It doesn't look stretched as the screenshots at the first post but super low rez and kinda bugged.
Here is what i got exporting to HTML5

https://dl.dropboxusercontent.com/u/190 ... index.html

Do you guys see this normally?

And Ashley yes, my video drivers are up to date, 18.11.2014.
B
12
S
3
G
1
Posts: 120
Reputation: 1,829

Next

Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests