FYI, I don't know if it was fixed in the same patch, but "Set" also fails when the value is null (cannot insert null in Dictionary) and it's not written in the help of the function.
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: Babar on Fri 16/10/2020 15:52:57
I seem to remember this being brought up, and then the issue mentioned (bandwidth, maybe?), but wouldn't it be more convenient to have the art available separately so that one could see all the images or at least "packs" without downloading them? Having one massive torrent or download file that you then have to browse through to see if it has anything that fits with what you need is a bit inconvenient.
Quote
Musik Lautstärke
Sound Effekte
Quote
Musiklautstärke
Soundeffekte
Quote from: Crimson Wizard on Thu 17/09/2020 20:25:53
I pushed a fix for this, and few other things. This fix will be part of a next patch, also could be downloaded here when it's ready (may need to wait an hour or so): https://cirrus-ci.com/task/6244779275059200
EDIT fixed link
Meanwhile, the workaround is probably this:Code: ags String SafeGet(this Dictionary*) { if (this.Contains("badKey")) return this.Get("badKey"); return null; }
String SafeGet(Dictionary* d, String key)
{
if (!d.Contains(key)) {
return null;
} else {
return d.Get(key);
}
}
void game_start()
{
Dictionary* d = Dictionary.Create(eSorted);
String v = d.Get("badKey");
}
Quote from: Crimson Wizard on Wed 16/09/2020 19:11:29
It gets deleted as soon as there's no reference to object left
Quote from: Crimson Wizard on Wed 16/09/2020 19:11:29Are you saying that DynamicSprite.Delete is more of a relic from the past? It gets called automatically by the garbage collector?
and DynamicSprite too.
DynamicSprite* spr = DynamicSprite.Create(...);
...
spr.Delete();
Dictionary* d= Dictionary.Create(...);
...
d.Delete(); // <-- this function does not exist
Quote from: Snarky on Fri 05/06/2020 21:49:41
Aren't these essentially the same?Quote from: Snarky on Sun 18/11/2018 09:12:56
Break the Cycle
A certain chain of events repeats on a loop in the background, always with the same outcome. By changing some condition, you can interfere with one of the steps and create a different one. (In a variation, the chain of events doesn't go on all the time in the background, but only when you trigger it.)
Examples: Day of the Tentacle (Edna/chair/statue)Quote from: Monsieur OUXX on Fri 05/06/2020 13:54:43
Derail the NPC's routine
An NPC is repeatedly performing an action. Get in the way (steal their tool or confuse them) and it unlocks new possibilities.
Note: An advanced version of this puzzle makes you benefit from the change in the NPC's state in both ways : You benefit from taking their tool and you benefit from their new routine.
See also: trigger the NPC first
See also: hidden dialog
Quote from: Cassiebsg on Tue 26/05/2020 19:09:29You haven't had an opportunity to see how it's implemented yet. I'd need to send you the latest sources. You pick the language of the "parent" game and the language f the "embedded" game inside of the games, on a special welcome screen. Which means, we work around the problems with winsetup.exe and the .cfg. The only issue was that we couldn't reset the language while jumping from one game to the other (because of the "bug" that CW has fixed here). Now it works like a charm.
The old demo does have some translations available, but right now, as far as I know, there's no way to run that demo with the translation (is there one?).
Quote from: eri0o on Fri 05/06/2020 18:01:05
( Not sure if this was posted here -> https://www.alanvandrake.com/puzzler/ )
Quote from: Crimson Wizard on Thu 04/06/2020 12:35:10
DynamicSprite.CreateFromScreenShot is probably what you may use. But iirc it IS 1 frame late, because it's created out of data prepared during previous render. This is most of what you can get in script.
EDIT: back in a day there was no "later_repeatedly_execute", guess this is why it was made so (and also because it works faster this way). Hypothetically, I think, it may be possible to reimplement this with an up-to-date render if called from late_rep_exec, but such feature does not exist right now.
But I'd like to also clarify some technical stuff. There's no universal raw "buffer" that you can alter. Such buffer is implementation specific, and technically only exists in software mode. Plugins can access and alter it directly, but it does not work the same with Direct3D/OpenGL. The universal method would be not to alter rendered image in-place, but insert items in the render process / change render properties.
Quote from: Cassiebsg on Wed 03/06/2020 22:21:01I don't know, but I'm guessing there's a whole range of hassle and I was aiming for the least hassle. I live in Sweden and here they have a thing called Swish where the phone number of the recipient is enough to transfer money to them. Don't judge me, I'm a simple person who hates anything related to money.
And how exactly do you think the tipper could tip without having to create an account anywhere?
Quote from: Click'd on Thu 04/06/2020 10:16:46I'll loo into it. Is Paypal really still popular in the US or is it behind the curve now? Asking as a European who has no clue.
Monsieur OUXX, how about ko-fi.com ? Goes through Paypal.
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.069 seconds with 16 queries.