Monday, February 4, 2013

I can save it now!

So this was a great week... how bout them Ravens! Yeah Michele knows Joe Flacco that's pretty cool I thought. She had dinner at his house before. Anyway back to the topic at hand. This week I did a lot of tutorials and I learned a lot about coding in GML. I wanted to learn syntax but unfortunately the guy going through this tutorial is doing it as if the person is actually learning code. Which isn't a terrible thing, but still it's kind've annoying. Anyway I got through fifteen tutorials this week and I did learn a few things that I wouldn't have been able to figure out on my own. For example I learned about controller objects, saving the game for later use, and using the mouse as a way to fire.
This week I'm going to be working on the enemy AI. I am looking into Finite State Machines. FSM's are objects that have 2 different functions. For example a turnstile that you see going into a concert or some sort of stadium. The turnstile is either locked or turning. The only time it is changed is when there are certain conditions are met. For the turnstile it needs some sort of input like the entry ticket or a monetary deposit to unlock it. Then it is able to turn and let you into the event. The enemy will work similarly. They will be walking around aimlessly until the player is within a certain range and is detected by the enemy. At which point the enemy will engage in combat. This will create a basic AI that I can improve upon as soon as I learn more about GML.
I have a lot to do this week for both school and my internship. Other than that I will be able to get everything I need done!

No comments:

Post a Comment