Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1] 2   Go Down

Author Topic: [Completed] Frogger :D (PC & DS versions)  (Read 8005 times)

0 Members and 1 Guest are viewing this topic.
[Completed] Frogger :D (PC & DS versions)
« on: February 24, 2009, 06:58:26 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 6206
I had to create a game for a school assignment, so I chose for Frogger. I thought it was pretty doable for someone with my experience in programming with C++! And since I had only around a week to finish it, I decided to give it a shot! And in my honest opinion I think it turned out pretty nicely. I wrote (PC version) in the topic title, because I'm planning to create a Nintendo DS version as well. It won't be a straight port of this version though. Because I think it would be cool to use both screens for the game. Like the lower screen for the street part, and the top screen for the water part. I will start working at this version soon. It will probably take a bit longer then this version. Because I also have to start working on the next school assignment. Which is a network game.

Screenshot


Download link to version 1.1
Click here to download the game.

Controls
Arrow keys for moving frogger, and cursor in the game over screen.
Enter for starting the game when you're in the menu, and enter is also used to decide whether you try again or not when you are game over.

Bugs?
If you found a bug then please let me know, and please be specific about where it happend, how it happend, etc. (A screen can help explain A LOT) :)
« Last Edit: April 22, 2015, 02:57:35 am by 4Sword »
Logged

King Tetiro

Leader of Phoenix Heart
Re: [Frogger] My first C++ game! :D (PC version)
« Reply #1 on: February 24, 2009, 07:47:34 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3549
I'll have a try at this. Looks awesome so far.
Logged
  • Phoenix Heart
