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

#2141
Out of curiosity: is there a specific reason why they should not be called repeatedly like that? Or is is just a meaningless "resource hog" which your latter example can easily solve.

I'm not at my home right now, so I cannot test, but if I set it to change the cursor on everything BUT eLocationNothing, won't it recognize regions and such, or will it just restrict to hotspots, characters and objects?
#2142
AGS Games in Production / Re: He Watches
Fri 05/08/2011 06:35:36
All required beta testers have been found. Looks like I got a fairly active and positive bunch for this!
No further testers are required for the demo testing phase, but if you absolutely want to be a part of this, feel free to let me know via PM.
#2143
I guess that was my failure then. I hadn't noticed the characters and objects start from ID "0", unlike hotspots. I ended up using this:

Code: ags

  if (GetLocationType(mouse.x, mouse.y) == eLocationHotspot) {
    mouse.UseModeGraphic(eModeUsermode1);
  }  else if (GetLocationType(mouse.x, mouse.y) == eLocationObject) {
    mouse.UseModeGraphic(eModeUsermode1);
  }  else if (GetLocationType(mouse.x, mouse.y) == eLocationCharacter) {
    mouse.UseModeGraphic(eModeUsermode1);
  }  else {
    mouse.UseDefaultGraphic();
  }


Thanks again, Khris!
#2144
I'm trying to make a script which changes the mouse cursor when the mouse is over an object or a hotspot. However, in most of my rooms I have overlaying transparent objects, which have their clickable attribute set to false, however, the below script still picks them up, causing the check to fail on objects which are behind the overlaying transparent ones-.

So far I haven't had luck in finding a way to get the script to ignore non-clickable objects. Even if I add a chech that stops the cursor from changing if the object is not clickable, but that doesn't really solve the problem.

Code: ags

  if (Hotspot.GetAtScreenXY(mouse.x, mouse.y) != hotspot[0]) {
    mouse.UseModeGraphic(eModeUsermode1); // This works just fine
  } else if (Object.GetAtScreenXY(mouse.x, mouse.y) != object[0]) {
    mouse.UseModeGraphic(eModeUsermode1);
  }


Any good ideas on how this could be done in AGS?
#2145
(This information also in the first post)

Do YOU want to be a part of the creation of this modern gaming masterpiece? Are you willing to sacrifice your precious time and effort to make this game better? Just want a sneaky peek?

You are in LUCK!

Send me a PM and you MIGHT become a part of the "ready-and-willing" testing team who will ensure that the demo for He Watches will work just right when it is released.

And remember, He is Watching YOU!
#2146
AGS Games in Production / Re: He Watches
Thu 04/08/2011 07:25:05
Just got all the animations needed in the demo for the main character done last night, also did a little number on her car and wrote some background text. Also figured out how to do a nice scrolling text GUI, so that's a win. All in all: PROGRESS!
#2147
Raaagh! I have an idea but I can't get it to look anywhere near right!  >:(
MUST TRY HARDER!
#2148
@Monkey
You're right about Norton on the older 2008-2009 versions, but in 2010 they really fixed the resource issue quite well, and even the customers I worked with were quite happy about how the version update made it lighter. Then again, even this depends greatly on the rig you are running it on, so the results may vary.

I used to use avast myself once, even recommended it to my family members and relatives, but for reasons I cannot recall right now, I decided to get rid of it over a year ago. Maybe it's the fact that I used to do sales as well as maintenance, but participating in some F-secure trainings they had for our company pretty much opened my eyes to how much stuff is going on in the background, and I can't bring myself to trust the free software to quite keep up anymore.

Then again: I recommend F-secure if you are prone to getting viruses and trojans, as it is the best there is in my opinion.

Myself, I use the Microsoft Security Essentials software on my Windows 7, along with Windows' own firewall, and its plenty enough for me. It's all about the user and their habits. If you're a safe web user and can keep your paws off of the dirtiest sites on the web, you can keep quite safe with the free stuff and it doesn't matter what you use.
#2149
AGS Games in Production / Re: He Watches
Mon 01/08/2011 12:52:48
Quote from: kconan on Mon 01/08/2011 04:21:43
I'm for "He Watches", that is a creepy title.

Good to hear someone agrees with me here.  ;D
#2150
Since I've worked in computer maintenance for years, I would recommend a fresh reinstallation of windows as follows:

