Hello, i've been visiting this forum for a while but only just signed up so i could be imparted with knowledge from the experts! :D
I'm working on a dating sim with a group of friends; your truly in charge of programming. I've decided to build the game in Macromedia Director MX as i'm most familiar with it (basic Lingo, at least; enough to run the game).
Here's the question.
Is there a script in Director that enables the player to input a name for a character (the player), have Director remember the name and then place the name where it is specified to appear? Like how you can pick any name for the main character in an RPG game and it comes up in dialogs.
Please and thanks!
Macromedia Director - player's name input
Forum rules
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
-
- Newbie
- Posts: 5
- Joined: Thu Oct 02, 2008 5:24 pm
- Contact:
Re: Macromedia Director - player's name input
[Edit]:
I'm sorry for my stupid mistake! How could I overlook Macromedia Director? Sorry!
I myself don't use Macromedia, so I'm not sure, but maybe it has to do with text input (text options panel)?
I'm sorry for my stupid mistake! How could I overlook Macromedia Director? Sorry!
I myself don't use Macromedia, so I'm not sure, but maybe it has to do with text input (text options panel)?
Last edited by lightdancer on Sun Nov 09, 2008 4:10 pm, edited 1 time in total.
Re: Macromedia Director - player's name input
I laughed heartily. Finally someone goes out of their way to post a non-Ren'Py related question in the non-Ren'Py related section, and then...lightdancer wrote:The way to do this is described in the demo:
init:
$ povname = ""
$ pov = DynamicCharacter("povname")
init start:
$ povname = renpy.input("What is your name?") or Macro
pov "My name is %(povname)s!"
This should work. If not, take a look at the demo. Please note that that "or Macro" will name your character "Macro" if you don't give in any name and click enter.
The rest is left as an exercise for the reader.
-
- Newbie
- Posts: 5
- Joined: Thu Oct 02, 2008 5:24 pm
- Contact:
Re: Macromedia Director - player's name input
Well, I'm sorry, it was my stupid mistake. I just clicked through the posts and didn't notice that it was a non-ren'py related topic or that it said Macromedia in flaming colours. A moment of stupidy.delta wrote:
I laughed heartily. Finally someone goes out of their way to post a non-Ren'Py related question in the non-Ren'Py related section, and then...
But can't you at least help and answer the question instead of being sarcastic? Because you aren't helping either. Well, if you have finished laughing, that is...
Re: Macromedia Director - player's name input
It's been a while since I last used Director (and I wager that hardly anyone else here does either), but this seems to fit the bill:
http://webzone.k3.mah.se/k3jolo/Lingo/lingo2.htm
http://webzone.k3.mah.se/k3jolo/Lingo/lingo2.htm
The rest is left as an exercise for the reader.
Who is online
Users browsing this forum: No registered users