HOME | DD

webbot15 — Depth Charge

Published: 2007-02-01 05:25:33 +0000 UTC; Views: 2108; Favourites: 19; Downloads: 40
Redirect to original
Description My second attempt at a game
...well the second flash experiment that turned out as a game.
It seems I have a thing against gravity... Oh well.

You play as a lego inspired submercible with the aim
of destroying naval mines without being blown up yourself.

Keys are as follows...
(shift) accelerate
(left) left
(right) right
(up) up
(down) down
(space) shoot

(i) inverts up/down controlls for those who like inverted
controlls (ie: up = down and down = up)

(q) toggles the swf quality, as lower quality results in faster game speed. (and gives a cool 1996-ish look to it)

(b) toggles the bubble jets, as they can be distracting.

(s) toggles the sound

(tab) changes between 3 view modes. solid, outlined and composite.

The menu page and outlined mode are a bit of a homge to Spectre Challenger, a great old game that come on Macintosh Performers.

Have fun!

(Tweaks)
• Fixed up the second wave of mines that wasn't appearing.
• In the game, the inverted controlls (i) was displaying the wrong way around
• The mines on the menu screen were too close to the score.
• Not all the mines made the screen shake when hit by the sub
• The mines were said to be advancing too quickly
• Now with preloader!
Related content
Comments: 45

BookWorm661 [2007-10-14 06:52:38 +0000 UTC]

I dont get it its so hard!

👍: 0 ⏩: 1

webbot15 In reply to BookWorm661 [2007-10-14 08:27:04 +0000 UTC]

I'm sorry...

👍: 0 ⏩: 0

Melindryad [2007-06-21 16:59:45 +0000 UTC]

Very cool!
Shoot! Look out! Arrrgh!!!!

👍: 0 ⏩: 2

webbot15 In reply to Melindryad [2007-06-22 00:41:14 +0000 UTC]

OO! Thanks fo the fav too!

👍: 0 ⏩: 1

Melindryad In reply to webbot15 [2007-06-22 23:02:29 +0000 UTC]

No problem.
The only problem I have is that I put it on my desk top & I can't leave it alone.

👍: 0 ⏩: 1

webbot15 In reply to Melindryad [2007-06-24 04:09:21 +0000 UTC]

wow.... Thanks....
That's a real compliment.

👍: 0 ⏩: 0

webbot15 In reply to Melindryad [2007-06-22 00:37:21 +0000 UTC]

Thanks

👍: 0 ⏩: 0

BleedingBlack666 [2007-06-04 13:55:37 +0000 UTC]

wow i just found this, and its freaking insane!
i cant beleive how you manage to find time for everything you do

👍: 0 ⏩: 1

webbot15 In reply to BleedingBlack666 [2007-06-14 23:40:31 +0000 UTC]

I do it in the holidays.
...plus, I have n o other hobies...
-shrug-

👍: 0 ⏩: 1

BleedingBlack666 In reply to webbot15 [2007-06-15 00:21:23 +0000 UTC]

lol fair nuff

👍: 0 ⏩: 0

axcho [2007-03-27 07:41:30 +0000 UTC]

This is a really cool game! I was afraid at first by the text-full start screen, but I'm glad I tried it.

Really nice 3D effects and smooth feel.

👍: 0 ⏩: 1

axcho In reply to axcho [2007-03-27 07:44:43 +0000 UTC]

I also wanted to say that the light blue grid representing the water's surface at the top is an excellent touch. I think it does a lot for the feel.

👍: 0 ⏩: 1

webbot15 In reply to axcho [2007-03-27 09:48:07 +0000 UTC]

Thankyou very much!
I was just wondering, but why did the text put you off, just so I know for next time.

👍: 0 ⏩: 1

axcho In reply to webbot15 [2007-03-28 00:42:12 +0000 UTC]

Oh, well you know how it can be when you're in browsing-mode. I was kind of tired and my mind was in art-appreciating mode (R-Mode?), not reading mode (L-Mode?), so when I encountered that wall of text my brain just kind of couldn't make much sense of it.

I don't think even now I've actually read any of the words there besides for the controls. You might look at the instructions of some Orisinal games to get some ideas.

👍: 0 ⏩: 1

webbot15 In reply to axcho [2007-03-28 14:38:37 +0000 UTC]

