The Tequila Den

Combines the world of Tequila with Games.

Tag Archives: ports

Making light progress…

I spent a couple of hours this afternoon and conquered a part I thought was going to be a bit more daunting than it really was, custom port inputting for the mapMaker. It was more confusing only because I was trying to trim down the code as much as I possibly could when adding them in, it came to remembering what was really doing what. Thankfully, a little debugging made it quite simple in the end.


Basically how it works in the editor, you pick your desired port to put down, then you get to pick which “corners” are the actual ports. Unlike its unnamed counter-part, you can pick any of the corners, not just adjacent ones. I’ll probably add in completely random ports, but first, I have to add in …. THE DISABLER. Fancy way of ¬†making it so people can’t build in the water. Because, you could, if you wanted to. But I don’t want that ability. so I’ll figure shit out eventually. Lots to do… lots to do. But I have to figure out how to save these ports now. Hmm.¬†


I’d say 0.95… ish.

Alright, so here’s the jist of it, the game is operational. Ports work. Ports are random that are based on a supply of available port locations and the supply of ports themselves. The game works, from start to finish. But its missing stuff. Lots of stuff. It misses flare and flash. Lots of finish. I’m not going to lie, its going to take a bit to hit 1.0, but the last five percent is going to take some time. Testing sucks.

Just a quick… shot.

So the new year is all upon us, the world hasn’t ended (yet), although it does feel like the damn thing has frozen over!

I’ve been going through the Traders code and been cleaning it up and making it a bit smarter and more intelligent (by using more algorithms and such). I threw out about a hundred lines of code because a light switch went on in my brain and reduced it all down to 5 lines. 100 lines to fucking 5. What a piss off. I’ve got another in mind for another thing but it can wait for now.

Anyway, ports motherfucker!

screenshot 2014.01.08