Page 1 of 1

Couple of quick questions.

PostPosted: Sat Nov 06, 2010 5:24 pm
by destinydesignlabs
I haven't uses Game Editor in over a year, so im rusty. These questions are all nooby, so flame away if you want. Now I am going to cut right to the chase.

1. I have Txt number for Cash, Health, and Energy. (CashTxt, HealthTxt, and EnergyTxt are the actor names.) How do I make EnergyTxt and HealthTxt start out at 100, on the start of the game. I have set the text to 100, but evertime I take away some from it, it starts counting at -1,-2, etc. Im thinking that I have to declare Energy and Health to be 100, on the draw actor script, but im not sure.

2. How hard is it to incorporate saved games, mainly saving the cash, health, energy, and location of the player.

3. How hard is it to set up a option menu, allowing the player to change the color of the border. (See uploaded picture) I have 6 different colored ones, where the black is transparent. I want them to be able to change the color of the grey part.

I apoligize again for the nooby questions, but I haven't did any game working in a year or so. All I have done lately is HTML,CSS,JS, and IT work.


Sincerly,
Michael Ward
DestinyDesignLabs (Not Registered)

Re: Couple of quick questions.

PostPosted: Sat Nov 06, 2010 5:40 pm
by jimmynewguy
1) add event in actor control panel (aka right click on the actor and click add next to events) -> create actor -> script editor -> type the following:
Code: Select all
textNumber = 100;

2) There are plenty of saving demos around here, player position and 3 numbers is really quite easy.
You could figure it all out after watching hblades tutorial im sure: http://www.youtube.com/watch?v=EOKFAjeAfPk

3) Depends on how you want to do it. Do you have set colors, or can the player pick any color they want? And no picture was uploaded for us to see, I could make a demo for you if you show me the picture and answer my question.

Re: Couple of quick questions.

PostPosted: Sat Nov 06, 2010 5:53 pm
by destinydesignlabs
Thanks for the quick reply. I have set colors (7 in total). Grey,Bight Red, Purple, Neon Green, Bright Blue, Dark Red, and Dark Blue.Image If the image tags dont work for me here is the direct link http://destinydesignlabs.webs.com/Quick ... fLayot.JPG The only thing different about them is the color