Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Movement & Textbox Display

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Mr B




Joined: 20 Mar 2003
Posts: 382

PostPosted: Sun Oct 02, 2005 1:17 pm    Post subject: Movement & Textbox Display Reply with quote

Hey folks,

Is there any particularly elegant way to permit player-controlled hero movement while textboxes are being displayed?

I have a continuously-running "while" loop that displays textboxes. I want the hero to be able to move while textboxes are being displayed, because a lot of the action occurs whilst characters are talking.

I think that I could emulate this by suspending the heroes and having a script that moves the hero when certain keyboard keys are pressed, but this is an horrific and unelegant solution. Any suggestions?

Thanks,
-B
Back to top
View user's profile Send private message
Moogle1
Scourge of the Seas
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 15 Jul 2004
Posts: 3377
Location: Seattle, WA

PostPosted: Sun Oct 02, 2005 7:08 pm    Post subject: Reply with quote

That's really the only way to do it, B. You can't use the built-ins for that kind of thing.
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address
AdrianX
..yeah.




Joined: 13 Feb 2003
Posts: 286
Location: Batangas City,Philippines

PostPosted: Mon Oct 03, 2005 3:44 am    Post subject: Reply with quote

..if it's the npcs that you want to move while there are textboxes it's pretty easy;just don't use any "suspend npcs" in your script..but i bet you already know that Ha ha ha!
..if you're talking about the heros moving while there is a text box displayed,i guess all you can do is let the hero move before calling the text box; like:

walk hero(me,right,5)
show textbox (235)

that way,the player can see the hero move and almost at the same time,there is a text boxed displayed.
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Moogle1
Scourge of the Seas
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 15 Jul 2004
Posts: 3377
Location: Seattle, WA

PostPosted: Mon Oct 03, 2005 4:02 am    Post subject: Reply with quote

Um, you can put the walkheros after the showtextbox. He knows that much, anyway, he just doesn't want to have to deal with scripting his own walkscript.
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address
Mr B




Joined: 20 Mar 2003
Posts: 382

PostPosted: Mon Oct 03, 2005 8:45 am    Post subject: Reply with quote

Well, I ended up making a decently simple movement script. Using "suspend player" gives me the willies, though.

What I am wanting to do is to allow the player to move the character while conversations are going on. In a manner of speaking, the conversations are the puzzles, and the player's actions cause the conversations to change. That's why I need the hero to be able to move in response to player actions while all of this is going on.

I wish there were a better way to do this, but it's good to know that I am on track. Thanks.
Back to top
View user's profile Send private message
Mike Caron
Technomancer




Joined: 26 Jul 2003
Posts: 889
Location: Why do you keep asking?

PostPosted: Mon Oct 03, 2005 9:16 am    Post subject: Reply with quote

That's kind of like in Chrono Trigger. You can actually leave the room while an NPC is talking.
_________________
I stand corrected. No rivers ran blood today. At least, none that were caused by us.

Final Fantasy Q
OHR Developer BLOG
Official OHRRPGCE Wiki and FAQ
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Mr B




Joined: 20 Mar 2003
Posts: 382

PostPosted: Mon Oct 03, 2005 10:38 am    Post subject: Reply with quote

Yeah, huh; I've forgotten that aspect of Chrono Trigger.

Hopefully this will be somewhere as impressive. It's for the Halloween contest, so you'll see it in some way, shape, or form within the month. At least, here's hoping!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group