@roland, You game is much more cooler looking than my scorched earth type game:http://youtu.be/yLTETOfZLx0
I thought about making "holes" with vertexes, but couldn't figure it out on my own, so I'm just cutting away at an Image.
Keep up the good work, inspirational, and I can't wait to play your game.
Your game is looking good. Do you randomly generate the ground? or do you load images from a file?
I once tried to make a game like yours, and it kind of worked, I think it would have been fun if I had stuck with it.
I'll try to put a link up, although its extremely buggy and incomplete, just to show you an idea.
Some tips: In my game I have a scrolling background picture, you could put a different one in than the gradient image, or have multiple background images with the further back ones moving slower than the ones in front. You should also put some scenery images in such as trees and buildings.
You could also when exploding the ground, making particles fly up that the same colour of the pixel you destroyed, and also make pixels "fall down" if there are no pixels below them. (check
if ((image.getPixel(x,y) != 0) && (image.getPixel(x,y+1) == 0)) image.setPixel(x,y+1,image.getPixel(x,y));
Although I dont recommend using get and setpixel cos it's real slow. But you get the idea?
You could also maybe use the mouse to control aiming since they are humans although that would be annoying for multiplayer on one PC.
It would be cool if you made it multiplayer, turn based but everyone shoots at the same time (or they have 10 seconds to shoot or something))
But that's just my ideas.
True, tracing an image is quite hard (especially to make it fast), so I hope I can make it work. The good thing about using vertices is the physics are much easier than pixel physics (atleast for my game). So there wasn't an easy choice.
Hope that helped,
EDIT: here's the game: www.chaosreef.com/underfire/underfire.php
the timing is completely STUFFED, but look at what happens when the terrain is destroyed
go single player -> level 1 start -> wait for it to load
click on top left to choose towers and choose stone cannon
click somewhere above the ground and create a few towers.
Then click (B) on the top right (battle phase)
use mouse to aim and hold down left click for power.
The game will probably crash after a few shots xD