Doctor Doctor! ...my first game in c++ with SDL

-Hi, i’m new here and i want to share my first game… here is the link:

http://rapidshare.com/files/322503761/Doctor_Doctor_v1.0.rar.html

it is very simple game, i hope you will have fun with it, it’s my first work and it needs your comments:)
there are some informations about game in “Read Me” file… Start game by clicking “PLAY!..” if you find some bugs in game,
please report me them, i’ll try to solve as best i can…

waiting for your comments, have a good day!:slight_smile:

i wanted to download the file, but i must have a rapidshare account to download this file :frowning:

so try this link:
http://www.MegaShare.com/1688043

I want to test it but i don’t use Windows.

You should post the source code so we who use Mac and Linux can compile it and play. But that is if you want to share the code…

/EOn Dec 18, 2009, at 21:15 , a_kutluozen wrote:

so try this link:
http://www.MegaShare.com/1688043


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Yeah, post the code to compile it in Mac or Linux. Will be very useful
for many beginners.On 18/12/2009, at 21:29, Emil Torp wrote:

I want to test it but i don’t use Windows.

You should post the source code so we who use Mac and Linux can
compile it and play. But that is if you want to share the code…

/E

On Dec 18, 2009, at 21:15 , a_kutluozen wrote:

so try this link:
http://www.MegaShare.com/1688043


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

yess you’re right it can be more helpful for beginners, of course i want to share with you:) here, i uploaded… :
http://www.MegaShare.com/1688087

I have some suggestions to the source:

1): Please, use header files! I can’t compile it in Code::Blocks. I have to add header files, before i can compile your game.

2): You should use an array of your ball class. Its easier :smiley:

3): If you want to count up the array, you should use a for-loop. Example: your guyclips (l & r).

Btw.: Did you used the Lazy Foo tutorials? I think they are great!

Ill post bugs, if i get the game compiled :smiley:
And, Good work!

I agree, use headerfiles, and don’t forget #ifndef before each class. I couldn’t compile either but I didn’t have the energy to edit the code to play it :stuck_out_tongue:

And I think I see some traces of Lazy Foo ;), but I like Lazy Foo :stuck_out_tongue:

/EOn Dec 19, 2009, at 14:52 , Wolf633 wrote:

I have some suggestions to the source:

1): Please, use header files! I can’t compile it in Code::Blocks. I have to add header files, before i can compile your game.

2): You should use an array of your ball class. Its easier

3): If you want to count up the array, you should use a for-loop. Example: your guyclips (l & r).

Btw.: Did you used the Lazy Foo tutorials? I think they are great!

Ill post bugs, if i get the game compiled
And, Good work!


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

yes i’m studying with Lazy Foo, it is really great:) thanks for your suggestions, i’ll try headers… but i haven’t got enough knowledge about arrays:S but i’ll study it… and loop system is a good idea for balls i’ll try it… because there are only 5 balls:) and it must be more than 5 for logical game:) …thank you wolf633, i’m waiting for your comments, helps:)

you should post a link to the source, in zip or preferably tar.gz

the two links you posted already dont work with wget, and are just spam
sites.On Fri, 18 Dec 2009, a_kutluozen wrote:

yess you’re right it can be more helpful for beginners, of course i want to share with you:) here, i uploaded… :
http://www.MegaShare.com/1688087

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,Am 21.12.2009 23:55, schrieb mattmatteh at mac.com:

you should post a link to the source, in zip or preferably tar.gz

the two links you posted already dont work with wget, and are just spam
sites.

Welcome to the age of programs called “browsers”. You may want one on
your computer. And rapidshare is not a “spam site”. It hosts a lot of
"warez", yes, but you can use it for serious file hosting, too.


Christoph Nelles

E-Mail : @Christoph_Nelles
Jabber : eazrael at evilazrael.net ICQ : 78819723

PGP-Key : ID 0x424FB55B on subkeys.pgp.net
or http://evilazrael.net/pgp.txt

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksv/koACgkQBcR1PkJPtVsPAACeInjAHfVytlxzn71XB7gZEB/T
BrcAmwcRwpQKiz76+aMQEfcyewjKjh0r
=ihgU
-----END PGP SIGNATURE-----

