Scripting Approach for a Unity3d Hangman type of game

Hello all

I am wondering how you pro’s might approach programming a hangman type of game.

Would you build some strings or arrays of key words and phrases internally in memory and then use Unity GUI to dynamically draw empty letters on screen? ie using the underscore key _____ And then replace the underscore key with the proper letter if it was guessed. Can this approach even work?

Would you approach it all graphically with assets instead of GUI elements? ie I would assume that you would use planes with all the letters of the alphabet on them?

Are there some other approaches that would be more efficient?

Cheers,
Jeremy

Hi all

I guess judging by the lack of responses I was either not clear enough or I am completely nuts for wanting to do a hangman type of game in Unity. :smile:

To be clear I am not looking for anyone to program the game for me I am just after some direction as to how programmers might handle dynamic text on screen in Unity. Is Unity GUI the way to go? Would a more graphical/asset approach be better? A combination of the 2 approaches? I am a Flash designer/developer so I know how to approach this type of game in Flash. I am however a unity3d newbie. I have been through a number of Unity3d tutorials ranging from Unity GUI to the xml high score example and more. I am wondering what might be the best approach conceptually to dealing with dynamic text in Unity as it might pertain to a hangman type of game.

Ideally the hangman game would:

  1. Have an external text source (.xml, mySql, or .txt)
  2. Utilize the string functions to load and break up the words or phrases and display blank characters and correctly identified characters on screen somehow

Does anybody have any suggestions?

Cheers,
Jeremy