Kodewerx

Our culture has advanced beyond all that you could possibly comprehend with one hundred percent of your brain.
It is currently Tue Mar 19, 2024 1:00 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Thu Sep 08, 2011 10:20 pm 
Offline
Kommunist
Kommunist

Joined: Fri Sep 05, 2008 4:27 pm
Posts: 95
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?


Top
 Profile  
Reply with quote  
PostPosted: Fri Sep 09, 2011 10:39 am 
Offline
Krew (Admin)
Krew (Admin)
User avatar

Joined: Sun Oct 01, 2006 9:26 pm
Posts: 3768
Title: All in a day's work.
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++.

_________________
I have to return some video tapes.

Feed me a stray cat.


Top
 Profile  
Reply with quote  
PostPosted: Fri Sep 09, 2011 12:03 pm 
Offline
Kommunist
Kommunist

Joined: Fri Sep 05, 2008 4:27 pm
Posts: 95
Thanks for the advice, I'll look into those other languages then. :3


Top
 Profile  
Reply with quote  
PostPosted: Fri Sep 09, 2011 5:05 pm 
Offline
Kommunist
Kommunist

Joined: Fri Sep 05, 2008 4:27 pm
Posts: 95
Ignore this post -.- sorry


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 14, 2011 5:00 am 
Offline
Komrade
Komrade

Joined: Tue Mar 27, 2007 10:18 am
Posts: 1328
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?

_________________
Image


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 14, 2011 10:56 pm 
Offline
Krew (Admin)
Krew (Admin)
User avatar

Joined: Sun Oct 01, 2006 9:26 pm
Posts: 3768
Title: All in a day's work.
JavaScript! Just about every machine on the planet has a browser.

_________________
I have to return some video tapes.

Feed me a stray cat.


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 15, 2011 5:24 pm 
Offline
Krew (Admin)
Krew (Admin)
User avatar

Joined: Sun Oct 01, 2006 9:46 pm
Posts: 2331
Location: *poof*
Title: The Mad Hacker
<3 javascript

_________________
Image


Top
 Profile  
Reply with quote  
PostPosted: Fri Sep 16, 2011 7:00 pm 
Offline
Kommunist
Kommunist

Joined: Fri Sep 05, 2008 4:27 pm
Posts: 95
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 -.-


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 17, 2011 12:30 am 
Offline
Komrade
Komrade

Joined: Tue Mar 27, 2007 10:18 am
Posts: 1328
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

...?

_________________
Image


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 17, 2011 1:32 am 
Offline
Krew (Admin)
Krew (Admin)
User avatar

Joined: Sun Oct 01, 2006 9:26 pm
Posts: 3768
Title: All in a day's work.
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

_________________
I have to return some video tapes.

Feed me a stray cat.


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 22, 2011 1:06 pm 
Offline
Kommunist
Kommunist

Joined: Fri Sep 05, 2008 4:27 pm
Posts: 95
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?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group