Game Development Community

Character choice screen.

by Rojalee · in Torque Game Engine · 04/07/2007 (4:19 am) · 6 replies

Is this possible:

Character Choice Screen Plan:

1) Create Gui:
       a) the gui will have pictures of the available characters (think Diablo) and a box to input desired name.
       b) a "back" and "start" button
       c) a function to:
           1) assign characters name to a variable.
           2) assign character avatar choic to a variable.
           3) pass these variables to startMissionOne()

2) Assign proper chosen avatar:
    a simple "if" statement in player.cs that will check the char avatar choice variable and assign the proper choice to be the player.

3)  Start mission:
    self explanatory

ps I know thats not code, but it keeps the formatting for easier reading.

#2
04/08/2007 (4:52 am)
That seems like a ton of code for something that should be kinda simple.

I 'll see if I cant figure it out first, that code is overkill for what I want.

but thanks for the link.
#3
04/08/2007 (5:03 am)
Rojalee what you wrote is called pseudocode witch is code that humans easily understand and that all programmers should write the code almost the same way, if the pseudocode is writen well..

just a litle note
#4
04/09/2007 (5:03 am)
The RealmWars demo has a nice character selection screen, IMHO.

Tony
#5
04/09/2007 (10:12 am)
@Rojalee

I created a text file for that resource that explains the code in more detail "classes.rtf". You can download at the top of the resource page. If you have any problems with it I'll try to help you.
#6
04/10/2007 (4:17 am)
@ MB,

Ok will try that.
Get back to you later.