Thursday, March 31, 2011
New Version Released!
Finally, the long awaited new version is now released! It's barebones of the exploration code. I plan on adding UI prompts for each system you've explored each turn, but for now, it checks whether or not your fleet explored a system (the fleet have to be not moving and adjacent to a system to explore it. Diagonal don't count), and if so, update that system so it stores the fact that your empire've explored it, and add to list of systems explored that turn. When doing this, I found some bugs (some systems with 0 planets would crash in several places, etc), but I think I've squashed all of those. This release is mainly to gauge how the user interface works, so I can get feedback on it. After this, the releases should be more frequent (maybe once each month, or after something significant is added?). Since I'm developing this in my free time, with no funding, I can't afford a QA team. So if you encounter any bugs, be sure to let me know so I can squash them! To report bugs, please go here and add a bug report if such report don't already exist. Try and check to see if a report already exists first. http://code.google.com/p/beyond-beyaan/issues/list To run the game, you must have SlimDX installed first. In the future, I will create an installer, but at the moment, I don't know how, so for now, download it from here: http://slimdx.googlecode.com/files/SlimDX%20Runtime%20%28March%202009%20SP1%29.msi And now, finally, for the download of the game itself! http://www.mediafire.com/file/ig6q9xbrkserzjs/Beyond%20Beyaan%203-31-2011.zip Whew! Now I'm looking forward to more frequent updates and hearing feedback!
Tuesday, March 29, 2011
Fleet Movement
The "End of Turn Processing" is now mostly implemented. It have its own screen now. When a player clicks "End Turn" button, it will process the next empires, and if there's another human controlled empire (hotseat), it will halt the processing to let that player play. After all human controlled empires are done, it will process any remaining AI empires, then display the galaxy without nebula to reduce confusion. You will see fleets moving around in this. Each fleet icon is their maximum size for easier visibility.
There's only one thing left to do before I release this, and that is to add exploration code. When a fleet finishes moving, and is adjacent to a star system, that star system will be explored, and added to the empire's queue of systems explored that turn. When it becomes that player's turn, it will center on each system explored, giving the player a chance to see which systems are now explored. When the queue runs out, the player's turn begins.
When that is implemented, I will release this version, but it'll be pre-pre-pre-something-alpha, not really playable. The only thing you can do will be explore and move your fleets around. Planetary development isn't implemented yet, despite the sliders.
Here's a screenshot of the "Processing End of Turn Screen"
Two things I'd like to discuss.
First: I've thought long and hard about colonization in the game, and decided on migration instead of colony ships. Your empire will extert "claim" that's based on your owned planets and fleets. The more population you have in a system, the more "claim" it exterts around it. The bigger fleet you have, the more "claim" it also exterts. When a star system is completely enclosed in your empire's "claim", people will start migrating there. The "claim" can be weaked if another empire overlaps it. So a star system with high maximum population is desirable to extert more "claim".
Second: The space combat phase will occur after all fleets have finished moving this turn. They will occur only if the opposing fleets occupies the same grid cell, or is adjacent to the same star system. I'm still debating whether or not to have more than two opposing fleets engage in combat (allies vs another group of allies, or free for all between three or more empires, etc). It'd be simpler programmically-wise to only have two empires in combat at a time, since that means the AI will be easier to work with. But it's more fun and exciting to have more than two empires involved at once. We'll see how it goes.
Wednesday, March 9, 2011
Fleet/System UI Done!
I've been sick with a cold the past couple of days, so I was able to put in some work for this. Apologies if the blog isn't well-written, my brain is not working as well as normal :)
I've finished adding labels to scrollbars, indicating what each is for, and how much the planet is producing in that area.
Also I've added the planet type and population information in planet list. I've fixed the fleet UI's fleet list so it properly shows the fleet information. Before, if you have more than 4 fleets in one location, and you scroll down/up, it don't update the labels, but clicking on it will get the correct fleet information. The labels are now updated correctly, and displays their empire's color.
Since both Planet UI and Fleet UI are done for now, I will start work on end of turn processing which will include fleet movement processing and people migrating. Since there's no construction yet, there's no UI for it in planet screen. That will come after I'm done with end of turn processing.
Here's the updated planet screen:
I've finished adding labels to scrollbars, indicating what each is for, and how much the planet is producing in that area.
Also I've added the planet type and population information in planet list. I've fixed the fleet UI's fleet list so it properly shows the fleet information. Before, if you have more than 4 fleets in one location, and you scroll down/up, it don't update the labels, but clicking on it will get the correct fleet information. The labels are now updated correctly, and displays their empire's color.
Since both Planet UI and Fleet UI are done for now, I will start work on end of turn processing which will include fleet movement processing and people migrating. Since there's no construction yet, there's no UI for it in planet screen. That will come after I'm done with end of turn processing.
My plan for construction is to have a button with a label showing what it's building, along with the time required (or amount per year if exceeding the construction requirement, like 2 ships per year). Clicking on this button will bring up a small screen with list of items that you can build at this planet. Infrastructure, Terraforming, Ship Construction, Stargate, Defense Bases, and any other planetary items will be built using "Construction".
One other thing, when obsoleting ship designs, if any planets are building the obsolete design, it will prompt you asking which ship to build instead of the obsolete ships. So you don't have to hunt down each planet that's building the obsolete ship. Another option will be to change construction amount to either research or commerce instead of switching to a new ship design.Here's the updated planet screen:
Sunday, March 6, 2011
Weapon Beams
I've fixed the ETA bug, and nearly finished fixing the last fleet UI bug. The final solution is eluding me at the moment. It's when dragging the ship selector scrollbar, it won't scroll down to the last ship in list, even though there's some gap between the scrollbar's scroll and the down arrow indicating that there's one more ship. However, the down arrow will successfully move down one more so you can still select the last ship. So at the moment, it's at low priority while I work on other stuff.
I've been investigating methods of drawing MoO 1 style of beams. When you fire a weapon, the beam is drawn programatically, then it either flashes different colors (stellar converter), or "streams" towards the target. I've been trying to figure out an efficient method of doing that, and was able to just now successfully do it! I can create the beam, then have it wrap around, and simply move the texture position so it looks like it's streaming.
Here's a screenshot of the test beams. The red beam will probably be the plasma beam, and the blue/cyan one would probably be ion cannon. I'm experimenting with different colors to see which looks nice. and saving those in the test program I created for this purpose.
Saturday, March 5, 2011
Fleet UI working
The fleet UI is now working. You can select a fleet, select the amount of ships, then send them off to a desired location. When you send the fleet off, the remaining ships will be now selected, so you don't have to re-select the idling ships.
In the process of finishing the UI, I noticed that the "ETA" is now broken, and always display "ETA 0" That shouldn't be hard to fix. There's still one bug with the fleet UI that I hope to resolve shortly.
Sorry, my life has been very busy, so I'm unable to deliver a playable version this week. Maybe next week. But in the meantime, here's a screenshot to whet your appetite.
Subscribe to:
Posts (Atom)