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

#801
That's what I understood the problem to be.   I have no other suggestions at this point.   What happens if a TTF font is used?
#802
I am not sure about dialog options but some bit map fonts do not align as one would expect when used on gui controls such as buttons etc.   You may want to try using a different font (TTF font for example) and see if the problem persists.   Maybe someone else has some other ideas about this.?
#803
The first 16 palette slots are used as mask colors.   So you probably have used colors other than this to draw the wak behind areas.   

You may want to consider using another paint program that gives more control over the palatte and the color index.   I like the free version of graphics gale for this purpose.  It also supports layers which often makes things easier in many respects.   You can get it here:

http://www.humanbalance.net/gale/us/download.html
#804
The room script should probably look something like the following.   
Code: ags

// *** Room Script ***
if (GetGlobalInt(1) == 1) {
      oBossHouse.Visible = true;
}
else {
      oBossHouse.Visible = false;
}
#805
Room objects are similar to characters except that each room has it's own set of unique objects.   In general you use the room editor to create an object, assign a graphic for the object and give it a script name such as oMyObject.  In the room script you would tell each object to move from some point near the top of the screen to some point near the bottom of the screen using a  command like "oMyObject.Move(x,y);".   In the repeatedly execute function you would then check to see if the object collided with  the character  using something like "if (oMyObject.IsCollidingWithChar(player)) DoSomething();".   

If you want the object to be animated while falling then you have to assign a view and loop in the script also using something like "oMyObject.SetFrame(view,loop,frame); and then oMyObject.Animate(...).

There is a limited number of objects in a room (don't know the limit in the latest AGS version but it was around 16 a few versions back).   You can find out from the help file by searching for "system limits".  If you need more objects than the room limit you could just use characters instead.

This ought to give you the general idea and should be enough to get you started and reding in the right parts of the help file.   Ask for more help if you get stuck or have more specific questions.
#806
No, not limited to 8 frames.  You can keep adding frames until the frame/loop limit is reached (20, 40, or something).  There is a checkbox in the view editor that allows you to chain multiple animation loops together if more frames are needed.
#807
General Discussion / Re: AGS Foodies Thread
Wed 18/03/2009 22:15:22
What!  No cayenne pepper? That's gastronomical blasphemy!   
#808
Quote
There is absolutely no need for the subtitles on the splash screen to be replaced with quotes from the Bible. It's absurd to request such a thing.
I think we are being had.  I doubt Santiago is a Christian; more likely a horny 14 year old trying to make Christians look bad.  Memo to self: "Stop feeding the troll!".
#809
Quote
Since when is using a hex editor illegal?
It's illegal to modify a copyrighted work and distribute the modification.  The "Christian" version of AGS is clearly an illegal derivative work.  By the hacker's own admission that it was modified using a hex editor without the author's prior permission.   ::)  
#810
Here is the thread where suggestions can be made for cheesy AGS subtitles.
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=31515.0
#811
Have you considered importing the animation frames into AGS and just playing animation loop(s).  My guess is that the delay is due to loading the video into the player.
#812
maybe there is a listbox.function that does something like that but i am not sure.   ;)
#813
When player types text is entered into textbox.  When player types <enter> testbox makes OnActivate event occur which makes event function execute, which copies text into listbox, which displays text player typed.
#814
The situation could be worse!  Imagine what it would be like answering the deluge of questions such as this that would surely follow if he ever did overcome his fear?  Shall we not let sleeping dogs lie/lay and be thankful for our good fortune?
#815
Make a gui with a textbox and a list box.   In the the textbox OnActivate event function add a entry to the listbox something like the following.

Code: ags

     listbox.AddItem(textbox.Text);
     textbox.Text = "";
#816
Try using: ShopGuiCashMonitor.Text = String.Format("Cash: %d", Cash);

[edit]
hehe, 4 seconds too late ... 
#817
Yes.  After disabling FireFox3 Adobe plugin I am able to save PDF to hard drive and open.   If plain text versions are available I would still like to experiment with making a DocBook version. 
#818
@Jim:  Yeah, I know a regular "Sir Postsalot" but if I kindly tell him to just read enough time he may do so one fine day?   I also try to keep in mind that I am answering for other people as well who may have a similar interest or curiosity.
#819
Well, if you had a journal room you would still need to draw a background so why not just use the background for the GUI instead.   If you wanted to make the journal the same size of the screen you could make your GUI that size.   If myou wanted a transparent GUI with journal text over the current room I don't see why the module couldn't be used as is or modified to suit your purposes?

I think if you investigate a little morfe you may find what you are looking for has already been 90% done for you.
#820
If you some one can bring it up to current AGS version I would be willing to refine it from there, provided folks more familiar with the RoN universe have some ideas of what needs to be done.
SMF spam blocked by CleanTalk