Wednesday, May 30, 2012

Progress

This week I realized that I have to branch out my game more because it is only one pathway. Choice games have multiple paths and multiple endings. I decided that I would have 3 endings to keep it basic. The 3 endings are:
1. Find a cure for the disease and take over Moriarty, the evil ruler. This is the best ending and it will probably be the hardest to achieve.
2. Take over Moriarty but not find a cure. This is the semi-good ending because you could not save the people from the disease but you still took over as a ruler.
3. Fail. This is the worst ending and this is basically not finding a cure and not being able to take over Moriarty. This one could also take place if the character does something wrong or dumb and dies.

The only way to achieve the best ending is to complete the puzzle using clues left by Luke, the scientist. Once you solve the puzzle you find out what the cure is and then you can take over Moriarty.
When I play these games I hate it when I die towards the end of the game, but before the end. I hate it because I worked so hard to get there and then I just don't feel like doing the whole story again because it is very repetitive. To solve this I want to try to make some kind of checkpoint so the character can restart from there instead of the beginning.
Oh, and last week I posted on the group thing asking about a problem but they still have not replied!

Sunday, May 20, 2012

Progress

This week I was playing some of the Choice of Games to see how they were like compared to mine. I am going to continue to play them to compare more. I also tried to do the randomtest again but I couldn't view all of the data. I really want to see the results of the randomtest though. I posted on the ChoiceScript group forums asking for help so I hope that I get a reply very soon. If anyone knows how to run a batch file through the cmd, please comment. Also, if you have any suggestions for the name of my future game, please comment.

Sunday, May 13, 2012

Progress

This week I did a few tests that would check for bugs in my code.  These tests are required if I want my game to get published by the company. There are two types of tests. There is a quicktest and there is a randomtest. The quicktest runs the game and does every single option that is possible in the game. The randomtest runs the game a certain number (10,000) of times. It shows you how often one choice can be reached. The tests are batch files and I tested them at school.
When I ran the quicktest it said I had to check a line on one of my scenes. It said there was some dead code on that line. Dead code is a piece of code that is unable to be reached because of something. In my case, I was going to another part and then finishing it. The dead code part was that I finished the scene after exiting the scene so it would never be reached. It is kind of hard to explain but I fixed the code but it wasn't causing any major problems. I will try to get a screenshot of it later.
I ran the randomtest but when I opened the file that had the results of the test, it wouldn't show all of it. It was supposed to run 10,000 times but it was different every time. I am going to try that test later.
At school the tests were running fine on Windows XP, but when I was trying to open them at home, on Windows 7, they wouldn't open. If anyone knows how to run a batch file through cmd, please tell me.

Sunday, May 6, 2012

Progress

This week I developed the beginning of the story. As mentioned in a previous blog post, a few people have been frozen on a ship and have been like that for two hundred years. One man melts 100 years before he was supposed to. This was what I had already covered. Now I have added the actual plot. The guy, - Jason, for now - was awaken by a scientist named Luke. The leader or captain of the ship is Moriarty. Moriarty is a power-hungry man. He creates a fake disease to kill people who are opposing him. Luke finds out about his plans and he hurries to make a cure. Before a cure is completed, Moriarty sends his men to kill Luke. Before Luke dies he thaws a random person - Jason - hoping that they are intelligent enough to follow the clues left behind, find the cure, and defeat Moriarty.

Here is a screenshot of the first version I made:


After that I started to go more into the story. Jason is awaken and he is captured and thrown into a jail cell. Now he must get out. I added that in and I decided to open the index and see if it was working. When I opened it an error came up. It said, "Script error." I have been looking through many forums and through the guides on how to resolve that problem and I have been looking at my code but I don't think anything is wrong with it. I still have not solved the problem and I am not sure what happened because it was working before. I emailed the company asking them if they could tell me if they found anything wrong with my code. I hope they reply soon.
EDIT: I found out what the problem was. I searched through some of the forums and that helped me. It turned out that the file that contains all of the stats and the scene navigator had the problem. One of the lines that was meant to be a comment was not a comment. It took me a while to find that and I was relieved when I did.

One more thing, I need a few ideas for the name of the space ship and the name of the game! I will be taking suggestions, post a comment! I might host a poll for it.

Friday, April 27, 2012

Getting Started

This week I started to read the tutorials on how to program ChoiceScript. I wanted to get a basic understanding of the language. So far it is an easy and simple language. The most important thing for the language is indentation. If I do not indent then there will be an error. I have not progressed on the storyline yet but when I do I will be posting an update.

Sunday, April 22, 2012

Road Block

Due to the Science MSA that took place this week I couldn't get much done because I was preparing for that. Last week I got some of the storyline though. I think I am going to make it a sci-fi story where a group of people who are frozen have been sent on a spaceship for 300 years and then a person who was frozen wakes up 100 years before he was supposed to and now he has to find out why. That's about it!
-RJ

Friday, April 13, 2012

Choice of Games


For my project I am going to create a Choose Your Own Adventure game. To do this I will use the programming language ChoiceScript. My plan is to create a lengthy storyline that branches off into many choices. I will have to keep a notepad or something to keep track of all the different paths because it will get very confusing. I am going to have to learn the language but the website says that the language is very simple and easy to learn which is a good thing because I won’t have to spend much time learning it.
My ultimate goal is to finish the game and then send it to the Choice of Games company and then they might publish it. The greatest satisfaction will be when I play it on their website and know that I created it! Even if it does not get published I would still be really happy with the completed edition. I would brag, well, not brag, but share it on Facebook and see the feedback and update it accordingly.
 My goal for next week is to have a basic storyline so that I can start programming it. I will also read up on the ChoiceScript language to familiarize myself with it. I am really looking forward to getting started!
- RJ