Author Topic: AGI Newbie need some basic help  (Read 10084 times)

0 Members and 1 Guest are viewing this topic.

Offline Jelle

Re:AGI Newbie need some basic help
« Reply #15 on: November 22, 2002, 04:11:10 AM »
I find Vector very useful, all pictures my game contains, are drawn in paint (Have a look) and then converted with Vector...

the -p [prio] is an option, use vector this way:

vector -p priority.bmp visual.bmp picture.xxx
xxx = a number between 000 and 255 I think.
This will create a picture containing both the visual screen and the priority screen.

Quote
you have to be careful on how to draw the original image, otherwise it might be distorted when it is converted
Just set your height = 168 and width = 158 and then everything should be just fine.
Politics is supposed to be the second-oldest profession. I have come to realize that it bears a very close resemblance to the first.

Offline Jocke The Beast

Re:AGI Newbie need some basic help
« Reply #16 on: November 22, 2002, 05:42:31 PM »
Thanks for the answers,guys! Really usefull to get some help here.

Ok, more questions:

- Which Sierra AGI-games are full-working within AGIStuido ? I noticed that Larry1 had some problems...

- Is it legal to release (freeware) a fanmade agi-game with a the start file (sierra.com or mygame.com) ?

- The template game seems very usefull. Do u guys use the template when making your games ?





Offline Joel

Re:AGI Newbie need some basic help
« Reply #17 on: November 22, 2002, 11:01:51 PM »
About messages and defines:

You can use either:

print("Hello");

or

print(m1);

with m1 defined as "Hello"...

I would recommend doing the print(m1) type thing if you have a message that may be printed in several different places in a logic. For example, you might have a "You're not close enough" message that will be printed if the player tries to open a door from too far away or tries to get an object from too far away.

In that case, it's better (as far as code maintenance goes) to have something like:

#message 3 "You're not close enough."

And then use:

print(m3);

anywhere the message needs to be printed. An even better approach is to do what I just showed and add a define at the beginning of the file like this:

#define MSG_TOO_FAR_AWAY m3

And then use:

print(MSG_TOO_FAR_AWAY);

when printing it out.

About the template game:

I'd say the vast majority (like 99.99999%) of the fan games out there are based off some version of the template game.

Offline Nick Sonneveld

Re:AGI Newbie need some basic help
« Reply #18 on: November 22, 2002, 11:20:48 PM »
really?  I was under the impression that the current compiler grouped together messages that were the same?

I'd agree with you if you were talking about commonly used message fragments though (ie "you can't do that because ..." or something)

- Nick
Nick Sonneveld  |  AGI Dev  |  NAGI

Offline Joel

Re:AGI Newbie need some basic help
« Reply #19 on: November 23, 2002, 01:13:28 AM »
what I mean is that it's better, maintenance-wise, to have this code:

Code: [Select]
#define MSG_TOO_FAR_AWAY m3

if (said("open", "door"))
{
  print(MSG_TOO_FAR_AWAY);
}

if (said("get", "key"))
{
  print(MSG_TOO_FAR_AWAY);
}

return();

#message 3 "You're not close enough."

than to have this code:

Code: [Select]
if (said("open", "door"))
{
  print("You're not close enough.");
}

if (said("get", "key"))
{
  print("You're not close enough.");
}

Because if you want to change the message to something else (e.g., "You're too far away." or "You can't reach it from here."), then the second code can become a maintenance headache while the first is easy to change.

Offline Nick Sonneveld

Re:AGI Newbie need some basic help
« Reply #20 on: November 23, 2002, 02:09:44 AM »
ah sorry, I understand now.  I was forgetting about maintenence.

- Nick
Nick Sonneveld  |  AGI Dev  |  NAGI

Offline Jocke The Beast

Re:AGI Newbie need some basic help
« Reply #21 on: November 23, 2002, 11:59:46 AM »
Thanks for the answers! Really nice people here...

Anyway, can anyone answer theese 2 questions:
Quote
- Which Sierra AGI-games are full-working within AGIStuido ? I noticed that Larry1 had some problems...

