Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Unterseeboot - A Helicopter clone with full source!

Author
Message
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 7th Apr 2008 20:25 Edited at: 10th Aug 2008 17:51
A smallish game I made over the weekend for a friend.
All its media is built in.

Warning: Extremely addictive

Post your highscores and comments!

Code:



Edit 4/7/08: Adjusted difficulty levels.
Edit 4/7/08: Added a cool new countdown and readjusted the difficulties.
Edit 4/8/08: Reduced tile sizes, so there are more tiles onscreen, and added display settings to the top.
Edit 4/8/08: Fixed a bug causing the sub's collision to fail at certain times.
Edit 4/15/08: Added bubbles that float up the menu and access to high scores from the menu.

Attachments

Login to view attachments
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 7th Apr 2008 20:35
Screenshot attached.

Attachments

Login to view attachments
Blobby 101
17
Years of Service
User Offline
Joined: 17th Jun 2006
Location: England, UK
Posted: 7th Apr 2008 21:51
nice game! i got 560 on Insane difficulty. to be honest, Insane didn't feel very... Insane! i had to put it on that to make it fell at all challenging! changing the difficulty on all levels might be a good idea.


EotP! Click on it.
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 7th Apr 2008 22:07
(pst - your sig is spelled wrong)

Thanks blobby, I'll do some experimenting and change the speeds around.

Sid Sinister
18
Years of Service
User Offline
Joined: 10th Jul 2005
Location:
Posted: 7th Apr 2008 22:22
Quote: "(pst - your sig is spelled wrong)"


It's a pair of oh's, lol.

Cool game. You could really expand on this and make it something amazing!

"If I have seen a little further it is by standing on the shoulders of Giants" - Isaac Newton
-Computer Animation Major @Baker.edu-
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 7th Apr 2008 23:54
Thanks Sid, I wasn't planning on making this a long term project, but I can keep my options open and maybe add somemore stuff to this. New media, powerups, etc.

calcyman
16
Years of Service
User Offline
Joined: 31st Aug 2007
Location: The Uncertainty Principle
Posted: 8th Apr 2008 11:58
Looks like Fort Apocalypse

The optomist's right, The pessimist's right.
Mr Tank
21
Years of Service
User Offline
Joined: 25th Nov 2002
Location: United Kingdom
Posted: 8th Apr 2008 12:44
Cool. Difficulty levels seem pretty OK to me. Sometimes the level is completely impassable though. Especially on higher difficulties. The floor and ceiling meet, and you have to crash into the wall.

SUPER BADASS SPACESHIP X: WEBSITE
FORUM TOPIC
draknir_
17
Years of Service
User Offline
Joined: 19th Oct 2006
Location: Netherlands
Posted: 8th Apr 2008 14:58
i get 'cannot get image on line 134 due to illegal area' when i try to compile
JosephB
17
Years of Service
User Offline
Joined: 12th Sep 2006
Location:
Posted: 8th Apr 2008 15:34
@draknir_

Add Set Display Mode 800,600,32 to the code. You can add it before the line setting the sync.
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 8th Apr 2008 16:29 Edited at: 8th Apr 2008 16:57
Quote: "Add Set Display Mode 800,600,32 to the code. You can add it before the line setting the sync."


I guess I better add that it . I had that set in the project settings, so I didn't have it in the code.

Quote: "Sometimes the level is completely impassable though. Especially on higher difficulties. The floor and ceiling meet, and you have to crash into the wall."


That's strange...I'll look into that.

Thanks for comments everyone


Edit after fixes:
Ok, I've added set display mode and some other stuff to the top.
I have no idea what caused the walls to touch, but I think I fixed it by decreasing the tile's width and height. Now there are twice as many tiles on screen at once. After messing around with the difficulty settings again, I think I have them at a reasonable place. And Insane! is now really, really insane

I'll adjust the first post.

draknir_
17
Years of Service
User Offline
Joined: 19th Oct 2006
Location: Netherlands
Posted: 8th Apr 2008 16:37
display mode fixes it, thanks.

cool game, i got 732 on difficult mode. there is a little bug though, when you hit the ceiling, it doesnt count as a collision until you are way into the sprite..
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 8th Apr 2008 17:31 Edited at: 8th Apr 2008 17:33
Edit: Nevermind, I figured it out . Thanks for pointing that out

2macia22
16
Years of Service
User Offline
Joined: 7th Apr 2008
Location:
Posted: 8th Apr 2008 18:06
I like the game, it's very fun.

It might be cool to put a link to the high scores on the menu, so you don't have to get a high score to see the high score table.

·•Å§h Mᢕ·
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 16th Apr 2008 04:36
Thanks 2macia.

(Bump for Edit!). I've added access to the highscores from the menu. I also added some cool bubbles that float up the menu distractingly. Check out the new code in the first post.

I'm considering adding torpedoes that the U-Boat can shoot to blow up terrain (of course they would have a very high cooldown, so they would just provide kind of a last-ditch effort). What do you guys think of this?

Unterseeboot - Has you played it?
Los Mineros are on leave...
Libervurto
17
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 24th May 2008 20:54 Edited at: 24th May 2008 21:08
Ive just started making a tribute to the worm game and it looks exactly like this!
my floors and ceilings are always parallel (to each other not always the same height lol) but i think your way looks better and more natural

in my game i'm using an array with two fields to store the ceiling and floor height, then shifting the data as the worm moves.
Since i only have 20 sections for the cave i move it along the screen before shifting so it looks like a smooth transition.
Is that how you're doing it?

Ive just realised that if i used a 2d array i could also have floating walls

It is far better to complete a 10 line program than to start a 10,000 line program.
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 24th May 2008 21:45
Thanks, OBese.

Mine actually doesn't use arrays at all. There are two variables: TopHeight and BottomHeight. Basically, each column is a sprite. When one moves off the left edge of the screen, the TopHeight and BottomHeight are randomly varied and the image for that sprite is redrawn using those new heights. Then the sprite is simply sent back to the right edge.

For collision, I can't use SPRITE HIT or anything like that with this method, so I use PASTE SPRITE and POINT to see if the sub hits the edge. Maybe not the best way, but it does work.

Unterseeboot - Has you played it?
Los Mineros are on leave...
TheComet
16
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 15th Jul 2008 22:21
Could you post an exe? I use DBC and I would like to play it...

Thanks, TheComet

BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 16th Jul 2008 06:19
Sure, however, the computer I'm on right now doesn't have DarkBASIC. You'll have to wait until I get home this Thursday.
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 18th Jul 2008 16:39
Ok, added an exe to the first post as a download.

Login to post a reply

Server time is: 2024-04-19 23:50:48
Your offset time is: 2024-04-19 23:50:48