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 - Matti

#201
You need to use Button.NormalGraphic instead of Button.Graphic.
#202
I don't really have time right now but I think you should be able to keep track of the index (or the shown row of the inventory window which should be equal to the item index) and use the ItemAtIndex property to retrieve the currently shown item. Another way would be to check InventoryItem.GetAtScreenXY(int x, int y).
#203
Agreed.

Keeping your mouth shut or even laughing at said jokes you're supporting that kind of behavior. Those guys just feel reassured and validated, because they'll never be confronted about their sexist or racist views. If anything they need to keep their mouthes shut.
#204
Ah, sorry, corrected! I'm not sure why I keep repeating that mistake.
#205
Do the actions have to happen in a specific order? It would be easier to randomize them, because then you could do something like this in the rep_exec:

Code: ags

if (cDog.Animating == false && cDog.Moving == false)
{
  int r = Random(5);
  if (r == 1) cDog.Walk(x,y);
  if (r == 2) cDog.Animate(..)
  if (r == 3) cDog.Say("...");
  ...
}
#206
You can create an event in the on_event function in the Global script and put the code there.

Code: ags
function on_event(EventType event, int data) 
{
  if (event == eEventAddInventory) {
    // Code
  }
}
#207
Nice tease!  :)
#208
The script is being finished before the room changes which means you're trying to make the player walk in a different room which is not possible.

You should put the walk command in the script of the room the player changes to, most suitably the after-fadein-function.
#209
You can use normal script in the dialog editor if you leave a space at the beginning of the line.

To do something like that you could use a variable and randomize it.

Code: ags

int r = Random(2);
if (r == 0) cNPC.Say("story 1");
if (r == 1) cNPC.Say("story 2");
if (r == 2) cNPC.Say("story 3");


Edit: Sorry, corrected Random with a capital R.
#210
#211
Critics' Lounge / Re: Main Menu Art
Fri 26/02/2021 11:35:12
It's a png, but you must have saved the image as a jpg or some other lossy format earlier, because there are a lot of ugly artefacts on the background. Other than that it looks quite alright  :)
#212
I guess you're using the Tumbleweed template? I'm not sure how it works so I can't help with disabling it for a specific room.

But when creating a menu you would usually create a GUI for that. This has many advantages, as you can make it visible/invisible, rearrange it, and "start", "load" etc would be buttons that can also change sprites when you click or hover over it.
#213
Quote from: Blondbraid on Sat 20/02/2021 16:22:26
I think everyone ought to see this discussion video on Red Dawn, and the fact that entertainment will reflect the creator's politics, but at 9:15 in the video, the narrator also
discusses how fiction isn't real, and exactly because it isn't real, but a creation of the author, we ought to look critically on why they are telling a story in this way.

Thanks for the clip, it makes some good points.

Quote from: Blondbraid on Sat 20/02/2021 16:22:26
As for The inner world and Guard Duty, I only saw the screenshots and thought they looked nice but never got around to playing the games because there have been so many other games I'd rather play, but this sounds disappointing yet not surprising

As for the Inner World, it really is a pity. Despite the sexism the game is rather charming, but that alone stopped me from even trying out the second part. Here's a bad review that illustrates the portrayal of women in the game:

Spoiler
"However, I cannot overcome the subconscious issues with this game: [spoilery]
- The main character Robert falls in love with the first woman he ever sees, of course, right at first sight.

- The main character Robert comments on a picture of the barmaid when she was young with: "What time does to women". The old barmaid has sagging breasts (there is no comment about the old men). Hello misogyny...

- The only time, two female characters (love interest Laura and toad) are on the screen at the same time, a "catfight" is created. Of course, two female characters cannot interact without hating each other [sarcasm].

- Only flirting with the toad leads to success, there is no other way. The flirting intensifies the catfight between Laura and toad because the toad "steals" the main character from Laura. What the ♥♥♥♥.

- The main character Robert does not manage one physical task. Self-talk of Robert: "Laura (Love interest) will laugh at me because I ask her for help". Laura then actually says: "Sure, we just don't talk about it". The toad then says "Well, I like it when men show weakness". Which does this say of the image of men in this universe?

- When the father of the Laura (love interest) is rescued and sees his daughter Laura with the main character Robert, the father becomes directly defensive and hostile: he has "always been afraid" that his daughter will meet a boy. Even though there isn't any declaration of love from Laura (Love interst) to the main character Robert so far. Robert could also be a stalker, but the father of course only recognizes one possible lover.

- In a flashback: an applicant only talks to king, even though the queen is sitting right next to the king. The queen only talks in private to the king. Which power does the queen have?

- In general, positions of power are only occupied by men. Main character, the villain, guards, king, mechanics, scientists, wind monks, black market sellers are all men. Women appear only as love interest, barmaid (also love interest), mother, wife (queen) or "nasty b**ch" (toad). All female characters are equipped with so-called feminising gender signifiers (lipstick, eyelashes). Otherwise, they have no other personality markers in their appearance, no characterising thing. Just lipstick and lashed. Wow.

