two quick questions(solved)

Started by , Thu 03/03/2005 02:28:36

Previous topic - Next topic

B Man

Hi,

2 quick questions here:

1) How do you win/finish a game??
2) How do you make 3D graphics??

Also, please try to keep replies simple because I'm sorta new to AGS.

Thanx!     



~>conFused<~

~>how do you win/finish the game? I have completed all the rooms, but now I don't know what to do. Any help??<~

Bad Voo-doo man

You have to actually make a GAME to go with the rooms
<img>Image Comming Soon!</img>
The Fall of Reach (A Halo fan game)
STORY: 100%
GRAPHICS: 2%
CODE: .56%

Goot

How do you want the game to finish? If you want it to just go to a simple "you win" screen, just make a room for it, check the hide player character checkbox in the room settings pane, and send the player to that room when they win. There's no special way to end the game. You just make your own ending the same way you would make any other part of the game.

strazer

#5
Why the new thread? Your previous one was just fine.

What part of the BFAQ entry don't you understand?

There's not one definitive way to end a game. Some people want to end the game when a certain score is reached, others if the player has done something within the story.

When the player does what he is supposed to do to end the game (for example use an inventory item on a certain hotspot), do what you want do to, for example displaying a winning message or running a cutscene, play a movie, whatever.
Then you can return to the first room, quit the game, whatever you want to do.

Let us know what the player in your game has to do to so he wins the game.

Scummbuddy

Quote from: strazer on Thu 03/03/2005 04:51:02
Why the new thread? Your previous one was just fine.



I did merge the two threads, and yes, we know you are a guest, but you also must respect our forum rules.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

~>confused<~

Is there a way of exiting the game (on the "you win" screen) without that console script thingie?

Scummbuddy

search in the manual...
------------------------------
QuitGame
QuitGame(int ask_first)

Exits the game and returns to the operating system.
If ASK_FIRST is zero, it will exit immediately. If ASK_FIRST is not zero, it will first display a message box asking the user if they are sure they want to quit.

Example:

QuitGame(0);

will quit the game without asking the player to confirm.

- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

~>confused<~

do you type that in the script?

Scummbuddy

give us the example from your game, then we can help tailor the script to fit your game. we'll also tell you how and where to put it.

do you want it to go to a blank room after, say, credits have passed?
do you want to quit right after someone picks up an inventory item, says a couple witty lines of dialog?
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

~>confused<!

I want it to, maybe say a couple of messages, and then quit to the desktop.(This is one of my first games, so I forget to put a menu)
And what do you mean by an example of my game?

Scummbuddy

i said example from your game, not an example of your game. and you did give us the example from your game of what you wanted to do.

have you used the room interaction menu before? the little button thats a red "i".
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

~>confused<~

yes, I have used the room interaction editor. I'm not that new to AGS. what I wanted to do is have maybe a hotspot that says "quit game", and when you click on it, It would exit to your desktop.

Goot

There's an interaction on the list called "quit game" assign it to that hotspot, or assign run script to the hotspot and type "QuitGame(0);" in the script.

~>confused<~

where is it?? I can't find it on the list. What catergorie is it under: game, conditional, player etc.

Goot

I'm not sure, I've just heard other people say that. Use the script way. Choose run script from the list. Then Click on edit script. Type:

QuitGame(0);

if you want it to prompt the user with a "do you want to quit" window, do QuitGame(1); instead.

~&gt;confused&lt;~

#17
thanx goot, problem solved. I used the QuitGame (1);.

SMF spam blocked by CleanTalk