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.

Program Announcements / Whac a mole - my first game

Author
Message
GMX
19
Years of Service
User Offline
Joined: 19th Sep 2005
Location: In front of my monitor
Posted: 14th Dec 2005 02:17
Hello,

Now that I got the full version, I have finally finished my first ever Dark Basic Pro game, Whac a mole in DBPro. It's a zip file that includes the exe, 2 sounds, and a .x file. There is an info option at the main menu, but I'll say how to play here as well.

To play is quite simple. When you start the game, a "mole" (actually a sphere) will pop up from inside the box. Press an arrowkey(s) to move the the hammer to the correct spot and press the spacebar to smash down. If you hit the "mole", it will play a sound, disappear, and you will get a point. If you miss it (that is, it goes back under the box), a different sound will play and you will get a miss point. You are allowed 5 misses before the game ends. On the 5th miss you will see your score and the game will restart.

The best way to learn how to play is to play it a couple times to get the feel and orientation of the hammer and where the arrowkeys move it to.

Also remember that to have the hammer smash a spot other than the center, you must hold the arrow key down and THEN press space.

Have fun!

-GMX

DB can do 2d and 3d...so:

DB = 3d <> 2d = DB...huh?

Attachments

Login to view attachments
Peter H
20
Years of Service
User Offline
Joined: 20th Feb 2004
Location: Witness Protection Program
Posted: 14th Dec 2005 03:21
Pretty good for a first game!

My only complaint is that it was hard...
even with my super fast gamer's reflexes ( ) i only got 15 hits

--Peter

"We make the worst games in the universe..."
Sephnroth
22
Years of Service
User Offline
Joined: 10th Oct 2002
Location: United Kingdom
Posted: 14th Dec 2005 03:53
only 15 peter? thats poor! it isnt that hard or fast xD

GMX: nice first game, well done ^^ Did encounter a problem though, I couldnt press space to make the hammer fall if i was doing up and left, down and left or down and right - it worked when i did up and right though. Most likely a key conflict, but double check your code just in case ^^

Peter H
20
Years of Service
User Offline
Joined: 20th Feb 2004
Location: Witness Protection Program
Posted: 14th Dec 2005 22:34 Edited at: 14th Dec 2005 22:34
maybe it was just my fast super computer...

because unless i hit the right direction keys and the spacebar simultaneously (within .5 seconds of the thing appearing) i didn't get it....

"We make the worst games in the universe..."
GMX
19
Years of Service
User Offline
Joined: 19th Sep 2005
Location: In front of my monitor
Posted: 14th Dec 2005 23:38
@Sephiroth: Strange, it worked for me in every direction.

@Peter: Maybe I should slow down the sync rate? It's currently at 100.

DB can do 2d and 3d, and 2d isn't like 3d...so:

DB = 3d <> 2d = DB...huh?
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 15th Dec 2005 00:44
Maybe you should make the hammer move with the mouse, and hammer if you click? It would be alot easier to control.

Not bad!
Sephnroth
22
Years of Service
User Offline
Joined: 10th Oct 2002
Location: United Kingdom
Posted: 15th Dec 2005 19:43
Quote: " @Sephiroth: Strange, it worked for me in every direction."


when I said "most likely a key conflict" I meant to say "most likely a keyboard key conflict" ie, the old error on keyboards where you can only press so many buttons at once. I remember way back playing resi evil 1 on my pc and not being able to RUN forward and right at the same time so i always had to turn on the spot But I havnt encountered a problem like that in YEARS so it is indeed a bit odd.

GMX
19
Years of Service
User Offline
Joined: 19th Sep 2005
Location: In front of my monitor
Posted: 15th Dec 2005 22:27
Quote: "Quote: " @Sephiroth: Strange, it worked for me in every direction."

when I said "most likely a key conflict" I meant to say "most likely a keyboard key conflict" ie, the old error on keyboards where you can only press so many buttons at once. I remember way back playing resi evil 1 on my pc and not being able to RUN forward and right at the same time so i always had to turn on the spot But I havnt encountered a problem like that in YEARS so it is indeed a bit odd.
"


Oh, ok. I misunderstood at first.

DB can do 2d and 3d, and 2d isn't like 3d...so:

DB = 3d <> 2d = DB...huh?
ThinkDigital
19
Years of Service
User Offline
Joined: 18th Aug 2005
Location: A galaxy far, far away...
Posted: 18th Dec 2005 01:24
Not bad man. Though that matrix in the background is probably eating up your frame rate.

[url=http://www.egenericworks.com]
eGeneric Works[/url]
Don't support the ANJL: You were a noob once too.
GMX
19
Years of Service
User Offline
Joined: 19th Sep 2005
Location: In front of my monitor
Posted: 18th Dec 2005 01:56 Edited at: 18th Dec 2005 02:01
Never thought about that. I was just thinking without it, the background would look pretty dull. Any suggestions?



Adam Game Source, my website. Check it out!
ThinkDigital
19
Years of Service
User Offline
Joined: 18th Aug 2005
Location: A galaxy far, far away...
Posted: 18th Dec 2005 19:44
Make yourself a plain instead of a background, texure it with like, wood or something, and stick it there instead.

Also, I assume you're using a frame rate limiter, correct?

[url=http://www.egenericworks.com]
eGeneric Works[/url]
Don't support the ANJL: You were a noob once too.
GMX
19
Years of Service
User Offline
Joined: 19th Sep 2005
Location: In front of my monitor
Posted: 19th Dec 2005 20:45
Well I'm using sync rate, is that the same thing?



Adam Game Source, my website. Check it out!
new programmer
18
Years of Service
User Offline
Joined: 20th Dec 2005
Location: right behind you.
Posted: 22nd Dec 2005 04:10
no,

oh wait, dunno. just set sync rste to 0 for maximum speed, wen set to 0 it goes with whatever the computer's fastest speed is.

i think.
ThinkDigital
19
Years of Service
User Offline
Joined: 18th Aug 2005
Location: A galaxy far, far away...
Posted: 24th Dec 2005 04:12 Edited at: 24th Dec 2005 04:13
Yup, Peter_ is right. See, I found the game very easy. Why would that be? Because it's running faster on Peter_'s computer than on mine.

@GMX: Email me the source why don't you, and I'll see if you've got a frame rate limiter.


The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 25th Dec 2005 15:10
Quote: "oh wait, dunno. just set sync rste to 0 for maximum speed, wen set to 0 it goes with whatever the computer's fastest speed is."


I don't think that would be a good idea. Not only would it give very diffrent results on every computer. But this would also make it unplayable on the fast computers.

@GMX:

You should lock the frame rate to around 30 or 60, after what fits best

Good game for a first time!

-The Nerd

PanzerGameshere
Free Particle Engine For dbpro :
here

Login to post a reply

Server time is: 2024-11-22 19:24:53
Your offset time is: 2024-11-22 19:24:53