Steam4C2-Basic

Discuss Scirra's 2D Asset Store

Post » Sun Jul 02, 2017 2:20 pm

Portvayne wrote:Hi.

For some reason overlay does not work on Mac OS for me. Achievements unlocked properly (After I close the game).

I use NW 21.1, Steamworks SDK 1.39


Hi,

The plugin doesn't manage the overlay so the achievement (and other steamworks features) works even if the overlay isn't displayed.
Btw, the overlay seems to have some issue with nw.js on osx; depends of the mac OS version and nw.js version. Madspy already post few tips (privacy setting on osx, check canvas refresh even on main menu (via an invisble sprite moving to force canvas refresh) etc).

Regards,
B
20
S
7
G
3
Posts: 53
Reputation: 2,479

Post » Sun Jul 02, 2017 2:23 pm

Hi,

Basic version 1.5 submitted to Scirra Store.
Supported Nw.js version: 18.7 - 19.4 - 20.0 - 20.3 - 21.1 - 22.0 - 23.0

- Add nw.js 0.23.0 support
- Update Steamworks SDK to v1.40

Regards,
B
20
S
7
G
3
Posts: 53
Reputation: 2,479

Post » Wed Aug 16, 2017 10:26 am

Hi,

Basic version 1.5.1 submitted to Scirra Store (08-15-2017).
Supported Nw.js version: 18.7 - 19.4 - 20.0 - 20.3 - 21.1 - 22.0 - 23.0 -24.0

- Add nw.js 0.24.0 support
- Update Steamworks SDK to v1.41

Regards,
B
20
S
7
G
3
Posts: 53
Reputation: 2,479

Post » Sun Oct 08, 2017 7:38 am

Hi.
Ive send you an email some days ago but got no reply.
I want to do a simple thing. On boss_sprite destroyed AND achievements "boss_dead" is locked --> Unlock achievement "boss_dead"

How do i do that?
B
26
S
6
G
2
Posts: 85
Reputation: 2,638

Post » Sun Oct 08, 2017 9:09 am

...some support please?
B
26
S
6
G
2
Posts: 85
Reputation: 2,638

Post » Sun Oct 08, 2017 9:41 am

Hi,

You have to keep track of your achievements state once your game is loaded (or while you loading player save etc) with action:
Check the State of Achievement "achievement_name"
Triggers "On Achievement is Already Unlocked" or "On Achievement is Locked"(category "Steam - Achievements - By Name") should fire, then store the result.

Quick sample
Image

Regards,
Image Image
B
28
S
17
G
159
Posts: 894
Reputation: 82,761

Post » Sun Oct 08, 2017 9:52 am

MadSpy wrote:Hi,

You have to keep track of your achievements state once your game is loaded (or while you loading player save etc) with action:
Check the State of Achievement "achievement_name"
Triggers "On Achievement is Already Unlocked" or "On Achievement is Locked"(category "Steam - Achievements - By Name") should fire, then store the result.

Quick sample
Image

Regards,


I also thought i should use instance var but i wanted to see if there is another way..
Ok, i will try it.

Thanks.
B
26
S
6
G
2
Posts: 85
Reputation: 2,638

Post » Sun Oct 08, 2017 10:19 am

dimitriosfl wrote:
I also thought i should use instance var but i wanted to see if there is another way..
Ok, i will try it.

Thanks.


You can save achivement state in a file or in local storage but it's better to check state at the beginning of the game (or once the player save is loaded) and store for the current game session. Btw, you can store it in a global var or a dictionary or an array or use Global Plugin (free or Paid)

Regards,
Image Image
B
28
S
17
G
159
Posts: 894
Reputation: 82,761

Post » Tue Nov 21, 2017 2:04 am

Hello.
I've recentrly purchased your Steam4C2-Basic plugin. I followed the Quick_Start guide, even added the overlay, but I can't make my achievements work. The game is lit and ready to be released. I added a couple achievements in steamworks, but they don't seem to connect with the actual game. Can you provide some help? Maybe the problem is with the events themselves. I made it like this - Condition: On collision with certain object and if achievement is locked - Event: Unlock achievement_name. Are these the right event?
B
4
S
1
Posts: 2
Reputation: 306

Post » Tue Nov 21, 2017 5:17 am

Message: pxlgrdsAI can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Achievements don't work. What am I doing wrong?
https://imgur.com/5w5t8Pm
B
4
S
1
Posts: 2
Reputation: 306

PreviousNext

Return to Scirra Store

Who is online

Users browsing this forum: No registered users and 1 guest