Re: [Frogger] My first C++ game! :D (PC version)
« Reply #2 on: February 24, 2009, 08:09:27 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 212
I want to try it but i get error when trying to open it :[
I also think that the game would be funnier to play if you tryed to get better graphics. :p
« Last Edit: February 24, 2009, 08:14:22 pm by ltgh »
Logged
Demo V.3 Released. (Now with sound!)
Re: [Frogger] My first C++ game! :D (PC version)
« Reply #3 on: February 24, 2009, 08:34:28 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 6206
I want to try it but i get error when trying to open it :[
I also think that the game would be funnier to play if you tryed to get better graphics. :p
Did you extract the Frogger.exe and res folder somewhere?
Logged

D-Pad

A.K.A. Gyrowolf
Re: [Frogger] My first C++ game! :D (PC version)
« Reply #4 on: February 24, 2009, 08:35:41 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 147
I also receive an error when opening the file on Windows XP.

frogger.exe has encountered a problem and needs to close.  We are sorry for the inconvenience.


The error occurs when I double-click on the .exe file (to run it).

Edit -
Did you extract the Frogger.exe and res folder somewhere?

I extracted the files to my desktop in a folder called "Frogger".
« Last Edit: February 24, 2009, 08:37:38 pm by D-Pad »
Logged
Re: [Frogger] My first C++ game! :D (PC version)
« Reply #5 on: February 24, 2009, 08:59:01 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 6206
I also receive an error when opening the file on Windows XP.

frogger.exe has encountered a problem and needs to close.  We are sorry for the inconvenience.


The error occurs when I double-click on the .exe file (to run it).

Edit -
Did you extract the Frogger.exe and res folder somewhere?

I extracted the files to my desktop in a folder called "Frogger".
EDIT: Sorry for the error guys! I made a embarrassing mistake! It tried to load a sound that I didn't include, because I wasn't using it... I fixed it now!
Here's the fixed version.
(old link removed; version 1.1 link in the first post!)
« Last Edit: February 25, 2009, 01:03:52 am by Moon_child »
Logged
Re: [Frogger] My first C++ game! :D (PC version)
« Reply #6 on: February 24, 2009, 09:06:11 pm »
  • *
  • Reputation: +9/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3725
I tried it and it was really good and fun to play.

But seeing as how many get errors here, I wonder what you've exactly used for programming this. As you've said you used C++, but that is not enough to create a game. Have you used DirectX or OpenGL or even a Win32 API. And have you made the game for 32 bits or 64 bits PC's. And which OS

I can say this. I have a Athlon 64 (64 bits) with Windows Vista 64. The latest in DirectX and OpenGL. And it works.
Logged
Re: [Frogger] My first C++ game! :D (PC version)
« Reply #7 on: February 24, 2009, 09:10:56 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 6206
I tried it and it was really good and fun to play.

But seeing as how many get errors here, I wonder what you've exactly used for programming this. As you've said you used C++, but that is not enough to create a game. Have you used DirectX or OpenGL or even a Win32 API. And have you made the game for 32 bits or 64 bits PC's. And which OS

I can say this. I have a Athlon 64 (64 bits) with Windows Vista 64. The latest in DirectX and OpenGL. And it works.
What errors did you get? And I just updated the links in this topic, since I forgot to erase a code line that tried to load a sound that wasn't there. And I used a library for the graphics and sound effects that my C++ teacher wrote. It runs perfectly fine on Windows XP/Vista 32 bit, I don't know about 64 bit.
Logged

D-Pad

A.K.A. Gyrowolf
Re: [Frogger] My first C++ game! :D (PC version)...
« Reply #8 on: February 24, 2009, 09:22:04 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 147
EDIT: Sorry for the error guys! I made a embarrasing mistake! It tried to load a sound that I didn't include, because I wasn't using it... I fixed it now!
Here's the fixed version.
http://www.mediafire.com/?sharekey=5cb7aed486a5b29f5bf1f12f1ff3f30ae4a5ea77b5a942eece018c8114394287

Yup, it works now! I love the retro feel of it - the graphics and the sound effects.

I don't know if this is my computer or the game: The keyboard input started lagging real bad after the first game-over (I decided to try again). It's now lagging even when I close down and re-open the program. At first I thought it was the keyboard's batteries or sensor but I'm having no problem with it now, only in-game. :S
Logged
Re: [Frogger] My first C++ game! :D (PC version)...
« Reply #9 on: February 24, 2009, 09:30:19 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 212
Time to test it =D
I give you feedback as soon as possible  XD
Logged
Demo V.3 Released. (Now with sound!)
Re: [Frogger] My first C++ game! :D (PC version)
« Reply #10 on: February 24, 2009, 09:32:43 pm »
  • *
  • Reputation: +9/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3725
I tried it and it was really good and fun to play.

But seeing as how many get errors here, I wonder what you've exactly used for programming this. As you've said you used C++, but that is not enough to create a game. Have you used DirectX or OpenGL or even a Win32 API. And have you made the game for 32 bits or 64 bits PC's. And which OS

I can say this. I have a Athlon 64 (64 bits) with Windows Vista 64. The latest in DirectX and OpenGL. And it works.
What errors did you get? And I just updated the links in this topic, since I forgot to erase a code line that tried to load a sound that wasn't there. And I used a library for the graphics and sound effects that my C++ teacher wrote. It runs perfectly fine on Windows XP/Vista 32 bit, I don't know about 64 bit.

Oh it always worked for me, but with other programs I've had the trouble that it wouldn't work, because I had Vista or a 64 bit processor. These are things one has to be carefull of in C/C++.

Considering your teacher made the part to interface with the OS and hardware, there is nothing to worry.
Logged

Mamoruanime

@Mamoruanime
Re: [Frogger] My first C++ game! :D (PC version)...
« Reply #11 on: February 24, 2009, 09:34:39 pm »
  • ^Not actually me.
  • *
  • Reputation: +8/-0
  • Offline Offline
  • Gender: Male
  • Posts: 9780
Works nicely (windows 7 anyway). I think theres a small memory leak though; not positive.
Logged


50% Game Development,
50% Crappy Art,
100% Programancy.
  • Tyler & Travis also David... Probably.
Re: [Frogger] My first C++ game! :D (PC version)...
« Reply #12 on: February 24, 2009, 09:41:58 pm »
  • *
  • Reputation: +9/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3725
I know for certain there is a memory leak, because my computer is relatively slow after the game. Have you released and deleted all the resources properly?
Logged

D-Pad

A.K.A. Gyrowolf
Re: [Frogger] My first C++ game! :D (PC version)...
« Reply #13 on: February 24, 2009, 09:59:24 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 147
^^ Might explain my problem above.  :(
Logged
Re: [Frogger] My first C++ game! :D (PC version)...
« Reply #14 on: February 24, 2009, 10:25:50 pm »
  • *
  • Reputation: +3/-0
  • Offline Offline
  • Gender: Male
  • Posts: 6629
There is no memory leak. Least none that I can find. The working set of the program stays at a constant ~5mb. However there is a huge CPU leak. Your using up far more processing power than a game of this ever should. I suggest putting a delay in your main loop.
Logged
Re: [Frogger] My first C++ game! :D (PC version)...
« Reply #15 on: February 25, 2009, 01:02:26 am »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 6206
Well thanks to the advice of infinitus the CPU amount being used has been decreased around 5 times! This should make it run fine on anyone's computer. could the people who had problems confirm this?

I also changed 2 things:

1) You now get 1000 points when you bring 5 frogs home.

2) The time decreases much more like the original frogger.

I'm also interested in how far people here manage to get? What level + score information would be great. Anyway here's the download link to version 1.1! :)
« Last Edit: February 25, 2009, 10:32:16 am by Moon_child »
Logged
Re: [Frogger] My first C++ game! :D (PC version)...
« Reply #16 on: February 25, 2009, 06:58:52 am »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 212
Maybe upload it on Filebeam.com or something? The stupid Mediafire wont let me download it, appers a stupid error message when im downloading it and says that the connection is broken. I have tryed a several times.
Logged
Demo V.3 Released. (Now with sound!)
Re: [Frogger] My first C++ game! :D (PC version)...
« Reply #17 on: February 25, 2009, 10:34:03 am »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 6206
Maybe upload it on Filebeam.com or something? The stupid Mediafire wont let me download it, appers a stupid error message when im downloading it and says that the connection is broken. I have tryed a several times.
I replaced all the download links with this one:
http://filebeam.com/d2c8d821cd20f98db8da3c0ceb437a91
Logged
Re: [Frogger] My first C++ game! :D (PC version)...
« Reply #18 on: February 25, 2009, 01:26:28 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 212
It was awesome =)
I came to level 4 and i got 6170 points.
I give you a 4/5.
Funny game to play :]
Logged
Demo V.3 Released. (Now with sound!)
Re: [Frogger] My first C++ game! :D (PC version)...
« Reply #19 on: February 25, 2009, 02:19:21 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 6206
It was awesome =)
I came to level 4 and i got 6170 points.
I give you a 4/5.
Funny game to play :]
Well thank you! :)
The best score I got so far was 10050!
Logged
Pages: [1] 2   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.057 seconds with 61 queries.

anything