you should post a link to the source, in zip or preferably tar.gz

the two links you posted already dont work with wget, and are just spam
sites.

Welcome to the age of programs called “browsers”. You may want one on
your computer. And rapidshare is not a “spam site”. It hosts a lot of
"warez", yes, but you can use it for serious file hosting, too.

a simple link to the source would be great.

I can’t download it because the captcha is blank (multiple tries,
multiple browsers) for some reason.

Jonny DOn Mon, Dec 21, 2009 at 6:16 PM, wrote:

you should post a link to the source, in zip or preferably tar.gz

the two links you posted already dont work with wget, and are just spam
sites.

Welcome to the age of programs called “browsers”. You may want one on
your computer. And rapidshare is not a “spam site”. It hosts a lot of
"warez", yes, but you can use it for serious file hosting, too.

a simple link to the source would be great.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

you should post a link to the source, in zip or preferably tar.gz

the two links you posted already dont work with wget, and are just spam
sites.

Welcome to the age of programs called “browsers”. You may want one on
your computer. And rapidshare is not a “spam site”. It hosts a lot of
"warez", yes, but you can use it for serious file hosting, too.

Using wget is a perfectly reasonable thing to do because most web
based malware attacks can’t touch wget. They might crash it, but they
won’t infect it. If the URL you posted does not work with wget, it is
perfectly reasonable to suspect bad intent on the part of the site and
possibly of the poster. No one with an understanding of malware
attacks would drop an unknown URL into a popular browser. The risk of
enabling an attack is too high.

You might also want to reconsider the use of sarcasm in email. The
person you are replying to is always going to take it badly.

Bob PendletonOn Mon, Dec 21, 2009 at 5:01 PM, Christoph Nelles wrote:

Am 21.12.2009 23:55, schrieb mattmatteh at mac.com:


Christoph Nelles

E-Mail ? ?: evilazrael at evilazrael.de
Jabber ? ?: eazrael at evilazrael.net ? ? ?ICQ ? ? ? : 78819723

PGP-Key ? : ID 0x424FB55B on subkeys.pgp.net
? ? ? ? ? ?or http://evilazrael.net/pgp.txt

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksv/koACgkQBcR1PkJPtVsPAACeInjAHfVytlxzn71XB7gZEB/T
BrcAmwcRwpQKiz76+aMQEfcyewjKjh0r
=ihgU
-----END PGP SIGNATURE-----


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


±----------------------------------------------------------

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

you should post a link to the source, in zip or preferably tar.gz

the two links you posted already dont work with wget, and are just spam
sites.

Welcome to the age of programs called “browsers”. You may want one on
your computer. And rapidshare is not a “spam site”. It hosts a lot of
"warez", yes, but you can use it for serious file hosting, too.

Using wget is a perfectly reasonable thing to do because most web
based malware attacks can’t touch wget. They might crash it, but they
won’t infect it. If the URL you posted does not work with wget, it is
perfectly reasonable to suspect bad intent on the part of the site and
possibly of the poster. No one with an understanding of malware
attacks would drop an unknown URL into a popular browser. The risk of
enabling an attack is too high.

On a somewhat tangential but related note, Google Code has facilities
available for storing both source code and compiled binaries and making
them available to the public for download…>----- Original Message ----

From: Bob Pendleton
Subject: Re: [SDL] Doctor Doctor! …my first game in c++ with SDL…
On Mon, Dec 21, 2009 at 5:01 PM, Christoph Nelles wrote:

Am 21.12.2009 23:55, schrieb mattmatteh at mac.com:

Hi,

sorry, i forgot, this is the mailing list where every programming language
younger than 30 years is considered evil.

Using wget is a perfectly reasonable thing to do because most web
based malware attacks can’t touch wget. They might crash it, but they

Most means not all. So implicitly there are attack vectors. A short google
search reveals that even wget has (had) its share of exploits.

won’t infect it. If the URL you posted does not work with wget, it is
perfectly reasonable to suspect bad intent on the part of the site and