Thanks. I appreciate it!

👍: 0 ⏩: 0

waltzy [2007-03-10 13:58:52 +0000 UTC]

nice, Swift 3d ? love it +fav

👍: 0 ⏩: 1

webbot15 In reply to waltzy [2007-03-10 21:30:03 +0000 UTC]

Nup, All done in flash.
Thanks a bunchness!

👍: 0 ⏩: 1

waltzy In reply to webbot15 [2007-03-11 10:14:33 +0000 UTC]

awesome XD

👍: 0 ⏩: 0

tracki [2007-02-24 19:40:43 +0000 UTC]

Very nice, but a highscorefunction would be cool
I like the simple style very much

👍: 0 ⏩: 1

webbot15 In reply to tracki [2007-02-24 23:12:57 +0000 UTC]

Thanks very much!
I'm sorry, but I don't know enough about flash OR the internet to make high scores just jet... sorry.

👍: 0 ⏩: 0

solar-antapex [2007-02-22 16:54:03 +0000 UTC]

This game is extremely well done. It's really rare to find one that's so elegantly simple but impressive at the same time. If you're not a professional, you should be. Advertisers pay good money for games way less fun than that.

It would be really, REALLY neat to see this engine/technique put to use in a more complex game. That would sucks HOURS away from my life.

👍: 0 ⏩: 1

webbot15 In reply to solar-antapex [2007-02-23 00:35:22 +0000 UTC]

Wow! Thanks for the great comment!
It's really flattering to get such praise for doing what I love... thankyou!
And thanks for faving it!

👍: 0 ⏩: 0

superguh007 [2007-02-03 03:38:01 +0000 UTC]

its cool that the all the 3d was done in flash... Im making a game right now that uses swift 3d, so its interesting to see a game that takes a different approach to 3d. Good job!

👍: 0 ⏩: 1

webbot15 In reply to superguh007 [2007-02-03 11:20:58 +0000 UTC]

Thanks!

👍: 0 ⏩: 0

superguh007 [2007-02-03 03:26:24 +0000 UTC]

its cool that the all the 3d was done in flash... Im making a game right now that uses swift 3d, so its interesting to see a game that takes a different approach to 3d. Good job!

👍: 0 ⏩: 0

wonderwhy-ER [2007-02-02 21:33:31 +0000 UTC]

Wow. Awesome. Are those moveclips created in some 3D max or you used some interesting technic?

👍: 0 ⏩: 1

webbot15 In reply to wonderwhy-ER [2007-02-02 23:15:21 +0000 UTC]

It's all just vectors and actionscript.

The yellow bits are just two circles joined by a trapazoid (wonky rectangle)
The rest of it is just movieclips with thier _x, _y, _xscale , _yscale and _rotation, altered according to how much you're turned.

👍: 0 ⏩: 2

awesty In reply to webbot15 [2007-02-18 00:43:56 +0000 UTC]

wow i cant believe you made that without a 3d program!

👍: 0 ⏩: 0

wonderwhy-ER In reply to webbot15 [2007-02-03 09:37:24 +0000 UTC]

Woot. Very good indeed

👍: 0 ⏩: 0

psykopath [2007-02-02 10:32:07 +0000 UTC]

That is awesome. And thanks for having the option to invert controls, my friends think Im crazy for playing games that way, but it just feels right for some reason. Awesome job Also, Im gunna watch you

👍: 0 ⏩: 1

webbot15 In reply to psykopath [2007-02-02 10:57:46 +0000 UTC]

Thanks a bunch!
I think the apeal of inverted contolls is that is's a similar setup to a joystick. ie, you lean forward to go down, and back to go up.

Thanks for watching me too!

👍: 0 ⏩: 0

genericname281 [2007-02-02 04:08:51 +0000 UTC]

Now THIS is freakin' cool!

👍: 0 ⏩: 1

webbot15 In reply to genericname281 [2007-02-02 04:13:19 +0000 UTC]

Thankers!

👍: 0 ⏩: 0

Ibanez-bassist-5 [2007-02-02 01:24:31 +0000 UTC]

Photobucket - Video and Image Hosting
lol Im not sure this picture I sent is going to work, but Just playin through for about 5 minutes I got a score of 37. Not a HIGH score, but just something...


