Need help with beginner questions I couldn't find

Started by Houchin, Tue 31/07/2007 16:57:05

Previous topic - Next topic

Houchin

Hi, I'm quite new to AGS, and I'm having trouble trying to follow what the tutorial to AGS.  You see, my first game is doing strange things, like not displaying text when I look at objects, but when I look at myself, it says "Damn!  I'm looking sexy" (Trust me, I didn't put that message in  :))

AGS has also not allowed me to test separate rooms when I have more than one.  In fact, AGS has only allowed me to play the first room each time I try to test the game.  It isn't because I haven't saved the room or game.  I have.  But trying to test another room isn't working.

I'm sorry if these are in the manual, or the AGS Wiki link,  but I searched practically all day yesterday looking for an answer in the manual, AGS Wiki, the AGS forum search, and I've even tried to play around with what I know so far about making a game in AGS, but it isn't working so far.  So please help a hopeless beginner game creator  ??? ??? ???

I should say, I'm not really finished with the tutorial yet.  My next chapter is inventory items, but I had a problem with that last time I tried to make a game.  That's a different story though.

Ashen

The default response for looking at the player character is "Damn, I'm looking good!". If it's that, don't worry - it's MEANT to do that. (If it actually says "sexy", something odd has happened - are you using the default template, or one you've downloaded?)
What interactions / code have you used for the Objects that aren't displaying their messages? Without knowing that, it's hard to say what could be wrong.

What do you mean by it "trying to test another room isn't working"? That you can't travel between rooms? (Again, what code are you using?) That you always start in the same room? (Perfectly noraml, you just have to change the player character's 'Start in room' property, or use Ctrl-X in the game - look at the on_key_press function, it calls the 'teleport to room' feature). Something else entirely?
I know what you're thinking ... Don't think that.

AdamM

AGS gives you default messages when you start making a new game - "Damn, I'm looking good", as Ashen said, is default for looking at yourself, but other objects, or hotspots, do not have these messages because you have to add them yourself.

It sounds like you've created two rooms but haven't got a way to travel between them. If you start in the first room, and want to move to the second room to test it, then you need to have a door, or a teleport, or something that will allow you to move to the next room.

The easiest way to do this is to make it so once the player walks past the edge of the screen, it changes to another room. This is partly covered in the Tutorial Part 3 at the bottom of the page, 'Edges', where you can learn how to go to a different room when your character walks past the edge of it.

If you've set the edges of the room (the yellow lines), then go to the 'Settings' tab for the room and click the button for the Interaction Editor. If you want to set the room to change when you walk off the edge, you will see this function as "Player - Go to a different room". Assuming your rooms are numbered 0 and 1, change the value "New room number" to 1, and then when you next walkover the yellow lines, you will be moved to the second room.

Houchin

Alright, thanks for clarifying the "Damn, I'm looking good" thing, it was bugging me  ;)

What I meant earlier was that when I tried to make a game using the tutorial the 1st time,  my game messed up (scripting problems with the inventory, I don't know which ones though.  Like I said, I'm quite new to this program).  Then the second time I made a game, I made two hotspots, but the problem was, was that when I tried to look at them, the text didn't show up, unlike the 1st one.  I don't know what happened, but I remember that the interactions for these were just "Game - Display a Message"

That's it.  Thanks for the responses  :)

EDIT:  Hmmmmm.... Somehow, the games are working now, and I'm not experiencing any of these problems anymore.  Only problem I have now is that when I try to pick up an inventory item, the game doesn't actually put it in my inventory, so I have to wait a minute or 2 before the item shows up in my inventory.

SMF spam blocked by CleanTalk