Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 [VB6] Penny Arcade
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

JQuinn
Neophyte

USA
2 Posts

Posted - Jan 03 2006 :  4:28:22 PM  Show Profile  Reply with Quote
*** Improvements as of 12/28/05 ***

BUGFIXES
----------
-Fixed a bug with the game halting when the Air Crisis help screen is called (must have been slow in the head that day; used bRunning which broke the game instead of loading the help screen as Modal) <- 12/28/05
-Fixed the slight delay with the controls (switched from the GetKeyState API to DirectInput) <- 12/24/05.

CHANGES
----------
-Smaller .zip files after compressing the .wavs to .mp3 (used 48-bit for the bitrate when compressing the wavs. This results in a smaller file without too much quality loss)
-Switched from DirectSound to DirectShow to play the .mp3s (thanks to Jacob Romain's tutorial at vbforums.com that he was kind enough to link to).

PENNY ARCADE
---------------
-All three of the main game screens have their own backgroud music.
-If you hover your mouse over the picture buttons a tooltip appears with the name of the games.
-Both of the games are accessable from the menu within the games.

AIR CRISIS
-----------
-Flickerfree Graphics (thanks to the BitBlt API).
-High Scores are stored in the registry.
-The gem's speed increases every 5 points.
-Help Screen
-Pause

TIC-TAC-TOE
--------------
This is just a basic tic-tac-toe game for two players. There's no special features.

Penny Arcade Source Code:
http://www.savefile.com/files/4384284

Penny Arcade Executable:
http://www.savefile.com/files/1161445

Any graphical buttons that I put in Air Crisis for the start button look like crap. Probably should just put in a message that pops up to press a button to start the game, but any suggestions are appreciated.

If you have any questions, comments, suggestions, or find any bugs that I didn't root out feel free to post them here.

Edited by - JQuinn on Jan 03 2006 4:29:32 PM

Eric Coleman
Gladiator

USA
811 Posts

Posted - Jan 04 2006 :  3:19:12 PM  Show Profile  Visit Eric Coleman's Homepage  Reply with Quote
The code looks nice. I was surprised that you used DirectX for such a simple games. I guess it was more of a learning experience for you than creating the next big MMORPG-Tic-Tac-Toe game. I did the same thing with checkers to give myself an idea of how long it takes me to create a game from start to finish. It's a great metric in terms of planning for other games.

Go to Top of Page

JQuinn
Neophyte

USA
2 Posts

Posted - Jan 07 2006 :  11:39:06 AM  Show Profile  Reply with Quote
I originally used the GetKeyState API in order to make the plane move, but that resulted in a slight delay between keypresses. The folks over at vbforums.com recommended that I look into DirectInput. After looking into that, I figured the whole source out and implemented it into my game (was also easier then doing it the long way with VB). They also pointed me to DirectShow to play MP3s instead of the compressed wavs that I was using with DirectSound. I followed a tutorial that Jacob Roman linked me to on the site that he wrote, used the source, took out the bits that I didn't need after noting what each part of the code did for my future reference, and adapted it to the game. I don't have the strong need to create an online roleplaying game based around Tic-Tac-Toe (I know that was a joke :-P) seeing as how I'm still learning the language, but DirectPlay is a good thing to use if you wish to create that type of thing. Right now, I'm working on a text editor to teach myself ins and outs of the language that I didn't know before. I'll probably post that somewhere after I get the RichTextBox stuff down. Brief question though.. How does one program the status bar that seems to be in all text editors and word processors that tells you what you're doing on the bottom? Can't find one tutorial on that.
Go to Top of Page

Eric Coleman
Gladiator

USA
811 Posts

Posted - Jan 07 2006 :  12:59:38 PM  Show Profile  Visit Eric Coleman's Homepage  Reply with Quote
Go to the "project" menu, then to "tools", and then select "microsoft windows common controls" from the list.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
VBGamer © Go To Top Of Page
This page was generated in 0.16 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.