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

#2921
Okay, beginners lately have been starting topics regarding paint programs. I will remind everybody now that this is not a subject that belongs in the Beginners' TECHNICAL Questions forum. Only the following topics belong here...

<> Questions regarding simple scripting (like basic stuff).
<> Questions regarding non-scripting basics, like GUIs, set-up, music, and icons, etc.
<> Short, small introductions to oneself ONLY if the post includes a question regarding AGS.

And please, always remember to RTFM...READ THE F***ING MANUAL!!! Failure to do so will result in us telling you this...



:P Heh, maybe not really, but seriously, check all avenues before resorting to asking us here. Also...

THE OFFICIAL AGS BEGINNERS' FAQ, hosted by ME!

Many questions asked lately can be answered here. So check it! Yeauh!


Keep in mind that topics should go to their appropriate forums... (what follows is only my understanding of the format here)

Tech Forum: Advanced scripting questions, bug & error reports, anything considered advanced.
AGS Chit-Chat: Anything regarding AGS, adventure games in general, and the AGS community itself.
Games in Production: A game you are working on currently and have several rooms done and work to show for it (screenshots, demos, etc.)
Released Games: Fully finished games you want to announce (not demos)
Critics' Lounge: Post your artwork and other stuff to have it criticized and commented upon ("C&C").
Competitions: Just what it says. BG Blitzes, sprite jams, et al go here.
General Forum: All other miscellany.

From now on, any threads started that don't belong here will simply get deleted. I won't clean up after you guys if you know very well where your topic should go.

By the way, there is already a stickie thread for paint programs in the Critics' Lounge forum, which can be found here:

BIG List of Paint Programs!
#2922
Quote from: plasticman on Wed 09/07/2003 23:00:23
hi i made this bg



c+c plz

That sucks, you talentless ASS! Go play with your pixels somewhere else!  >:(

And here, you jackasses... http://www.harbinger-software.com/bts/bts_full.zip HOPE YA LIKE WAITING 5 FUCKING WEEKS FOR IT TO DOWNLOAD, DICKWADS!!! BAH!!!

I am also charging $200.00 per CD if you want it shipped to the cardboard box you f*cking live in.

And, oh yeah, Yufster is fugly (f*cking ugly) and I'm GAY!!! Just you wait until teh 13th..


Oh yeah, and why not make THIS thread the one we post our crap in? ;)
#2923
Um, it's displaying "Welcome,  name" because you're telling it to display the string "Welcome, name" word for word. Do what Wolfgang posted.

string tehName;
InputBox("What is your name?",tehName);
Display("Welcome, %s",tehName);


First, it creates the string called tehname. Then, it creates an input box with the prompt "What is your name?", where the reply wil be stored into the string "buffer" called tehName. A buffer is merely a parameter that is used for output, not input. Usually, functions take in parameters as input, like MoveCharacter(EGO,123,234,0);, where the inputs are the character name, the coordinates, and whether or not it is direct. But in the case of InputBox, only the frist string, the prompt, is an input. The buffer, tehName, is used for output, where the reply will be stored.

Finally, this code will display the strting "Welcome, " followed by whatever is stored inside the string tehName, which will hopefully be the player's name that he just entered before.

Hope that helps. :)

EDIT:

However, if you want this variable to be used in other scripts in other rooms, make sure you include export string tehName; at the very end of the script in which it's declared, and then import string tehName; at the very beginning of any room scripts that you're going to use that variable. It doesn't have to be called tehName, mind you. It can be called anything you want, just keep in mind that it should probably be unique so that you can remember what it is later on. :)
#2924
Why is there almost always at least one thread on each forum that ends up as or starts off as a discussion about paint programs? :P I had to clean out the BegTech forum of paint program discussions, because it wasn't the place. I'm starting to wonder whether CJ should just make a new forum for paint program discussions or not. :)
#2925
Yeah but the problem is, I don't really understand it. It's all Greek to me. I was originally just going to do everything in HTML and not make it too complicated.
#2926
Hmm, in my game, By the Sword, I'm trying to balance light comedy with seriousness. The plot overall is serious, and the comedy I hope won't overrun it like Space Quest.