1. Backup everything you absolutely need onto an external hard drive
2. Reinstall windows, install antivirus software, update it. After fully updating the windows and the antivirus software, disconnect from internet
3. Plug in external hard drive, run a full scan of it now, preferrably with windows in safe mode, repeat a few times with reboots in between
4. Reinstall windows one more time, remember to install antivirus software and update everything
5. Restore backed up files from external hard drive, continue use

I can warmly recommend F-secure Easy Clean (http://www.f-secure.com/en_EMEA-Labs/security-threats/tools/easy-clean/). You can download it now, and as per instructions that come with it, run it a couple of times before doing the above steps to minimize any viruses you might get in your back ups.

Also, if you have a history of getting viruses and trojans on your computer, I would recommend ditching free antivirus software altogether, and going for commercial ones. I have most experience with F-secure (so I'm biased) but for me it has been loyal and effective, and it has improved and gotten lighter every year. Whatever you do, do not get McAfee or Norman, those I have learned to detest over the years. Norton is a fair compromise too, but F-secure is better (I'm still biased, though).

All this takes roughly a day to do, but it's pretty foolproof and on the upside, reinstalling windows always gets rid of lots of unwanted and forgotten crap too, so it's good for your computer. It may seem a bit like overkill, wiht two fresh reinstallations, but heck, you can never be too safe with this stuff, especially if you're distributing software (such as AGS games) to other people regularly.

Hope somebody finds this useful.  :)
#2151
Sorry guys, I was a bit hasty and when I didn't get answers during the same evening, I went ahead and did a small redesign of the GUI to avoid the issue. It's just as functional, just without the round bits.

Still, thanks for the asnwers! Mazoliin's suggestion seemed like it might be the easiest to use in my case, so in the future I might look into using that.

I'll change the title to "solved" now.
#2152
Mr Ostman, I applaud your dramatization of this thread.  :)
If a moderator read this: lock please? I'm probably not the only one who feels its time this thread died down.
#2153
AGS Games in Production / Re: He Watches
Sat 30/07/2011 20:56:52
Putting finishing touches on one of the GUI's of the game. It's the most complex one I've ever done, but darn its coming out nicely!
#2154
In what way were any of his posts "polite"?  ???
#2155
@ Tabata: Youtube takes its sweet time in compiling the video on it's end and I posted the link right after the upload was done on my end, so the last seconds probably just hadn't finished compiling on the server. The rest should be viewable now, though you mostly just missed me grumbling about not having any cake.  ;D
#2156
http://www.youtube.com/watch?v=5UAkBz6BHEg
Here's my playthrough, hope you enjoy. I promise never, ever to try sounding like a teenage zombie girl again!  :(
On a lighter note: Helluva great game, Ghost! Absolutely love the animations and detail, as well as the penis jokes!
#2157
I have a small problem with click detection with my GUI and GUI buttons.
Is there a way to have AGS detect clicks on a GUI or a GUI button, so that transparent areas do not detect clicks? For example, I have a GUI that is 320x30 in size (the picture I've attached) and a large portion of it is transparent. However, if the player clicks the transparent area with the walk-to cursor, the character does not respond as the click is intercepted by the GUI.

I found this 2006 thread with my searches and I could do the workaround mentioned there, but I was hoping someone would have an idea on a more elegant solution.

http://www.adventuregamestudio.co.uk/yabb/index.php?topic=28882.0



Why is it, that AGS detects clicks on transparent images correctly in characters and objects, but not GUI's and GUI buttons?
#2158
General Discussion / Re: 'Stranded'
Fri 29/07/2011 17:41:16
By the way, I'm calling dibs on Stranded 2 (as long as veryweirdguy doesnt mind me being a copycat, that is). I've always wanted to do something like this, so when Stranded comes to a close some day, I would like to do a little "make your own story" -thingamabob myself.
#2159
The Rumpus Room / Re: *Guess the Movie Title*
Fri 29/07/2011 15:15:23
Dual, the pic doesn't show, but from the link I'd say Casablanca?
#2160
General Discussion / Re: 'Stranded'
Fri 29/07/2011 15:14:37
Quote from: cat on Fri 29/07/2011 14:24:19
Throwing the meat between you and the walkie talkie was not what I exactly meant by "lure it away"...  :(

The user interface of this game is a bit limited and the parser requires you to be quite specific on what you want to do.

On that note I say: > RETRIEVE ARMS FROM THE FARM
SMF spam blocked by CleanTalk