Showing posts with label Gas Giants. Show all posts
Showing posts with label Gas Giants. Show all posts

Saturday, December 17, 2011

Gas Giant Scooping

For the past week or so I've been going through the game and fixing small problems, refactoring some code, and starting the process of getting everything moved over to the HTML5 standard, even though I'm not really doing anything that needs HTML5. Yet.

Tonight I finally jumped in and started doing some meatier coding, and I've finished up the ship action of Gas Giant Scooping by having a check performed so that before you can scoop you have to have an crew member on board with the Mining skill and that crew member must be assigned to the Specialist position on the ship.

I think my focus for now is going to be getting as much of the ship actions as possible coded out that don't involve interaction with colonies and combat. This is a blatant attempt to avoid working on the combat code since I'm still not exactly sure how I want combat to work.

Thursday, March 24, 2011

Success!

I completed a fairly large step in the game development today, and for the first time a new resource was created by a ship completing a Scoop Gas Giant action, as shown in the report sent below. Before today all items in the game were created by me running SQL queries directly on the database. This means that the first block in the resource pyramid leading to in-game production is complete. The next step will be ships being able to Harvest Comets and then building mining outposts on top of mineral deposits found on planets, moons, or comets.

Sunday, March 20, 2011

Cargo and He3

So today I decided to work on ships being able to scoop gas giants. It turns out I haven't had a ship orbit a gas giant in a while, so first I had to fix a lot of bugs that have crept in. Then I got the Scoop Gas Giant action 95% complete and had to switch over to Cargo for a while.

I hadn't put in the code to calculate how much space a ship's cargo hold had remaining, but that's in the game now. The next step is to use this information to enforce limits on items being put into the cargo hold, whether you're transferring items or basically creating a new item in the case of the Scoop Gas Giant action which is the source of He3 in the game. He3 will be used by ships for moving and jumping to new systems, and will power Fusion Reactors at colonies. It will likely also be used in the construction of some items in the game. He3 will basically be the lifeblood of the game, and will make Gas Giants and some comets very valuable resources.

I'll have the new action and cargo hold limits wrapped up by tomorrow night.