Thursday, January 28, 2010

UPDATE: Computers for Sale

My last plan was that an npc would be a CEO of a non player controlled company. A npc in my game is basically people you can recruit to your company, and work under the CEO, so that a npc would be the ceo of a non player controlled company (npcc) was not proper, instead the ceo will be handled just the same as a player but with AI. Then a npc and a character will be programmed differently.

Sunday, January 24, 2010

UPDATE: Computers for Sale

I am finished with the NPC generation code. Basically it reads names from a text document, and generates which npcs belongs to which company. Then there can also be companies with no NPCs which the player(s) can choose to run (as a "template" company), I have also added a function which checks if a company has a CEO or not. Basically it just loops through all employees in that company, and checks for a CEO, if a CEO is not found, a CEO is randomally picked. I am also working on a dataviewer (not editor, since everything is generated).

Thursday, January 14, 2010

UPDATE: Computers for Sale

I have had great progress lately. I have created a function which auto generates companies, with it's own unique ID and Name, and it's also generates the popularity of that company.

So far the progress is:
Game Core Engine: 10-15%
Gameplay: 5%

Sunday, January 3, 2010

My first sucessfull programme for a phidget; A timer



Sorry for the bad quality, but my digital camera was low on battery, so I had to use my cell phone.
What you don't see in this movie, is that I have also added a rotation sensor which the value of it's input decides the time set. And a hard enough press on a force sensor starts the timer to count down.
I will make a higher quality video later.