Menu

Show posts

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 Menu

Messages - tzachs

#141
Actually, you don't need to do that, as the tween module has a setting in which you can set speed instead of duration, so the speed can be fixed regardless of the distance.

Code: ags

    oBeachCloud1.TweenX(Cloud1Speed, CloudsEndPosition, eEaseLinearTween, eNoBlockTween, 0.0, eTweenSpeed);
#142
No worries, I was thinking of how to phrase my pitch to the wolf that it's ok to come out now, trying to figure out if there's a chance they would not believe me, so you definitely helped me out there.
#143
Oh I forgot. My vote is: tzachs.
#144
Damn. I wanted to do this myself but Mandle took out all the fun from it. I'm the fool, lynch me please, thanks.
#145
Yes, it blocks the current script for one frame, but I think it should free the engine to process the commands in the queue, so it should fire the ProcessClick event.
#146
I believe what's happening here is that when you call ProcessClick, it doesn't process the click immediately, but it enters it into a queue for later processing. You can read this to get more information on why it's doing this.

You can also verify that by adding the same breakpoint you had before, and also adding a breakpoint in your use inv function and see what happens first.

In terms of best way to clear the inventory, the first question to ask is: are you sure you want to clear the inventory on EVERY inventory interaction? What most games do is clear the inventory after a meaningful interaction with this item when you no longer need it (because if a player wants to try an inventory item on a bunch of places in the room, it's annoying to reselect it every time).
If you don't need it on every interaction you can create a function with the 3 lines (clearing the inventory item and label) and call it from the use inv function (and every meaningful interaction).
If you do want to clear it every time, then one way of doing this would be to wait a frame before clearing the inventory item.
Try adding "Wait(1)" inside the if before clearing the inventory item.
#147
Hmmm, hard decision here, as both of my main suspects are on the line.
I do feel that Adeel "slips" were a little too obvious, making me suspect him as more a fool then a wolf. Not sure, though, I would possibly vote for him if there wasn't a better suspect, but there is.

My vote is for Mandle.

Because I suspect he's both a werewolf and an evil wizard with all of those mind tricks he's playing on us. I mean, saying that the wolves wouldn't want to be the first ones voting and then actually doing the first vote is a classic reverse psychology trick which only an evil wizard can muster.
#148
Quote from: Mandle on Fri 03/08/2018 01:25:15
Oh, I'm still alive?! Unexpected.
And suspicious.

Quote from: Mandle on Fri 03/08/2018 01:25:15
What do others think the Seer should do?
Well, if she/he scanned a wolf, then maybe she/he should come out, but if no wolf was scanned, definitely should stay hidden.

Quote from: Mandle on Fri 03/08/2018 01:25:15
ALSO: Usually at this point I would be trying to scum-hunt by looking for people who were quick to call for a lynch to be started, but reluctant to point the first finger and name the first name, except that you guys are all doing that... hehehe. Newer players are impossible to scum-hunt... (laugh)
I also find this statement suspicious, like you're trying to play mind tricks on us. hmmmm, what game are you playing at, mister?

Quote from: Mandle on Fri 03/08/2018 01:25:15
This game is usually the most fun when we have two players claiming to be the same role! (laugh)
It's probably time to come forward then. I'm the bodyguard!
#149
I'm sticking to my "don't drink & lynch" and we got to lynch somebody today, right?

Also VampireWombat himself, if he was still with us, wouldn't have wanted us to drink and lose our wits in these dire times, so I'm respecting his wishes.
#150
A minute of silence for our beloved guard :~(

It's obvious that werewolves don't like vampires. Hopefully VampireWombat managed to put up a fight. I imagine that it looked a little bit like this: https://www.youtube.com/watch?v=MI1Yi2AUVAc
#151
Mandle and Adeel are my two equal suspects currently.
#152
Come on CI, don't be like that. Think back, you were best friends in the class of August 1022.
I think it's time to forgive him for that time he borrowed your carriage and broke it.

And also, happy birthday, Adeel!
#153
Quote from: josiah1221 on Tue 31/07/2018 05:22:04
VampireWombat and tzachs, no wolfsbane mojitos? hmmmm...

Well, I said, never drink & lynch, but as we're not going to lynch anyone today, I guess I can have a sip, so please pour me some (but not from the bottom, that stuff is lethal).
#154
Quote from: Khris on Tue 31/07/2018 11:16:32
I'm not entirely sure what's going on but room_RepExec() is called 40 times per second.
MoveFrontCloud() does not strike me as a function that's supposed to be called that often? Because that's what happens as soon as the cloud reaches X coordinate 190.
But it's inside an "if (x >= 190)" and the MoveFrontCloud function sets x to be between 100-120, so MoveFrontCloud doesn't get called 40 times per second.

One problem that I can see here is that you tween x to 190-210 but you set x to 100-120 when you've reached 190 without stopping the previous tween. So if you tween to 210 and then reach to 190, x can move like this, for example: 190, 100, 191, 101, etc...

Try adding "oCloud1.StopTweenPosition()" at the beginning of the MoveFrontCloud function to see if it makes any difference.
#155
As we have 25% chance of guessing correctly and 75% chance of screwing up, it seems to me that it's in the best interest of the village not to lynch anybody today.
Tomorrow, after one of us dies, we'll have 28.5% chance of guessing correctly, and with the seer's help this should hopefully tip the odds in our favor.

This considered, Adeel's statement seems to me like a subtle play to encourage lynching, i.e benefit the wolves. A villager who did the numbers would probably not make this statement, making me suspect that Adeel is either a wolf or a fool.
So I'm considering disregarding what I just said and voting for Adeel :P
#156
Yeah, never drink and lynch.
#158
The Rumpus Room / Re: The 4 word story thread
Sat 28/07/2018 22:37:21
Before we move further,
#159
Sign me up, please! :)
#160
General Discussion / Re: AGS Image Host?
Fri 27/07/2018 04:41:29
Quote from: Gurok on Fri 27/07/2018 04:20:22
Umm... I don't know what you mean by this. I'm already looking at dedicated hosting.
Ah, sorry, I missed the "but I wouldn't have the bandwidth" part.

Quote from: Gurok on Fri 27/07/2018 04:20:22
Chevereto is also free (as in beer) and open source. Their commercial offering includes support and more frequent updates.
Ah, ok, I saw that you linked to their pricing page, so I assumed you intend to use the paid version.
SMF spam blocked by CleanTalk