Friday, May 9, 2014

Precisely

I ran into some problems with losing precision on my floats. Float is a data type for numbers.

When you deal with really large numbers using floats it gets converted to scientific notation.  so you end up losing some precision.  The top numbers are correct, but the lower numbers are wrong, or simply not accounted for. This has given me some trouble with the math I am using to move entities that are far away from the (0,0) point.  To counter this I'm going to use separate coordinate system for each area that the ship enters.





My goal is to turn this game into a massive exploration, rpg, rts.  You'll have to protect your home planet from ever increasing threats which will culminate in some sort of boss battle.  You'll collect upgrades along the way for your ship and home planet.  Once your system is safe you'll venture out to other systems to defeat the civ that started the attack on your planet in the 1st place.   Or something like that.  I'll hash out a better story once I get the game engine working better.

I'd like to add pvp and pve multiplayer, that be fun.

I still need a name for this game if anyone has any suggestions. (You'll get your name in credits as well as .001% of profit from this game.)

No comments:

Post a Comment