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

Topics - Ben

#1
Advanced Technical Forum / GetGUIObjectAt ?
Sun 15/08/2004 22:17:45
So...

I'm working on a new GUI for my game. I'll be using a verb coin with about four or five different actions (still haven't decided yet).

I'd like to have a lebel in the middle of the verb coin that acts as a mouse-over text. It tells the name of each button that the cursor is on..

The problem is that the text only shows up for one of my buttons (button 3). The others don't display anything.

Here's the code I'm using (all in the global repeatedly_execute):

Code: ags

  //If mouse is not over a hotspot...
  if(GetLocationType(mouse.x,mouse.y)==0) {
    if(GetGUIAt(mouse.x,mouse.y)==COIN){
      if(GetGUIObjectAt(mouse.x,mouse.y)==0) SetLabelText(COIN,4,"look"); 
      if(GetGUIObjectAt(mouse.x,mouse.y)==1) SetLabelText(COIN,4,"talk");
      if(GetGUIObjectAt(mouse.x,mouse.y)==2) SetLabelText(COIN,4,"push");
      if(GetGUIObjectAt(mouse.x,mouse.y)==3) SetLabelText(COIN,4,"climb");
      else SetLabelText(COIN,4," ");
    }
  }


This should change the text on label 4 when the mouse is over the buttons, and clear the text when the mouse is on nothing. Instead, it only displays the "climb" text when the mouse is over that button. Any ideas?


EDIT:

Also, one more unrelated thing:

For some reason, if I have a sound set to play in a loop at frame 0, I don't hear anything. I know it worked on an earlier version of AGS, though. Is there a reason why this has changed?
#2
General Discussion / Buying a laptop..
Sat 24/07/2004 02:32:37
So... I have to buy a laptop. I'm going to college this fall and if my computer isn't cool enough I won't ever learn anything.

Problem is, I don't really know how much computer I need. I know I should get something with wi-fi capability, so that I can access the Internet anywhere on campus.. Other than that, I have no idea what I'm doing. I've never actually bought a laptop before, so I thought I'd ask around for some advice.

So far, the best I've come up with is THIS, a Toshiba Satellite A70. I was thinking I'd customize it, adding a P4 2.8 GHZ cpu and a bigger hard drive to the base system..

There are still some things I don't quite understand, though:
1. How can I tell the speed of a wireless connection?
2. How reliable are Toshiba laptops concerning battery life and durability?
3. What other brands should I look at? Have I overlooked any good values?
4. Is a Pentium M processor faster than a P4?
5. Should I get a laptop Centrino mobile technology? What IS Centrino mobile technology?

If I sound like I don't know what I'm talking about, it's because I really don't. Please help me, before I do something stupid.
#3
General Discussion / Help icon FRAUD!
Thu 01/07/2004 04:41:19
Maybe it's just me, but I've noticed something that really grinds the old crank of mine.

I always thought those little help icons below your avatar were for you to announce ways you can personally assist people. Like you are good at scripting, or drawing, or writing, and have some spare time, so you do some scripting or drawing ro writing for somebody else-- you know, REAL work.. that you do youtself. So why are people posting, for example, a music icon, and writing in the caption, for example "I KNOW SOEM SITES TO GET MUSIC!!!!!" or "JUST DOWNLOAD SOME VAN HALEN MP3S OFF KAZAA!! YOUR GAME WILL =\RawK/= !!!!!" Am I the only one who thinks this is really cheap, and a little dishonest? Am I the only one who has even noticed? Or am I just being a whiny crybaby over nothing?

meh.. I just need to relax with a cup of tea and one of those crappy kids poetry books.
#4
Critics' Lounge / Music!
Tue 04/05/2004 02:10:59
Something I started a while ago and finally decided to finish. By "finish" I mean put a stupid ending on it and make people listen.

Slow Anonymizer link

Bandwidth-wasting Tripod link

I tried to make the lead guitar sound as realistic as possible, and I think I succeeded (Except for the "Feedback" at the beginning). Tell me what you think..
#5
General Discussion / I love stupid people!
Tue 06/04/2004 23:15:36
http://www.nypost.com/news/nationalnews/21043.htm

I heard about this last week on the radio. It's probably not nice to laugh at it, but.. HA!
#6
This week's rules:

1. Compose music for a love scene.
2. Must contain one (or more) of the following instruments: tuba, banjo, mandolin.. or a duck.
3. Must contain changing dynamics (one part is louder or softer than another)

That's it.. Now whip out your composin fingers!
#7
Photoshopping isn't drawing a completely new image -- It's editing images to create a new image, such as editing one image or combining several images.

Also, you don't have to specifically use Photoshop -- Paint Shop Pro, MSPaint, or any other programs can be used.

-------------------------------------

This week's challange is:

"Teh FINAL PUZZLE (Foreboding laughter, etc..)!!!!!!11"

I guess I'm feeling morbid today. I'd like you to make an image with the body/ashes/casket of an adventure character, or an AGSer, at his/her/its funeral. You can include creative ways they died, who killed them, who attends their funeral, etc..  Don't do anything too sick (I'm sure some people will read that and think it means "put blood and penises everywhere! Whoo!!!"), and make sure you don't actually kill anybody, because you don't really need to. Just have fun!
#8
Alright, since Christmas is on its way, and I couldn't think of anything else, I've decided to do a Santa Claus related sprite jam. Right about this time, old Saint Nick is making his list and checking it twice. He's got to weed out all the naught kids, you see, and make sure the nice kids get the loot they want.