Sure, the web is full of evil. Setting a web site before a download is
completely legal too. To prevent deep linking, allow/force selection of
server, showing premium features, etc. Filefront, gameeshell.com, chip.de,
SF.net, are all these evil? (Btw. google is evil.)
Is your browser your last line of defense against malware? No virus
scanner, no reduced user privileges? How about hardening your browser?

possibly of the poster. No one with an understanding of malware
attacks would drop an unknown URL into a popular browser. The risk of
enabling an attack is too high.

So you never leave google.com (or even about:blank)?

You might also want to reconsider the use of sarcasm in email. The
person you are replying to is always going to take it badly.

It’s more cynicism than sarcasm.

Enough bitching around. Perhaps we should talk privately about these
topics.On Mon, 21 Dec 2009 18:02:20 -0600, Bob Pendleton wrote:

Christoph Nelles

E-Mail : @Christoph_Nelles
Jabber : eazrael at evilazrael.net ICQ : 78819723

PGP-Key : ID 0x424FB55B on subkeys.pgp.net
or http://evilazrael.net/pgp.txt

Hi,

sorry, i forgot, this is the mailing list where every programming language
younger than 30 years is considered evil.

Using wget is a perfectly reasonable thing to do because most web
based malware attacks can’t touch wget. They might crash it, but they

Most means not all. So implicitly there are attack vectors. A short google
search reveals that even wget has (had) its share of exploits.

won’t infect it. If the URL you posted does not work with wget, it is
perfectly reasonable to suspect bad intent on the part of the site and

Sure, the web is full of evil. Setting a web site before a download is
completely legal too. To prevent deep linking, allow/force selection of
server, showing premium features, etc. Filefront, gameeshell.com, chip.de,
SF.net, are all these evil? (Btw. google is evil.)
Is your browser your last line of defense against malware? No virus
scanner, no reduced user privileges? How about hardening your browser?

possibly of the poster. No one with an understanding of malware
attacks would drop an unknown URL into a popular browser. The risk of
enabling an attack is too high.

So you never leave google.com (or even about:blank)?

You might also want to reconsider the use of sarcasm in email. The
person you are replying to is always going to take it badly.

It’s more cynicism than sarcasm.

Enough bitching around. Perhaps we should talk privately about these
topics.

No need, you’ve told me all I want to know about you.On Tue, Dec 22, 2009 at 5:43 AM, Christoph Nelles wrote:

On Mon, 21 Dec 2009 18:02:20 -0600, Bob Pendleton <@Bob_Pendleton> wrote:


Christoph Nelles

E-Mail ? ?: evilazrael at evilazrael.de
Jabber ? ?: eazrael at evilazrael.net ? ? ?ICQ ? ? ? : 78819723

PGP-Key ? : ID 0x424FB55B on subkeys.pgp.net
? ? ? ? ? ?or http://evilazrael.net/pgp.txt


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


±----------------------------------------------------------

guys, ok speaking and arguing is good but what is interest with my game? i want only some informations about this wget and uploading my game…for sharing knowledges and a little fun:) so i used rapidshare and megashare for sharing my game and sources, couldn’t you download it?? is it really big problem to arguing like this?? if you can download my game, please play it and write your comments, i need your comments about my game and codes;) :slight_smile:

guys, ok speaking and arguing is good but what is interest with my game?
i want only some informations about this wget and uploading my game…for
sharing knowledges and a little fun:) so i used rapidshare and megashare for
sharing my game and sources, couldn’t you download it?? is it really big
problem to arguing like this?? if you can download my game, please play it
and write your comments, i need your comments about my game and codes;)

The “arguing” had nothing to do with your game or you. Just ignore it. The
fact that your code was hard to get to is a problem you need to address.

