Kodewerx
http://www.kodewerx.org/forum/

C++ tutorials for windowed programs/games?
http://www.kodewerx.org/forum/viewtopic.php?f=24&t=7614
Page 1 of 1

Author:  dragonboy269 [ Thu Sep 08, 2011 10:20 pm ]
Post subject:  C++ tutorials for windowed programs/games?

I've been using cplusplus.com and learncpp.com to learn the basics of C++. How would I learn how to make games or windowed applications?

Author:  Parasyte [ Fri Sep 09, 2011 10:39 am ]
Post subject:  Re: C++ tutorials for windowed programs/games?

My first suggestion is "don't use C++." I started learning C++ about 13 years ago, and has never set well with me. For making simple games, there are much easier languages and frameworks to start with. Check out PyGame for a perfect example; it's Python (programming language) + SDL (graphics, audio, and input library with hardware acceleration) + many library functions to create your own game engine. Or you can download additional game engines or frameworks from the site. Whatever works best!

I started looking at PyGame recently as a means of doing rapid game prototyping. At least to validate crazy ideas before actually tackling them.

Another option is JavaScript + Canvas (HTML5) and a slew of JS game engines: https://github.com/bebraw/jswiki/wiki/Game-Engines

Whatever you do, stay far away from C++.

Author:  dragonboy269 [ Fri Sep 09, 2011 12:03 pm ]
Post subject:  Re: C++ tutorials for windowed programs/games?

Thanks for the advice, I'll look into those other languages then. :3

Author:  dragonboy269 [ Fri Sep 09, 2011 5:05 pm ]
Post subject:  Re: C++ tutorials for windowed programs/games?

Ignore this post -.- sorry

Author:  Hextator [ Wed Sep 14, 2011 5:00 am ]
Post subject:  Re: C++ tutorials for windowed programs/games?

I'd love to stay away from C++ too (I still think it looks pretty f'ugly) but my concern is if I wanted to design something in a PC environment (rapid prototyping) and be able to port it to a homebrew environment or other device, what would be a feasible way of accomplishing that in a language other than C/++?

Supposedly Python can compile to ARM/PPC with available utilities, but...what?

Author:  Parasyte [ Wed Sep 14, 2011 10:56 pm ]
Post subject:  Re: C++ tutorials for windowed programs/games?

JavaScript! Just about every machine on the planet has a browser.

Author:  James0x57 [ Thu Sep 15, 2011 5:24 pm ]
Post subject:  Re: C++ tutorials for windowed programs/games?

<3 javascript

Author:  dragonboy269 [ Fri Sep 16, 2011 7:00 pm ]
Post subject:  Re: C++ tutorials for windowed programs/games?

Pygame is really fun and easy to use. But...how do I give other people my games?

I tried cxfreeze, but the exe file it makes for my game just opens and immediately closes again. It says stuff but it closes too fast to read what it says -.-

Author:  Hextator [ Sat Sep 17, 2011 12:30 am ]
Post subject:  Re: C++ tutorials for windowed programs/games?

Can't help with the former issue but have you tried calling the thing from a script with a pause command at the end to resolve the latter issue?

somescript.bat wrote:
@rem assuming windows because derp
programname.exe
pause

...?

Author:  Parasyte [ Sat Sep 17, 2011 1:32 am ]
Post subject:  Re: C++ tutorials for windowed programs/games?

dragonboy269 wrote:
Pygame is really fun and easy to use. But...how do I give other people my games?

I tried cxfreeze, but the exe file it makes for my game just opens and immediately closes again. It says stuff but it closes too fast to read what it says -.-

How about ... pygame2exe? It depends on py2exe

Author:  dragonboy269 [ Thu Sep 22, 2011 1:06 pm ]
Post subject:  Re: C++ tutorials for windowed programs/games?

I just decided to code my games in pygame and port them to C++ afterwards when I want to share them. I like the challenge.

By the way...do you know any good tutorials for learning Delphi?

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/