Details:
You have bought your space cruiser and set out on the beginning of your journey, but lately pirates have been prowling around... Even being in the space ports around the area is tough, and as you grow so do the pirates.
You must destroy and loot pirate ships to get money and crew-members in order to upgrade your ship and better defend yourself.
When you start use the left/right arrow keys to choose your ship model, enter to buy.
(will be adding more ship models)
Fighting:
Z repairs your ship; giving you armor boosts
X charges your guns; giving you a damage boost
SPACE fires your gun
BACKSPACE flees the fight
Controls:
Q to enter the shop if you are in a space port, left/right to scroll between shop options, enter to buy that option, q again to quit
M to open map, left/write/up/down to move your cursor, m to quit, enter to travel to that location
S to start saving, type in your dir, enter to save (enter blank to quit)
L to start loading, type in your dir, enter to load
P to toggle pause
LEFT CNTRL to quit
Stats guide:
Spoiler
Crew: this increases the speed at which you repair/charge, max is always 99. SPD: increases how fast you travel and how well you flee WEP_SPD: decreases the time between shots ACC: decreases how likely you are to miss, anything over 100 means you always hit as long as they don't dodge it EVS: increases how likely your opponent is to miss ARM: takes a percentage off of incoming damage DMG: increases the range at which the amount of damage you deal falls between HP: upgrading health increases the maximum health of your ship.
NOTE: ACC and EVS are capped at 90 so to make the game possible to lose, even with ridiculous amounts of money
v1.0: initial release
v1.1: added two more ships, fixed ship selection phase.
v1.2: fixed shop, fixed progression (and made it better), fixed loot so that you don't get insane amounts of money.
v1.3: added enemy ships starting with decreased health, added easter-egg.
Please post any thoughts, as well as any balancing issues, bugs or improvements you find.
Thanks />
Making ship blueprints:
Spoiler
I decided that I may as well explain how ship building works, so that people can send me suggestions of new blueprints or add them in themselves.
In notepad++ create a new page, now, just draw your ship in this page.
Spoiler
example:
_
_/^_
|_|/
V
Now make sure that each line has the correct amount of spaces either side, usually make these even (each line must be the same length at this point)
Now place speech marks at the beginning of every line and commas after every speech mark other than the last one.
Then create brackets to surround the whole thing at the beginning of the blueprint and end.
Spoiler
{" _ ",
" _/^_ ",
" |_|/ ",
" V "}
Now any numbers in blueprints will be ignored, and instead set the current color for drawing the following character, so to set a character to red and then put it back to white like normal do: 2#1 where # is the character.
So add color to your blueprint, 1 is white, 2 is red, 3 is green and 4 is orange.
Spoiler
{" _ ",
" 2_1/3^12_1 ",
" |4_1|/ ",
" 2V1 "}
Now, in notepad++, go the button in the tool bar where it shows an a and a b (replace), do find replace with
local pixarr = art.createPixelArray(pixels)
return pixarr
end
["armour"] = 35, -- error here
["damage"] = {90, 110},
["wepspeed"] = 4,
["speed"] = 15,
["accuracy"] = 70,
["evasivness"] = 10,
["health"] = 600,
["maxhealth"] = 600,
["type"] = type
local function improveStats(csts)
local sts = csts
local amt = ((progress-5) * 2)
if amt > 0 then
amt = amt + math.random(progress)
unexpected symbol my guess is that is meant to be in a table ??
cool game I haven't quite worked out some of the controls / strategy yet.
one thing I would say is that the players ship takes damage from many battles but all other ships start battles with perfect health maybe they should have have previous damage from other battles ?
good suggestion, I'll try basing it off the loot of the ship; presuming that a ship with better loot (more crew/money) will be more well traveled so it should be more likely to have been in a fight where it would have been injured.
Game works pretty nice so far, only disadvantages are that I can't really find any space staions and die really fast (noob) and your code seems to be really messed up, you should put a few basic var definitions at the top, all functions with a short comment explaining what they do below and then the actual code.
Update;
added a little easter egg (data mine and you will find it basically immediately), not telling you how to get to it. (It's pretty)
added enemy ships starting with decreased health
maybe a bug fix? maybe...