If people have trouble downloading your code, they won’t spend a lot of time
trying to get it. A very few will send you a comment telling you about the
problem. (When I did the same thing I didn’t figure out what was wrong for a
long time. Nobody took the effort to tell me there was a problem.) You
really have to use download sites that can be reached by all users. If they
can’t be accessed by standard tools like wget, or the site requires that you
register, people will just give up trying to get your code. There are many
places like google code and sourceforge where you can set up an download
site and and anyone can access it. It may be possible to do the same on
rapidshare and megashare, it don’t know, I don’t use those site. But, it is
up to you to make sure it is as easy as possible for people to get your
code. It can take a while to learn how to do that. Don’t worry about it.
You’ll learn it.

The key thing to remember is that when you post something you are asking
people to spend time on you. They spend time on you for pretty much two
reasons, 1) the goodness of their hearts, and 2) the hope that by helping
you they will get something of value for themselves. In this case the
something of value is the opportunity to learn. Our time is the only thing
of true value we have.

Bob Pendleton

P.S.

These words were engraved on a block of wood nailed to the wall above my
grandfathers desk:

“Illegitimi non carborundum” which is not Latin and doesn’t actually mean
anything. But, he thought it meant "don’t let the bastards grind you down"
which is very good advice. I should remember it more often.On Tue, Dec 22, 2009 at 12:10 PM, a_kutluozen <great_tuorelensar at hotmail.com wrote:


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


±----------------------------------------------------------

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

if people want to help, they will do despite some inconveniance. Bob
don’t like one-click-hosters, i don’t like rar (please use an open
archive file format cry)

I tried the game. On first start it crashed with simply a black screen
and the Visual Studio Debugger window beneath it. Then it worked. The
visuals and sounds are nice, quite C-64’ish. Those balls sometimes
"flicker" which i find quite hmmm unpleasing. No doublebuffering, i guess.Am 22.12.2009 20:33, schrieb Bob Pendleton:

On Tue, Dec 22, 2009 at 12:10 PM, a_kutluozen <great_tuorelensar at hotmail.com <mailto:great_tuorelensar at hotmail.com>> wrote:

guys, ok speaking and arguing is good but what is interest with my
game? i want only some informations about this wget and uploading my
game...for sharing knowledges and a little fun:) so i used
rapidshare and megashare for sharing my game and sources, couldn't
you download it?? is it really big problem to arguing like this?? if
you can download my game, please play it and write your comments, i
need your comments about my game and codes;) 

The “arguing” had nothing to do with your game or you. Just ignore it.
The fact that your code was hard to get to is a problem you need to
address.

If people have trouble downloading your code, they won’t spend a lot of
time trying to get it. A very few will send you a comment telling you
about the problem. (When I did the same thing I didn’t figure out what
was wrong for a long time. Nobody took the effort to tell me there was a
problem.) You really have to use download sites that can be reached by
all users. If they can’t be accessed by standard tools like wget, or the
site requires that you register, people will just give up trying to get
your code. There are many places like google code and sourceforge where
you can set up an download site and and anyone can access it. It may be
possible to do the same on rapidshare and megashare, it don’t know, I
don’t use those site. But, it is up to you to make sure it is as easy as
possible for people to get your code. It can take a while to learn how
to do that. Don’t worry about it. You’ll learn it.

The key thing to remember is that when you post something you are asking
people to spend time on you. They spend time on you for pretty much two
reasons, 1) the goodness of their hearts, and 2) the hope that by
helping you they will get something of value for themselves. In this
case the something of value is the opportunity to learn. Our time is the
only thing of true value we have.

Bob Pendleton

P.S.

These words were engraved on a block of wood nailed to the wall above my
grandfathers desk:

“Illegitimi non carborundum” which is not Latin and doesn’t actually
mean anything. But, he thought it meant “don’t let the bastards grind
you down” which is very good advice. I should remember it more often.


Christoph Nelles

E-Mail : @Christoph_Nelles
Jabber : eazrael at evilazrael.net ICQ : 78819723

PGP-Key : ID 0x424FB55B on subkeys.pgp.net
or http://evilazrael.net/pgp.txt

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksxJPUACgkQBcR1PkJPtVvATgCgt6IhWNJjp91cCDG4adT4OaXj
PPYAnRXx3NrvlTf/2KXkGmWjyWZuBzuQ
=e7x9
-----END PGP SIGNATURE-----