Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Anarcho on Mon 17/01/2005 20:51:26

Title: Won't Walk to Bottom of Screen [SOLVED]
Post by: Anarcho on Mon 17/01/2005 20:51:26
I've run into this problem constantly.  I've set the room base lines as low as possible on the screen, but I can't get my player to actually walk to the bottom of the screen--so that the player's feet are at the base of the room.  It makes it quite annoying, because in some rooms I'll have a region at the very bottom that sends the player to the next room, but I can't get the player to actually walk there.  What's the deal?  I figured it would just have to do with the base lines, but changing them doesn't seem to do a thing.
Title: Re: Won't Walk to Bottom of Screen
Post by: Skio on Mon 17/01/2005 21:21:08
   Is the bottom edge of the sprite directly under the feet? Or is there some transparent area? If this is the case then right-click on the sprite in the manager under select "crop sprite" (or something)

That's all I can think right now.
Title: Re: Won't Walk to Bottom of Screen
Post by: Anarcho on Mon 17/01/2005 21:26:14
There's a little bit of space below the sprite's feet, but not enough space to prevent her from walking to the bottom of the screen...at least I don't think there is.

EDIT: I just cropped the sprites, and it didn't change a thing.  It's as if there's a GUI on the bottom of the screen that's blocking her from walking there, but as far as I can tell, there's no such thing in the program.
Title: Re: Won't Walk to Bottom of Screen
Post by: strazer on Mon 17/01/2005 22:27:57
QuoteI've set the room base lines as low as possible on the screen

Rooms don't have "baselines". Baselines are a feature of objects, characters and walkbehinds to handle what is drawn in front of what.

If you're talking about the yellow lines in the room editor, these are the room edges that can trigger an event if the player character walks into them.

To make your character be able to walk anywhere, you have to draw a walkable area in the Room/Areas editor. Are you sure that your walkable area extends to the bottom of the room?

If you use 320x200 or 640x400 resolution and run the game in letterbox mode (General Settings or Game Setup), you will have black borders at the top and bottom of the screen that can't be used.
Title: Re: Won't Walk to Bottom of Screen
Post by: Anarcho on Mon 17/01/2005 22:42:46
Ok, sorry, I meant the room edges.

Yes, the walkable area extends to the very bottom of the screen.

I am running in letterbox, but I'm not talking about walking in the black borders.  I'm talking about an eighth of the screen at the bottom of each room that cannot be walked on. 

Just for the heck of it, I turned off letterbox mode and the same problem occurs.
Title: Re: Won't Walk to Bottom of Screen
Post by: Gilbert on Tue 18/01/2005 02:13:36
Were you running it in windowed mode?
As far as I remember it's quite hard to navigate the cursor to the very edge of the screen in windowed mode, so my advice is that you shouldn't be putting the room edges too close to the screen edges.
Title: Re: Won't Walk to Bottom of Screen
Post by: Anarcho on Tue 18/01/2005 22:54:29
I'm not playing it in windowed mode.  I don't have any problem getting the cursor to the bottom of the playable screen, the player won't react when i use the walk icon in the lower area. 
Title: Re: Won't Walk to Bottom of Screen
Post by: Necro on Tue 18/01/2005 23:30:42
it may be about time for you to upload it somewhere so we can have a look at what the problem could be.
Title: Re: Won't Walk to Bottom of Screen
Post by: Anarcho on Wed 19/01/2005 01:56:34
Wait, I've proven myself an idiot yet again.  I have a status line at the bottom of the screen.  it's transparent except the words...but that must be it right?  It's not letting her walk over it?  Is there a way I can allow her to walk over it?
Title: Re: Won't Walk to Bottom of Screen
Post by: strazer on Wed 19/01/2005 02:02:06
Yes, if you don't need the gui to respond to mouse clicks, uncheck the gui's "Clickable" checkbox.

Your character is able to walk there, but the mouse click was intercepted by the gui, that's why it wasn't working.
Title: Re: Won't Walk to Bottom of Screen
Post by: Anarcho on Wed 19/01/2005 02:12:08
Ah, that's it!  Thanks so much.  Sorry for not realizing this sooner.