Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: FinalSin on Thu 11/03/2004 17:54:13

Title: Player Character Start
Post by: FinalSin on Thu 11/03/2004 17:54:13
Christ! What the hell have I done!

OKay, I tried to see if I could move the text of an invisible player character so that it didn't put itself on the centre of the screen. "FinalSin." I tell myself, "All you need to do is change the starting room and the co-ordinates for the invisible character."
So I do that and a floating Roger appears in the top left of the screen.

Bugger.

Okay, so I go back and move it back to starting room (-1) and put the co-ordinates back. I go through and find the room... and he's still there.

Bugger.

Then I thought I'd get rid of the 'normal view' and that would solve the problem. For some reason I couldn't change it to 'none' so I fiddled with the player character.

Ah, big mistake.

Now my main character starts in the middle of the screen and not in a walkable area AND I can't do anything about it!

And my design team is going to kill me when they find out... :o

Help!
Title: Re:Player Character Start
Post by: FinalSin on Thu 11/03/2004 18:05:42
By the way, FYI, I have managed to claw my way through the game and the invisible character is now successfully invisible, so the two problems that remain are:

1. The text remains in the middle of the screen.

2. My main character is screwy in the first room and I need to change where he comes in from.
Title: Re:Player Character Start
Post by: SSH on Thu 11/03/2004 18:15:47
There's an EDIT button int he forums, btw...

1. So JUST change the X and Y pos of your invisible character. It doesn't matter that he's not in the same room.

2. So change your main character's starting X and Y too. Or put a script in "before fadein" that sets player.x and player.y...

Title: Re:Player Character Start
Post by: strazer on Thu 11/03/2004 18:38:07
Am I missing something? Why don't you use DisplaySpeechAt?
Title: Re:Player Character Start
Post by: FinalSin on Thu 11/03/2004 18:40:28
Displayspeechat sounds intriguing - just put that in the scripting?

And thanks SSH too!
Title: Re:Player Character Start
Post by: strazer on Thu 11/03/2004 18:47:51
QuoteDisplayspeechat sounds intriguing - just put that in the scripting?

I don't see that option there, but I don't use the interaction editor that much.
So yes, you have to use scripting (set action to "Run script").
Check the manual for the different parameters you can use with DisplaySpeechAt.