[plugin] Steam+leaderboard +experimental lobby [WIP]

Post your work in progress addons and get feedback

Post » Tue Mar 29, 2016 7:36 am

Leaderboard is almost completed.
Time to work on lobby and DLC management.
Image Image
B
22
S
13
G
130
Posts: 869
Reputation: 67,816

Post » Tue Mar 29, 2016 9:43 am

MadSpy wrote:Leaderboard is almost completed.
Time to work on lobby and DLC management.


Keep this up, please! :D
I only occasionally visit - I'm learning C# for Unity, but c2 is still a respectable game engine imo....
B
73
S
19
G
66
Posts: 2,198
Reputation: 42,188

Post » Thu Mar 31, 2016 5:29 am

I just finished to add some observers for steam callback for lobby, I hope that a refresh rate every 100ms will be enought
Image Image
B
22
S
13
G
130
Posts: 869
Reputation: 67,816

Post » Thu Mar 31, 2016 7:08 am

Awesome work as always! 😃
B
52
S
22
G
12
Posts: 725
Reputation: 11,716

Post » Thu Mar 31, 2016 9:42 am

@MadSpy - Amazing. I did not know that someone made this. Now Steam Game Making will be a lot better for Construct2. Nice work, you will help many game dev here with that plugin.
Image



The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
55
S
17
G
90
Posts: 1,111
Reputation: 59,145

Post » Thu Mar 31, 2016 6:35 pm

Thanks @Annonymitet @chadorireborn
I still have a lot of work to finish lobby integration (even with a chat integration if all previous features work as intended) and to check compatibility with last nw13 and new nw14...
I think I will create one version for each nw version (12,13 and 14) for win32/64 and linux 32/64
Image Image
B
22
S
13
G
130
Posts: 869
Reputation: 67,816

Post » Sun Apr 03, 2016 9:13 pm

updates :
- added experimental steam lobby
- added action for creating lobby
- added trigger for steam callback
- added trigger for lobby error/success
- code optimizations
- added action "request for existing lobby and join it" + trigger error/success
Image Image
B
22
S
13
G
130
Posts: 869
Reputation: 67,816

Post » Sun Apr 03, 2016 9:23 pm

MadSpy wrote:updates :
- added experimental steam lobby
- added action for creating lobby
- added trigger for steam callback
- added trigger for lobby error/success
- code optimizations
- added action "request for existing lobby and join it" + trigger error/success


For games that can fight past the Greenlight process, this will be invaluable! Keep at it!! :)
I only occasionally visit - I'm learning C# for Unity, but c2 is still a respectable game engine imo....
B
73
S
19
G
66
Posts: 2,198
Reputation: 42,188

Post » Mon Apr 04, 2016 4:15 pm

OMG this is AMAZING!

I have a game coming out on Steam next month so this will be insanely helpful!

Thank you for your hard work.
B
12
S
2
Posts: 110
Reputation: 1,040

Post » Mon Apr 11, 2016 11:49 pm

Hi folks,

Many of you have asked me some questions by email or private message, so here are some answers to frequently asked questions.(sorry for my approximate english)

Which features are really available in your plugin?

Expressions :

User info
The current user's Steam account ID.
The current user's Steam static account ID.
The current user's Steam screen name
The current user's Steam level.
The current language from Steam set in UI.

Game info
The number of achievements.
The name of all achievements.
The current language from Steam specifically set for the game.

Leaderboard info
The number of entry for current leaderboard
The new rank of player for current leaderboard
The previous rank of player for current leaderboard.
The number of total entry by download function for current leaderboard.
The number of entry used by download function for current leaderboard.
The current leaderboard. (Type (around user or top10),rank#, player_name rank#, score rank #,....).

[Experimental] Lobby info
The current Lobby ID.
The current Lobby Name.
A list of available lobby the user can join.

Actions :

Achievements:
Activate a Steam achievement.
Test if an achievement is unlocked
Clear a Steam Achievement

Overlay:
Activate the Steam game overlay for selected option.

Cloud:
Enable/Disable Steam Cloud for the game/app

Leaderboard:
Check if a leaderboard exist.
Update a Leaderboard for current user (can keep best score or force update).
Request download entries for current leaderboard.(Top 10 or Around User).

[Experimental] Lobby:
Create a public lobby for 4 players.
Request a list of lobby the user can join.

Conditions :

Steam / Overlay
Is available
Overlay is available
[Trigger][Event] Overlay is activated
[Trigger][Event] Overlay is desactivated

Achievements
[Trigger] Achievement is unlocked (when you ask an achievement statut)
[Trigger] Achievement is locked (when you ask an achievement statut)
[Trigger]Steam unlock an achievement
[Trigger]Steam fails to unlock an achievement.

Cloud
Steam cloud is activated by user (general cloud)
Steam cloud is activated by user for THIS game/app

Leaderboard
[Trigger] Leaderboard is found (when you ask if the leaderboard exist or when you try to update or download a leaderboard)
[Trigger] Leaderboard is updated
[Trigger] Leaderboard isn't updated (Current score is better than score submitted)
[Trigger] Leaderboard isn't updated (Current score is better than score submitted)
[Trigger] Leaderboard General Error (Steam Fatal error (steam serveur down,...))
[Trigger] Leaderboard isn't downloaded
[Trigger] Leaderboard downloaded (you can call the "get leaderboard entries" expression.)

[Experimental] Lobby
[Trigger] A Lobby is created.
[Trigger] Lobby is not created.
[Trigger] List of Lobby the user can join downloaded.
[Trigger] Steam can't download a list of lobby.
[Trigger][Event] Steam sent a request because you are enter in a Lobby.
[Trigger][Event] Steam sent a request because your lobby data was updated.
[Trigger][Event] Steam sent a request because the Lobby receive a message (chat message or some user join/quit lobby).

Which version of NW.JS does it support? Which version of C2 does it support?
I currently do a lot of tests on Windows 7 Pro 64b with C2-216 and NW12.
I already tested on Windows 7 64b with C2-221 and nw13-beta7, nw13-rc1/2/3/4 and nw13.2 - win8.1 pro 64 with C2-221 and nw13-rc1/2/3/4 and nw13.2 - linux (ubuntu) nw12 (without leaderboard and lobby features atm).

Do you work on your plugin with(or for) Ashley?
No, he never contacted me about this plugin.

Where can I download your plugin? When do you think you can release it?
Nowhere for now. I still working on it.
I will release it once I have a test on a live game.(with leaderboard; lobby will come later I think)

Can I test your plugin?
Sorry, not for now.

Which stuff are needed to make it work?
I recommend a valid steamworks account (with a valid Steam App ID) and a greenlighted project. Without this, the plugin will not work with all features and can crash with advanced functions (leaderboard, lobby).

The overlay works as intended?
Once the game has a constant graphical refresh (refresh's canvas), the overlay appears to work correctly.(for the moment)

Thanks for reading.
Regards,
Image Image
B
22
S
13
G
130
Posts: 869
Reputation: 67,816

PreviousNext

Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests