Character choice screen.
by Rojalee · in Torque Game Engine · 04/07/2007 (4:19 am) · 6 replies
Is this possible:
ps I know thats not code, but it keeps the formatting for easier reading.
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 explanatoryps I know thats not code, but it keeps the formatting for easier reading.
About the author
#2
I 'll see if I cant figure it out first, that code is overkill for what I want.
but thanks for the link.
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
just a litle note
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
#5
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.
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.
Torque Owner Chris Elliott
Take a look at garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=11733