Hello. I would like to get a step-by-step guide about implementing Steam Leaderboards to AGS

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Crimson Wizard on Fri 06/05/2016 13:37:56Quote from: proximity on Fri 06/05/2016 11:55:35This is precisely why I added cursor speed setting to the setup (also, Mouse.Speed in scripts)!
Full screen mouse issue has been corrected. Cursor moves slower than before but what the hell, it's fixed
I found that speed of 1.5-2.0 works pretty well for me.
Quote from: Crimson Wizard on Tue 03/05/2016 01:20:55Quote from: proximity on Tue 03/05/2016 00:59:30Not every change breaks savedgames. Only those that alter the number of game objects, including global variables in script (but not local ones!). If you just modify some functions, they will still work. 3.4.0 is not different from previous version in that aspect.
Note : I think I've discovered something. In 3.4.0.6, when you update scripts , old save games (saved before update) aren't affected at all, give no error and work like a charm. Is it known or I've just discovered it ?
Quote from: Crimson Wizard on Mon 02/05/2016 02:13:29
Okay, an update. We just had one (probably most difficult) "blocking" issue resolved; I am planning to work hard next days, getting the rest of the merge done.
I will have to make a break for several weeks soon, so I hope I can release a new Beta version on this week.
Quote from: Crimson Wizard on Mon 18/04/2016 22:05:15Quote from: proximity on Mon 18/04/2016 22:00:09I do not know. We've met a problem that delayed us again. Currently I am waiting an answer from another team member.
It's been a while. Any news ? I'm close to release my game. May be in 2 two weeks. Am I going to have a chance to try the merged version ?
Quote from: Crimson Wizard on Thu 24/03/2016 21:19:20Quote from: proximity on Thu 24/03/2016 19:57:35No... where it comes from?
Crimson, do you plan to include "changing hotspot and object names at run-time" to the upcoming merged version ?
I do not really plan to add anything else except bug fixes, because this version was developed for too long.
If someone else will have time to work on it, while I am merging the two versions, we may take it, but still I will not like to add some serious changes.
There are already custom properties that you may change at runtime in this version, and that may be used to substitute object names for now.
Quote from: monkey0506 on Sun 20/03/2016 07:03:47
Well a function-local variable would always be reset every time the function is called anyway.
However, Steam doesn't have any issues with you "setting" an already set achievement, so there's no harm in calling the function more than once. If you're worried about the unnecessary callbacks, you could try to cache the results in-game, but that could easily get out of sync. A more efficient solution might be to use the engine's built-in scoring system, using game.score and GiveScore. You could then have something like:Code: ags function on_event(EventType event, int data) { if (event == eEventGotScore) { if ((game.score >= 100) && (Game.DoOnceOnly("ACHIEVEMENT_01"))) { AGS2Client.SetAchievementAchieved("ACHIEVEMENT_01"); } } }
Then whenever you call GiveScore and the score exceeds or equals 100, the achievement is set, without having to poll for it every single game loop.
function repeatedly_execute_always() {
if (charstat > 99.99) {
AGS2Client.SetAchievementAchieved("ACHIEVEMENT_01");
}
}
function repeatedly_execute_always() {
int doitonce=0;
if (score == 100) {
if (doitonce == 0) {
doitonce=1;
AGS2Client.SetAchievementAchieved("ACHIEVEMENT_01");
}
}
}
function repeatedly_execute_always() {
if (score == 100) {
AGS2Client.SetAchievementAchieved("ACHIEVEMENT_01");
}
}
Quote from: Crimson Wizard on Fri 18/03/2016 12:57:23
Just FYI, we are in the process of merging AGS 3.3.5 into 3.4.0. The 3.3.5 release was delayed because of several issues found, but these are dealt with now.
Quote from: Crimson Wizard on Tue 09/02/2016 13:59:35Quote from: proximity on Tue 09/02/2016 13:41:25I see.
I was looking for a solution of weird mouse cursor movement issue on full-screen. It really annoys me and i guess it will absolutely annoy playersWould you recommend me to switch to other versions ? I don't know if it is possible to switch from 3.4.0.6 to 3.3.4. (Game resolution is 960*540)
No, it won't be possible to switch versions.
I hope to finish 3.3.5 on this week, after which I will be working on merging 3.3.5 into 3.4.0 (which will carry mouse fix as well).
I predict that itself may take about a week.
Quote from: Crimson Wizard on Sun 07/02/2016 14:25:38Quote from: proximity on Sat 06/02/2016 15:03:02
Any news about 3.4.0.7 ? Release date is still unknown ?
Just in the post above I as saying, that I must finish 3.3.5 first, then merge into 3.4.0, and that will be next release.
Are you looking for particular fixes/features? The development of 3.4 was practically stalled while I was working on 3.3.5.
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.071 seconds with 14 queries.