Here's what Santa wants you to do:

1. Create two pictures. One of a kid doing something naughty. The other of a kid doing something nice. (You may have the same kid in both pictures, just acting in opposite ways)
2. The total size (both pics together) cannot be over 160x100
3. The pictures must have different color values from one another. In other words, if one picture is predominantly red, the other could be predominantly green. You can of course use some colors in both pictures, but the most dominant colors in either picture should be different.

That's all. Remember to be as creative as possible. Santa doesn't like kids with boring sprites!

Good luck.
#9
RED ALERT! RED ALERT! INCOMING TRANSMISSION!

Because nobody has entered yet, I've decided to move the judging date to December 3.. However, if nobody enters by Saturday (Nov. 29), I'm going to close the competiton and take suggestions for a new one..

END TRANSMISSION! HAVE A NICE DAY!


--------

Right. Geoffkhan won last week's contest, but said I could take over, since he already hosted one recently. So let's make him proud, kiddies!

I was thinking about something last night. You know how when you're browsing through your midi patches or sample collection, you sometimes come accross a sound that makes you cringe? You hear that abrasive synth or that tinny piano and say to yourself, "I'm never going to use that HORRIBLE NOISE in MY BEAUTIFUL MUSIC!!"

Well, that's this week's challenge. You're not too cool to befriend those misfit samples. Find those instruments or sound effects that you never dreamed could be used in GOOD music-- combine them with a few other instruments of your choice in any way you find suitable. And create something that will melt our brains with ORGASMIC MUSICAL PLEASURE!

Any questions?
#10
Well, I don't know what happened, but my computer is being a bitch. Whevever I start my computer, it works fine for a few minutes, and then a program called svchost.exe (in the windows/system32 folder) crashes. When that happens, I can no longer copy and paste from the clipboard, Internet Explorer can't open anything in a new window, and some programs don't run when I clcik on them. I have no idea what to do, so I figured I should ask around. I'm completely stumped, and can't even find the error file that the program wrote to. Svchost is obviously something that works in the background of Windows 2000 and is essential to a lot of basic operations, but that's all I've figured out. I'm not really sure what kind of help I'm expecting to get here, but it's Microsoft tech support is anxious to help..
#11
- Draw someone with an unsightly physical deformity. Like too many arms, too few arms, and arm where a leg should be, or maybe a badly ingrown toenail.. Just use your imagination.
- 6 colors
- Size: 96 x 128
- Animation: Not mandatory, but it would be nice to see some..
#12
The pixelation forum has been down for a few days now. I know a few AGSers frequent there, so I thought I'd just ask here if anyone knows what heppened to it?
#13
This week's subject: Who has the worst job?

- Sprite must depict the person with the worst job in the world. This should not be a job that exists in real life. In other words, be creative..
- 20 colors, 90 x 120 pixels

Animations are welcome, but there will be no monkey love from me.
SMF spam blocked by CleanTalk