Showing posts with label CJ requests. Show all posts
Showing posts with label CJ requests. Show all posts

Tuesday, March 23, 2010

AGS History X: Lesson 1 - You thought I'd never find out

Well, it's bad news people. I have found the link to the old AGS forums. I'm going to track what I always craved, but in the meanwhile, your darker secrets are no good.

To help those following the blog remember:

Topic: "My music making days are over!!" by Mods
or well, let's go for a really cheesy one

Page: The best fact page. Sorry the really cool links don't work, but you will see the following:
-Announcement of the first RON game.
-Mods first attempt to Mittens
-Yahtzee posting in the AGS forums


Topic: "Where to go with these forums" by Chris Jones (Pumaman's secret identity.
See how Chris Jones moved the forums from Eg-zboards to UK.

Topic:"Evil Night" by Snake.
See what was Snake working on before Leitor's edge..

Also self-note: RickJ used to be rickj42? You sneaky!!

Tuesday, April 29, 2008

Go to definition

In the middle of the night, I received what I like to think of as a "personal message" from what I like to think of as "Chris Jones". Our illustrious AGS author has asked me to blog about the "Go to function definition" feature of AGS 3.01 and beyond.

When writing a script, we can hit F1 on any built-in function to get the context-sensitive help. But if you right-click on the function name you are calling, you can also go to the function definition if it is in one of your own scripts or modules. This is a very handy feature and lets you navigate your code with ease. You don't need to remember which script the function is defined in, and if the script is not already open, AGS opens it up for you and goes to the correct line.

Because of this feature, I suggest that module authors could perhaps put a bit of documentation for each function after the first line of a function, becuase if the user uses this feature, it makes it very easy for them to access that documentation. Its also good to have documentation in one place as well, though, so this is as a supplement to any other documentation (which I always put in the header file of my modules). I haven't been doing this yet, but I intend to do so on the next release of any modules that I do.

Friday, March 21, 2008

A sign to view

Well, the great one has spoken. The very founder of the religion known as "AGS" His Most Circumalliumness Christopher Quentin Jones has deigned to read my humble blog. And in doing so, he commanded me to write about the AGS "Assign to View" feature. How can I but obey?

The "Assign to View" feature is a handy way to "push" sprites into views from the sprite manager, rather than "pulling" them into a view one at a time from the View manager. You'll find it in AGS 2.72 as well as the most recent 3.0, but I'll describe the new one here. They're both pretty intuitive once you know they're there, anyway.

So, first click or drag or shift-click or control-click to select the sprites you want to add to a view. This might be part of your walk cycle or another animation that you've imported. Then, right-click on one of your selected sprites and a huge menu pops up with more options than you can shake a stick at.

Choose the "Assign to view" option and a dialog box pops up in the Editor. Here you can select how to add these sprites to a view and clicking on the button beside the view number give you another dialog box that lets you choose which view, along with a handy preview of existing loops in the view.

If you choose all the options you require, you can then head over to the View editor tab and check out your lovely new frames, loops and views. Easy as pie.