User Tag List

Results 1 to 4 of 4

Thread: Text in a Game

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Dec 2006
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Text in a Game

    I'm trying to make it so that in my game you can insert text into an edit box so that when "enter" is pressed the text goes to a string object and the text is deleted from the edit box((this is for the dog game I'm making for my friend) so the computer tells you the dog is hungry and you type in "food" and the dog's food bowl fills up). Can anyone think of how I can do this?

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Text in a Game

    Create an edit box and a string object.

    Press enter
    - Set string to contents of edit box
    - Set contents of edit box to ""

    String object = "food"
    +One action when event loops
    - Fill up dog bowl

    Is that what you're after? I'm not really sure.

  3. #3
    Clicker Multimedia Fusion 2

    Join Date
    Dec 2006
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Text in a Game

    That worked, thanks a lot.

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Text in a Game

    If you don't need the string to actually be displayed, you can completely skip the part where it sends it to the string, and just see if the edit box = "food".

Similar Threads

  1. |Problem with Text based game| Help!
    By dkt in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 14th May 2009, 11:47 AM
  2. ini text based game for Nickydude
    By SEELE in forum File Archive
    Replies: 4
    Last Post: 7th November 2007, 03:42 AM
  3. Text Input in game
    By Rick in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 15th December 2006, 09:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •