Insaniquarium code.. I'm not going to post that, but I will type out the logic; not right now though, kinda busy
A little update on Tankies; I've got bigger plans for custom Pic landscapes.. here's a list of them:
-On the landscape selection screen, where it displays Random, Island, and Mountain as selections, there'll be a horizontal selection for pre-equated landscapes that I created at the bottom. Better details will be visible once I fully implement that.
-At first you'll only have two pre-generated landscapes availible; the more matches you win, the more landscapes you'll unlock. Of course, the later landscapes will be more interesting looking (in my opinion) and will be more complex. They'll still be generated from random stuff, but the rendering will be more involved. Oh, and by pre-generated/equated, I mean it's not totally random; it's a set equation (or equations/with small functions) with a slight bit of randomness to it, but unlike Random, Island, and Mountain, they're not 80%+ random.
-Since kv83 asked about tanks having to shoot their way out before they can attack each other, I thought of how I could make this still work for custom landscapes, and it hit me: why not have some fun with binary and make binary numbers in image data, at parts of the screen so the tanks can spawn from those numbers? Okay, that's a lot to process, so check
this image. The tank of the left has coordinates 15,38 and the one on the right has coordinates 73,38. The binary at the top has the same values; from the top, the X value, then the Y value. Will the user have to make this value? No, and that's where I get to the next part.
-A landscape editor! But it'll be external, so people that don't care to make levels won't have to waste any space for it
Anyhow, these are features I plan to make in the editor:
--In the editor, with a single-pixel cursor the user can create a tank spawn spot. I've got several ideas on how that'll work after having made spawn positions, but selecting a spot will generate the binary image data at the top of the landscape screen.
--The cursor will flash on and off indefinitely, and if you've ever used my
Image Edit program, you'd be familiar with it.
--Unlike Image Edit, the landscape editor will have extended functionality; horizontal and vertical line drawing from a simple press of the button, but not the entire line; there'll be a left horizontal button and right horizontal button, which draw from the left or the right of your cursor, depending on which you pressed. The same concept is for the vertical, being up and down.
--Another feature is, and you probably wondered about this, being able to switch from on/off. This means you can erase or draw, white or black, off or on. The display for what it's switched to will be placed where the text "Wind" is displayed in-game (which isn't implemented yet.. grr. maybe I'll do that tonight..).
--Everything will be checked and things can be undone, slightly. Pic9 and Pic0 will be used for the editor, which means you're limited to 8 landscapes at once. But that's okay, right?
--Either in the main program or the editor, Pic files can be switched/copied from one another.
I really should finish the last "main" parts of the game: wind and an enemy opponent (human or CPU), but uh.. I keep getting distracted with the other stuff!
Hope I didn't bore you with that bombardment of info. I might've gotten too wordy or descriptive, but eh.. deal with it!
Typing out details like this are tough
More updates in the near future