Experimental Greenworks plugin

Discussion and feedback on Construct 2

Post » Mon Oct 19, 2015 10:52 pm

pending the Ashley's reply, the plugin is finished (if Ashley reply yes it's already done) and have the following basics features:
- support NW12.0
- support steam SDK 134
- works on win32
- works on win64
- the black screen issue is solved
- condition "steam is available" works
- "active achievement" action works

currently working on advanced version with the follwings features:

- added condition trigger "onclearachievementsuccess" -> DONE
- added condition trigger "onclearachievementerror" -> DONE
- added action "clearAchievement" -> DONE
- added condition "isCloudenabled" -> DONE
- change condition "issteamoverlayavailable" -> DONE
- added condition "isCloudforUserenabled" -> DONE

todo: add "getNumberOfAchievements" expression
Image Image
B
22
S
13
G
135
Posts: 871
Reputation: 70,320

Post » Mon Oct 19, 2015 10:59 pm

@MadSpy
Excellent work!

Does it work on NW beyond 12.0 or are we still stuck with NW version specific?
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Mon Oct 19, 2015 11:02 pm

@MadSpy Very nice features you just added, thank you for that.
While new features are in the focus I would like to suggest something that the plugin should have also implemented.
The feature is called: "Fetch Users Profile Picture".

So this is my plan how it should work:
1. An expression called "Fetch Users Profile Picture" that returns the link of the users profile picture.
2. Simply use the "Apply image by link" on any sprite and you are good to go.

I think this feature is quite common on a lot of other engine plugins/compontents/api's etc. , so why not on C2's Steam Plugin?
Feel free to reply with any issues or feedback about my idea.
Last edited by TheRealDannyyy on Mon Oct 19, 2015 11:30 pm, edited 1 time in total.
ImageImageImage
B
61
S
22
G
78
Posts: 646
Reputation: 44,755

Post » Mon Oct 19, 2015 11:23 pm

@Silverforce thank you
the plugin could work on NW12.1 but I didn't test for the moment

@TheRealDannyyy thank you
the plugin is based on greenworks by Greenheartgames and on the current adaptation for C2 by Ashley
atm greenworks doesn't support this feature that's why experimental greenworks by ashley and mine don't support this feature too
perhaps in next version of greenworks

Please keep in mind that until Ashley grants me the permission or contact me I can't post these 2 versions.
Image Image
B
22
S
13
G
135
Posts: 871
Reputation: 70,320

Post » Tue Oct 20, 2015 7:28 am

MadSpy wrote:pending the Ashley's reply, the plugin is finished (if Ashley reply yes it's already done) and have the following basics features:
- support NW12.0
- support steam SDK 134
- works on win32
- works on win64
- the black screen issue is solved
- condition "steam is available" works
- "active achievement" action works

currently working on advanced version with the follwings features:

- added condition trigger "onclearachievementsuccess" -> DONE
- added condition trigger "onclearachievementerror" -> DONE
- added action "clearAchievement" -> DONE
- added condition "isCloudenabled" -> DONE
- change condition "issteamoverlayavailable" -> DONE
- added condition "isCloudforUserenabled" -> DONE

todo: add "getNumberOfAchievements" expression

Awesome, thank you. I hope you get the permission to upload it.
B
135
S
33
G
17
Posts: 1,557
Reputation: 20,717

Post » Tue Oct 20, 2015 11:24 pm

@MadSpy Amazing work, thank you.

But the problem, as I understand it, is that NW12 still suffers from a V-sync bug. @Ashely mentioned earlier in this thread:

The latest non-alpha version is based on a version of Chromium with a pretty bad v-sync bug


So though we could use NW12 with @MadSpy 's plugin update, won't we just run into the v-sync / jank issues until a version of NW is released based on a version of Chromium that has fixed the problems?

If the official Steam plug-in is updated now, won't we still be in a position of not having a good Steam solution and needing another update once we have a bug free version of NW.js available? or does NW12 not have this problem?

I'd be interested to know what version of Chromium fixed the v-sync issues? NW.js 12.3 is based on Chromium 41.0.2272.76
B
33
S
8
G
1
Posts: 39
Reputation: 2,297

Post » Tue Oct 20, 2015 11:29 pm

@StaticCloud I had real problems with v-sync and jank issues with my game on steam when it was exported with NW11.5 but now it runs really smooth on all test computers using NW12 + the modified test greenworks plugin by MadSpy.

No jank issues at all. Runs like it should and achievements are being activated by users now :) None of my beta testers have had any issues with performance and there are many beta testers atm.

Wasn't the jank issues fixed with chromium 41 which NW12 is based of? I Might be wrong though.
Last edited by Anonnymitet on Tue Oct 20, 2015 11:35 pm, edited 2 times in total.
B
54
S
23
G
12
Posts: 747
Reputation: 11,910

Post » Tue Oct 20, 2015 11:33 pm

@Anonnymitet

That's fantastic news!
B
33
S
8
G
1
Posts: 39
Reputation: 2,297

Post » Tue Oct 20, 2015 11:59 pm

@StaticCloud
Thanks for your kind word
But the problem, as I understand it, is that NW12 still suffers from a V-sync bug.

It seems it concerns NW11+ based on chromium 38+ ; so I can investigate deeper on this but I don't have any jank or v-sync bugs with NW12 (chromium 41+) with small and middle range projects.
Image Image
B
22
S
13
G
135
Posts: 871
Reputation: 70,320

Post » Wed Oct 21, 2015 1:03 am

Chromium 43 is where it is fixed.
B
43
S
19
G
65
Posts: 1,104
Reputation: 37,945

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 13 guests