haha this game is so damn cool Im addin to my favorites so I can play more later, after work.

👍: 0 ⏩: 1

webbot15 In reply to Ibanez-bassist-5 [2007-02-02 04:13:07 +0000 UTC]

This should work... -ish... [link]

I'm honored you put the effort into taking a screen shot!
I'm really appreciative! That's brilliant!
Thanks!

👍: 0 ⏩: 0

G2B [2007-02-01 16:07:15 +0000 UTC]

This is simply amazing i wish I could program something like this for class. Maybe in my second programming class I will create something near this type of work. I can just Imagen the type of code you have put into this.

Did you use a separate program to make the 3ds sub or did u just make it f by f in flash

👍: 0 ⏩: 1

webbot15 In reply to G2B [2007-02-01 23:10:15 +0000 UTC]

Nup, all in flash with some actionscripting.

The yellow bits of the sub (which creates most of the 3D illusion) is two circles joined by a trapazoid (slightly wonky rectangle).
all the rest of the sub is pretty much just plain movie clips that have their _x, _y, _xscale , _yscale and _rotation, altered.

👍: 0 ⏩: 0

killthemouse [2007-02-01 06:43:24 +0000 UTC]

dood, this is hardcore... and just when I was thinking of making a pseudo-3d engine now that Gravbear is pretty much finshed, you drop this! Now I'm gonna have to make a full 3d engine or somthing.

Hit detection is a bit off (and I have trouble telling how close I am to a mine). But really, really impressive otherwise. I dont even know how you did that 3d sub.

Source, please?

👍: 0 ⏩: 1

webbot15 In reply to killthemouse [2007-02-01 11:05:49 +0000 UTC]

Yeah, the hit detection is just a hitTest from the shots to the mines, so it seems to do some wierd things. Every now and again I come across a mine that won't blow up when hit.
I'm starting to think that hitTest is a bit like startDrag, in that it works well for such a small amount of code, but going through and writing out code that does pretty much the same thing has a far better result in the long run.

Beieve me, the 3d part is not as impressive as it looks. If that sub turns much more to the left or right, it falls apart. I'll send you a copy of the fla. file. the code is a bit more organised than 'broom girl', but it's almost all inside the sub_mc movie clip. (i tried to move it onto the root timeline, but it tried to eat me)

And I was thinking of making a sonar noise that gets faster when you get closer, as it is a bit hard to judge.

👍: 0 ⏩: 1

killthemouse In reply to webbot15 [2007-02-01 11:32:05 +0000 UTC]

"Yeah, the hit detection is just a hitTest"

Hittest??? I didn't even realise depth wasn't taken into account, but it works just fine.

"Every now and again I come across a mine that won't blow up when hit.... writing out code that does pretty much the same thing has a far better result in the long run."

That's the truth -- and I've had exactly the same prob. with hittest -- most obvious in [link] , since the things are moving fast. Hit detection is hard stuff though. Gravbear took so long because I gave up on getting those walls to work, then had to wait a month for my brain to tick the problem over (and it still doesn't work that great on corners).

"Beieve me, the 3d part is not as impressive as it looks"

And that's why I love the way you code. So many weird hacks that work perfectly for what they do.

👍: 0 ⏩: 1

webbot15 In reply to killthemouse [2007-02-01 11:48:50 +0000 UTC]

The only depth the game really needs is with the mines, so I decided that the _xscale (as _yscale is the same) of the mines would sufice, with 100% being where the sub is.
And I really lucked out with the shadowing of the yellow parts.

I don't think one of the sets of mines is working on the .swf I've posted... I'll have to look at it.

👍: 0 ⏩: 0

XIXs [2007-02-01 05:50:56 +0000 UTC]

Love the Retrolicious title page

👍: 0 ⏩: 1

webbot15 In reply to XIXs [2007-02-01 11:12:00 +0000 UTC]

Thankyou!

👍: 0 ⏩: 0

No-U-Turn [2007-02-01 05:28:16 +0000 UTC]

WOW this is pretty good! D: I bet this took alot of effort and time.

...

*clicks on fav*

👍: 0 ⏩: 1

webbot15 In reply to No-U-Turn [2007-02-01 11:14:10 +0000 UTC]

Thanks!
But why the shifty look?

👍: 0 ⏩: 0