- Is it legal to release (freeware) a fanmade agi-game with a the start file (sierra.com or mygame.com) ?

Offline Jelle

Re:AGI Newbie need some basic help
« Reply #22 on: November 23, 2002, 01:40:25 PM »
Quote
- Which Sierra AGI-games are full-working within AGIStuido ? I noticed that Larry1 had some problems...
There are some problems with opening certain logics. Have a look here: http://www.mega-tokyo.com/forum/index.php?board=4;action=display;threadid=2025


Quote
- Is it legal to release (freeware) a fanmade agi-game with a the start file (sierra.com or mygame.com) ?
I thought it was legal as long as you don't...      sell the games / make money out of them.
Politics is supposed to be the second-oldest profession. I have come to realize that it bears a very close resemblance to the first.

Offline Zonkie

Re:AGI Newbie need some basic help
« Reply #23 on: November 23, 2002, 05:33:58 PM »
I was thinking about this for a while as well: If you enter your game in a competition of games for a magazine, where you can actually win a prize if you send in the best game, would it still be legal to send it in with an interpreter? For which editor would it be, for which wouldn't it?

I was just wondering if any of you knew...

Zonkie

Offline Andrew_Baker

Re:AGI Newbie need some basic help
« Reply #24 on: November 23, 2002, 09:47:06 PM »
Well, if Sierra holds a patent on the resource formats, you wouldn't be able to submit any component of your game, I would imagine.

That notwithstanding, it would probably constitute copyright infringement to package the original Sierra interpreter with your game.

However, it should be perfectly legal to distribute one of the next-generation interpreters like Sarien and Nagi.
I hope you realize that one day I will devour the Earth.

Offline Nick Sonneveld

Re:AGI Newbie need some basic help
« Reply #25 on: November 23, 2002, 10:16:33 PM »
Sierra holds patents on some SCI stuff (like path finding and some sound stuff) but nothing that I know of on AGI.  

Copyright applies to source and written works as far as I know.  Somehow it applies to compiled code as well.  Things are still kinda hazy on reverse engineered stuff.

If you're putting it on a magazine CD.. you would want to use NAGI or Sarien.  Many people's machines don't run DOS programs properly now.

- Nick
Nick Sonneveld  |  AGI Dev  |  NAGI

Kon-Tiki

  • Guest
Re:AGI Newbie need some basic help
« Reply #26 on: November 24, 2002, 08:01:26 AM »
Sorry to be so late about this: but Jocke: for making sounds, try using AGISE. It won't give all those problems converting gives. You can get it here.

-Kon-Tiki-

Offline Zonkie

Re:AGI Newbie need some basic help
« Reply #27 on: November 24, 2002, 08:04:51 AM »
So if i sent it in and gave it in with NAGI as the executable, that would be alright with you? Which copyright information would I have to include, like a readme file that mentions you as the author of the interpreter?

Here the other programs on those CD's are really weak, I guess just about any fanmade game could win first place (which is a free game of your choice :D).

Zonkie

Offline Nick Sonneveld

Re:AGI Newbie need some basic help
« Reply #28 on: November 24, 2002, 08:08:13 AM »
I'm not sure what the license I used for NAGI dictates.. but I would be happy just with my name somewhere.  If you distribute SDL.DLL with it (which you probably will for convenience), make sure you include that SDL readme file cause it's required if you package it with anything.

- Nick
Nick Sonneveld  |  AGI Dev  |  NAGI

Offline Jocke The Beast

Re:AGI Newbie need some basic help
« Reply #29 on: November 24, 2002, 11:38:26 AM »
Kon-Tiki: Thanks! It's downloaded. Phew! Now I must have downloaded all the utilities I need for programming/developing a AGI-game  :)

All:
Ok,another newbie-question:
- What is NAGI and Sarien ? My guess (after checking out some agi-related sites) is a that it's a executable file (same as sierra.com) only that someone else made it...
But does that file (nagi or sarien) make any different to a AGI game's code/appearance ?





SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.045 seconds with 21 queries.