- When Laura (Love interest) is petrified, main character Robert kisses her (no consent whatsoever). After she is saved, she first thanks Robert for the rescue, apologizes for always "teasing" him because she really likes him (That's not how this works what the ♥♥♥♥). She kisses him. Then finally she slaps him in the face "and that was for the kiss earlier, you didn't think I'd notice". Main char Robert lies on the floor, looks very happy and says "it was absolutely worth it". Yikes."
[close]
#214
Well, I recently had an argument with someone who generally referred to women as "girls". He probably wouldn't call elderly women girls, but other than that it was just an expression of his misogyny.

I'm so sick of people saying "It's just fiction, not the real world" as if that fiction doesn't derive from the thoughts of a living person from the real world. As if the fiction exists in some other universe and doesn't affect people living here and now. As if men objectify women in games, but not in real life.

"This whole discussion is about how entertainment affects our views on human rights, criminal justice and politics" (Blondbraid). I would like to add that views on human rights, criminal justice and politics affects the entertainment. Also, sexism affects entertainment, massively. And, Kyriakos, it's not "bad writing" that reproduces sexist tropes, it's a sexist worldview that reproduces sexist tropes. I recently played The inner world and it's a mind-boggling example of sexist representation of female characters in videogames. The few female characters are either a mother, a love-interest or a slut, and the only time two of them are in the same scene, they start a cat fight  :-X >:( This game is an extreme example, but that bullshit derives from the developers view on women! And it's symptomatic that almost none of the reviewers complained about that.

I also tried to play Guard Duty but stopped after a few minutes. Judging from the trailer and screenshots I was already anticipating a game where the only female characters are a damsel in distress and a sexy woman in a bar. But when the main character (a pathetic topless dude) remembered his last night making out with an "ugly" woman I quit. That was enough.
#215
I guess the player.Walk command is blocking? Have you tried putting that code in repeatedly_execute_always?
#216
If you want to make the GUI disappear if the player clicks outside of the picture you could check if the player presses a mouse button inside the room's repeatedly execute function:

Code: ags

  if (gGui1.Visible && mouse.IsButtonDown(eMouseLeft)) gGui1.Visible = false;
#217
Best way is to make a GUI with the picture of the poster and turn it visible/invisible.
#218
Critics' Lounge / Re: Backgrounds
Wed 10/02/2021 12:01:25
Quote from: heltenjon on Wed 10/02/2021 09:45:52
I don't think they're floor tiles, but shadows cast by the columns.

It does seem so, but where's the light coming from? If it's the sun than the shadows cannot have different directions  ;)
#219
Quote from: BarbWire on Mon 25/01/2021 22:21:47
It is nice that you have friends willing to speak up for you. I will leave you alone now, and make no further comments in this thread :X

Erm... this isn't a privat chat, this is a forum, so everyone willing to do so speaks their mind.

Quote from: BarbWire on Mon 25/01/2021 17:55:01
It is now becoming a personal attack on me, if you hadn't noticed. I don't need to justify my posts to you ...so I won't.
I'm sure Blondbraid is quite capable of answering me, if she wants to, without you sticking your oar in. Enough said.

Again, this isn't a private chat and definitely not a dialog between two people, so what do you mean with "sticking your oar in"? This is a public forum with a lot of people involved, who are discussing certain topics (and don't know each other). And it's weird, that in an open discussion you're saying that you don't need to justify your posts. Especially when it gets personal and you imply or assert things that other members have supposedly say, which they didn't and when they even say that it wasn't their intention, then it's good that people point that out. You can stand by what you said and bring arguments for that, you can apologize etc., but just dismissing the criticism is really a bad habit. I remember you excessively criticizing a person who accidently posted a game in the wrong forum. People criticised that post of yours, the person in question apologized a lot, but for some reason you didn't bother to even aknowledge that you might have gone a little overboard or to clarify things, let alone maybe apologize.

My point is just that of course everyone is responsible for their posts in an online forum and everyone can be criticized for its content. Otherwise every discussion would be totally meaningless anyway (online or in 'real life').
#220
Quote from: Dariago on Wed 20/01/2021 15:22:47
Is there a way to "tigger/messeage" some script code/function from the global script to a room?

(For now I have a work-around: If the code is right, I updated a global variable and the player now can "open" the door by interact event. but the door is not opened automaticly.)

Setting a global variable is the way to go. You just need to start the animation of the door in the repeatedly execute function after updating the variable.

Code: ags

// in the room's rep-exec:
if (DoorOpened == true)
{
  // Animate the Door
  // Play a sound
  DoorOpened = false;
}


You need to change the variable back so the door will only open once, but you may also check the doors current frame or view (if you're going to change it).
SMF spam blocked by CleanTalk