I've noticed that there are two types of (non-romantic) comedic movies: those that are hilarious and off-the-wall funny, and those that are about life, and the comedy is almost second to the drama. Examples? (1) Dumb and Dumber, BASEketball, etc. (2) American Pie 1-3, ... um... can't really think of any more at the moment. But I must say I enjoy type 2 comedies more than type 1 because of the balance of semi-drama and comedy. :)
#2927
Whew. The more and more similar examples I see, the less enthusiastic I become over making an online code snippet repository.  :o
#2928
Also, why not add more frames to give the fairy a hovering effect? :)
#2929
I really should've started a new topic regarding my suggestion, but this is actually a suggestion to improve a new feature... I want to use GetHotspotProperty() in the on_mouse_click event to check if a certain hotspot in a certain room is one where the player normally walks to and then looks at. Only problem is, you really can't access any hotspots from a global function. Maybe you could add another parameter in that function (and the others too, I suppose, to keep things similar) to get a certain hotspot in a certain room. As it is, you can only access it from within the room itself apparently. Is this possible?

:) Sorry if I'm cluttering up this thread.  :-\
#2930
CJ: I didn't think of that. If I put in a face-location command on the on_mouse_click function, wouldn't it occur before the character walked to the hotpot's walk-to point? If so, I was thinking of a way to have the character face that location after the walk-to was performed.

I dunno, I just thought it would be an easy suggestion, but it might clutter things up a bit and might not even be necessary. Sorry.
#2931
Hmm, there's a lot to go thru, even in just the Tech forum, as for code snippets and solutions, etc.

I have one tut so far in mind, that of a custom inventory, like explaining the basics and what's needed, etc.
#2932
This is a good suggestion, however, because it would get messy if you needed a bunch of "lose-inv" type scenarios. It's just about organization and neatness, that's all. There are workarounds, of course, but I think this is an easy suggestion to implement. :)
#2933
Yeah, sorry, after I more fully explored your site,  I edited my post. :P

Do you know of any good PHP tutorials then? :)
#2934
Oh. So it's already been done. Can I still do my own anyway? ;)
#2935
Chris, I have a suggestion. It's a really small one, but something that I could really really use and wish I didn't have to script to work around it. When interacting with hotspots, what if there was also an option beside the walk-to thing where you could have the player also face a certain direction after interacting with the hotspot and walking to it. Like a checkbox where you can toggle this per hotspot, then either give a direction, or maybe even just inputs for coordinates, or even wherever the player clicked, as a default value. Would this be possible?

If this were implemented, then mylife would be complete and all will be right with the world. ;D
#2936
Enough. Seriously, this is NOT the forum for art questions. Okay? I'm going to keep locking wrongly-placed threads until peopel learn. i apologize if I seem pissed, but I refuse to move topics. You should know where they go. :)
#2937
I really, REALLY don't like saying "Read the manual," but in this case I have to. I think it explain it well, unless of course English isn't your first language. In which case I apologize.

Let's say you have music labeled music1.mid, music2.mid, music3.mid, etc. in you're game's main directory, simply call something like "PlayMusic(2)" to play music2.mid, or if it's a text box asking for the music number, just use the number 2 for music2.mid. Easy as that. :)
#2938
Meh. Read the forum/site rules. I'm not even gonna bother moving this topic. Do it on your own. :) Sorry.
#2939
General Discussion / Re:a game for JULY
Mon 07/07/2003 05:32:28
Quote from: DGMacphee on Mon 07/07/2003 03:59:32
Play "With Yourself"!

It's a great game! ;D

Are you kidding? I've already beaten it!!! HAHR!!1 ;D
#2940
This is a good suggestion though. lose-inv should be there with add-inv in the dialog script as well. I mean, it makes sense. To make sure Chris reads this, I am moving it to the Tech Forum
SMF spam blocked by CleanTalk